/* ===== Variables ===== */
:root {
  --green-dark:    #7A6245;
  --green-mid:     #9B8060;
  --green-hover:   #6B5438;
  --green-light:   #FAF7EE;
  --green-lighter: #FDFBF5;
  --green-border:  #E8E0D0;
  --footer-bg:     #3A2E1F;
  --white:         #ffffff;
  --text-dark:     #1a1a1a;
  --text-mid:      #3a3a3a;
  --text-light:    #666666;
  --section-gap:   80px;
  --container:     1200px;
  --font:          -apple-system, BlinkMacSystemFont, 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text-dark); line-height: 1.7; background: var(--white); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Container ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--green-border);
  transition: box-shadow 0.3s;
}
#header.scrolled {
  box-shadow: 0 2px 16px rgba(26,92,58,0.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--green-dark); }
.nav-phone {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 7px 16px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-phone:hover { background: var(--green-border); }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--green-border);
  padding: 100px 0 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green-mid);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 36px;
}
.btn-call {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.btn-call:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}
.btn-cases {
  display: inline-block;
  background: transparent;
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 4px;
  border: 2px solid var(--green-dark);
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.btn-cases:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid var(--green-border);
  padding: 7px 14px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.hero-cta-note::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
}

/* Hero Right Column Wrapper */
.hero-right-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Hero Region Banner */
.hero-region-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(26, 92, 58, 0.12);
  border: 2px solid var(--green-mid);
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.04em;
  text-align: center;
}
.hero-region-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
  animation: regionPulse 1.8s ease-in-out infinite;
}
@keyframes regionPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(26,92,58,0.5); }
  50%       { opacity: 0.7; transform: scale(1.4); box-shadow: 0 0 0 6px rgba(26,92,58,0); }
}

/* Hero Thumbnails */
.hero-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.hero-thumb {
  border-radius: 3px;
  overflow: hidden;
  background: var(--green-light);
  aspect-ratio: 1 / 1;
}
.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.hero-thumb:hover img {
  transform: scale(1.06);
}


/* ===== Sections ===== */
.section { padding: var(--section-gap) 0; }
.section-white { background: var(--white); }
.section-green { background: var(--green-light); }
.section-dark  { background: var(--green-dark); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
  font-size: 1rem;
  color: var(--text-light);
}
.section-dark .section-header p { color: rgba(255,255,255,0.70); }

/* ===== Case Filter Tabs ===== */
.case-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 10px 26px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  border: 1.5px solid var(--green-border);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
  font-family: var(--font);
}
.filter-btn:hover {
  border-color: var(--green-mid);
  color: var(--green-dark);
}
.filter-btn.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* ===== Cases Grid New ===== */
.cases-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.case-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(58,46,31,0.08);
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(58,46,31,0.15);
}
.case-card.hidden { display: none; }
.case-card-photo {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--green-border);
}
.case-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.4s ease;
}
.case-card:hover .case-card-photo img {
  transform: scale(1.05);
}
.case-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  z-index: 2;
}
.case-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(58, 46, 31, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s;
  z-index: 3;
}
.case-card:hover .case-card-hover { opacity: 1; }
.case-view-btn {
  background: var(--white);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  letter-spacing: 0.02em;
  font-family: var(--font);
}
.case-card-caption {
  padding: 12px 14px 14px;
}
.case-card-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.case-card-addr {
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.93);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
}
.lightbox-img {
  max-width: 88vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
.lightbox-caption {
  color: rgba(255,255,255,0.70);
  font-size: 0.86rem;
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.02em;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2010;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}
.lightbox-close:hover { background: rgba(0,0,0,0.75); }
.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2010;
  color: var(--white);
  font-size: 2.4rem;
  background: rgba(0,0,0,0.35);
  border: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  line-height: 1;
  font-family: var(--font);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(0,0,0,0.68); }

/* ===== Advantages Grid ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-item {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: 4px;
  padding: 32px 28px;
}
.adv-item h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-border);
}
.adv-item p {
  font-size: 0.91rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ===== Products Grid ===== */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.prod-item {
  border: 1px solid var(--green-border);
  border-radius: 4px;
  padding: 32px 28px;
  background: var(--white);
}
.prod-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
  position: relative;
}
.prod-item-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(58,46,31,0.12);
  border-color: var(--green-mid);
}
.prod-item-cta {
  margin-top: 20px;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 8px 18px;
  border-radius: 4px;
  border: 1px solid var(--green-border);
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
.prod-item-link:hover .prod-item-cta {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.prod-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.prod-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.prod-item p {
  font-size: 0.91rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 18px;
}
.prod-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.prod-tags li {
  font-size: 0.77rem;
  color: var(--text-light);
  background: var(--green-lighter);
  border: 1px solid var(--green-border);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ===== FAQ Page ===== */
.faq-list { margin-top: 32px; }
.faq-item { border-bottom: 1px solid var(--green-border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  line-height: 1.5;
}
.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--green-mid);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 20px;
}
.faq-a p { font-size: 0.93rem; color: var(--text-mid); line-height: 1.8; }

/* ===== Process Page ===== */
.process-intro {
  margin: 24px 0 40px;
  padding: 20px 24px;
  background: var(--green-light);
  border-left: 4px solid var(--green-mid);
  border-radius: 4px;
}
.process-intro p { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin: 0; }
.process-steps { list-style: none; margin: 0; padding: 0; }
.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--green-border);
}
.process-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--green-mid);
  opacity: 0.45;
  min-width: 44px;
  line-height: 1;
  padding-top: 4px;
}
.process-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.process-body p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin: 0; }
.process-tip {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--green-mid);
  font-weight: 600;
}
.process-tip a { color: var(--green-dark); }

/* ===== Product Detail Card ===== */
.prod-detail-card {
  border: 1px solid var(--green-border);
  border-radius: 8px;
  padding: 32px 28px;
  background: var(--white);
  text-align: center;
}
.prod-detail-icon {
  margin-bottom: 18px;
}
.prod-detail-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-mid);
  background: var(--green-light);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.prod-detail-spec {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--green-border);
  margin-top: 8px;
}
.prod-detail-spec li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--green-border);
  font-size: 0.88rem;
  line-height: 1.6;
}
.spec-key {
  font-weight: 700;
  color: var(--text-dark);
  min-width: 72px;
  flex-shrink: 0;
}
.spec-val {
  color: var(--text-mid);
}

/* ===== Estimate Section ===== */
.section-estimate {
  background: var(--green-light);
  border-top: 1px solid var(--green-border);
}
.estimate-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.estimate-left h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.estimate-desc {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 28px;
}
.estimate-right {
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: 6px;
  padding: 28px 32px;
}
.estimate-tip-title {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--green-border);
}
.estimate-tip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.estimate-tip-list li {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}
.estimate-tip-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid var(--green-border);
}
.faq-item {
  border-bottom: 1px solid var(--green-border);
}
.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.5;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--green-dark); }
.faq-question.active { color: var(--green-dark); }
.faq-toggle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 400;
  color: var(--green-dark);
  transition: background 0.2s, transform 0.2s;
  margin-top: 2px;
}
.faq-question.active .faq-toggle {
  background: var(--green-dark);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 0 22px 0;
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.8;
}
.faq-item.open .faq-answer { display: block; }

/* ===== Footer ===== */
#footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.70);
  padding: 48px 0 36px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-info p {
  font-size: 0.86rem;
  margin-bottom: 5px;
  line-height: 1.6;
}
.footer-info a { color: rgba(255,255,255,0.75); }
.footer-info a:hover { color: var(--white); }
.footer-notice p {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.50);
  margin-bottom: 6px;
}
.footer-copy {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center;
}
.footer-copy p {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.35);
}

/* ===== Floating Call Button ===== */
.float-call {
  position: fixed;
  right: 20px;
  bottom: 36px;
  z-index: 800;
  background: var(--green-dark);
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(58,46,31,0.38);
  transition: background 0.2s, transform 0.15s;
  border: 1px solid var(--green-mid);
}
.float-call:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}

/* ===== 하단 상담바 ===== */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 700;
  background: var(--footer-bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 24px;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.22);
}
.bottom-bar.visible { transform: translateY(0); }
.bottom-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.bottom-bar-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  font-weight: 500;
}
.bottom-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s;
  border: 1px solid var(--green-mid);
}
.bottom-bar-btn:hover { background: var(--green-hover); }

/* ===== Case Detail Pages ===== */
.case-header-bar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--green-border);
  padding: 0;
}
.case-header-bar .container {
  height: 60px;
  display: flex;
  align-items: center;
}
.case-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  width: 100%;
}
.case-back {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  padding: 8px 16px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 4px;
  transition: background 0.2s;
}
.case-back:hover { background: var(--green-border); }
.case-home {
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 8px 14px;
  border: 1px solid var(--green-border);
  border-radius: 4px;
  transition: all 0.2s;
}
.case-home:hover {
  background: var(--green-light);
  color: var(--text-dark);
}
.case-main { padding: 56px 0 80px; }
.case-title-area {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--green-border);
}
.case-location {
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green-mid);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.case-title-area h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.case-type {
  font-size: 0.92rem;
  color: var(--text-light);
}
.case-type-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 6px;
}
.case-type-row .case-type {
  margin: 0;
  white-space: nowrap;
}
.case-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-meta-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-light);
  border: 1px solid var(--green-border);
  padding: 3px 11px;
  border-radius: 100px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
/* ===== Photo Slider ===== */
.slider-wrap {
  position: sticky;
  top: 90px;
  aspect-ratio: 3/2;
  border-radius: 8px;
  overflow: hidden;
  background: var(--green-border);
  user-select: none;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slider-slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}
.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: var(--white);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
  transition: transform 0.25s, filter 0.25s;
}
.slider-btn:hover {
  transform: translateY(-50%) scale(1.2);
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.6));
}
.slider-btn svg { display: block; width: 44px; height: 44px; }
.slider-prev { left: 14px; }
.slider-next { right: 14px; }
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
}
.slider-dot.active {
  background: var(--white);
  transform: scale(1.3);
}
.slider-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* ===== Case Detail 2-column layout ===== */
.case-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}
.case-photos-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-text-col {
  position: sticky;
  top: 90px;
}
.case-text-col .case-meta { margin-bottom: 32px; }
.case-text-col .case-body { margin-bottom: 0; }

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  background: #DDD5C5;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ===== Case Meta + Body (시공사례 상세 본문) ===== */
.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 48px;
  padding: 18px 24px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 6px;
}
.case-meta span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.01em;
  line-height: 1.6;
}
.case-meta span::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-mid);
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.case-body {
  margin-bottom: 56px;
}
.case-body h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-border);
}
.case-body h3:first-child {
  margin-top: 0;
}
.case-body p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}

.case-steps {
  list-style: none;
  counter-reset: step-counter;
  display: flex;
  gap: 0;
  margin-bottom: 8px;
  padding: 32px 24px 28px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 10px;
  position: relative;
}
/* ===== 시공 단계 전체 너비 섹션 ===== */
.case-steps-section {
  margin-bottom: 48px;
}
.steps-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-border);
}

/* 단계 연결선 */
.case-steps::after {
  content: '';
  position: absolute;
  top: calc(32px + 22px);
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-border);
  z-index: 0;
}
.case-steps li {
  counter-increment: step-counter;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0.75rem;
  color: var(--text-mid);
  line-height: 1.55;
  gap: 0;
  position: relative;
  z-index: 1;
}
/* 단계 번호 원 */
.case-steps li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-bottom: 16px;
  margin-top: 0;
  box-shadow: 0 3px 10px rgba(58,46,31,0.28);
  outline: 4px solid var(--green-light);
}
.case-steps li strong {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dark);
  margin-bottom: 5px;
  padding: 0 2px;
  word-break: keep-all;
}

.case-contact-block {
  margin-bottom: 56px;
  background: var(--green-light);
  border: 1px solid var(--green-border);
  border-radius: 12px;
  padding: 28px 28px 24px;
}
.case-contact-heading {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--green-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}
.case-contact-intro {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.case-contact-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 0;
}
.case-contact-list li {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.4;
  padding: 11px 12px;
  background: var(--white);
  border: 1px solid var(--green-border);
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.case-contact-list li::before {
  content: '✓';
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--green-dark);
  flex-shrink: 0;
}

.case-cta {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--green-border);
}
.btn-estimate {
  display: inline-block;
  background: var(--green-dark);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 44px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}
.btn-estimate:hover {
  background: var(--green-hover);
  transform: translateY(-1px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 32px; }
  .hero-thumbs { grid-template-columns: repeat(4, 1fr); }
  .cases-grid-new { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
  :root { --section-gap: 56px; }

  .mobile-menu-btn { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--green-border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .main-nav.open { display: flex; }
  .nav-link {
    padding: 14px 24px;
    width: 100%;
    border-bottom: 1px solid var(--green-lighter);
  }
  .nav-phone {
    margin: 12px 24px;
    text-align: center;
  }

  .hero { padding: 80px 0 48px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .hero-desc { font-size: 0.95rem; }
  .hero-desc br { display: none; }
  .hero-thumbs { grid-template-columns: repeat(4, 1fr); }

  .anchor-nav .container { padding: 0 8px; }
  .anchor-link { padding: 14px 18px; font-size: 0.84rem; }
  .anchor-divider { display: none; }

  .cases-grid-new { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .adv-grid     { grid-template-columns: 1fr; }
  .prod-grid    { grid-template-columns: 1fr; }
  .estimate-wrap { grid-template-columns: 1fr; gap: 28px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .float-call {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  .bottom-bar-text { display: none; }
  .bottom-bar-btn { width: 100%; justify-content: center; }

  .case-gallery { grid-template-columns: 1fr; }
  .case-content-wrap { grid-template-columns: 1fr; gap: 24px; }
  .case-text-col { position: static; }
  .case-nav { gap: 10px; }
  .case-back, .case-home { font-size: 0.82rem; padding: 7px 12px; }

  .case-meta { flex-direction: column; gap: 6px; padding: 14px 16px; }
  .case-steps { flex-direction: column; padding: 20px 16px; gap: 0; }
  .case-steps::after { display: none; }
  .case-steps li { flex-direction: row; text-align: left; align-items: flex-start; padding: 0 0 20px; gap: 14px; }
  .case-steps li:last-child { padding-bottom: 0; }
  .case-steps li::before { margin-bottom: 0; flex-shrink: 0; }
  .case-body h3 { font-size: 1.06rem; margin-top: 32px; }
  .case-contact-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-thumbs { grid-template-columns: repeat(2, 1fr); }
  .estimate-info { gap: 24px; flex-direction: column; align-items: center; }
  .cases-grid-new { grid-template-columns: 1fr; gap: 12px; }
}
