/**
 * Counsel — page-unique only.
 * Shared: modules/base|layout|components + typography + tokens.
 */
.hero {
  background: linear-gradient(90deg, #fff 0%, #f5f0e8 100%);
}

.hero-copy { padding: 32px 0; }
.hero-copy p { font-size: 21px; line-height: 1.55; color: #3f4d58; }

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.feature {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(232, 227, 220, 0.8);
}

.feature strong { display: block; margin-bottom: 4px; }
.feature span { font-size: 13px; color: var(--muted); }

.hero-visual { min-height: 520px; display: grid; place-items: center; }

.room {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, #f7f2ea, #e9eee9);
}

.window {
  position: absolute;
  left: 50px;
  top: 40px;
  width: 235px;
  height: 230px;
  background: linear-gradient(#fefefe, #eef5f2);
  border: 12px solid #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.curtain {
  position: absolute;
  left: 0;
  top: 0;
  width: 90px;
  height: 100%;
  background: rgba(235, 224, 207, 0.65);
}

.chair {
  position: absolute;
  left: 165px;
  bottom: 70px;
  width: 210px;
  height: 180px;
  background: #3f7f70;
  border-radius: 50px 50px 32px 32px;
  box-shadow: 0 20px 45px rgba(20, 58, 49, 0.22);
}

.chair:before {
  content: "";
  position: absolute;
  width: 160px;
  height: 72px;
  left: 25px;
  top: 25px;
  background: #d8c9b4;
  border-radius: 20px;
}

.table {
  position: absolute;
  right: 75px;
  bottom: 55px;
  width: 190px;
  height: 80px;
  border-radius: 50%;
  background: #c99f6a;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.12);
}

.tablet {
  position: absolute;
  right: 125px;
  bottom: 112px;
  width: 108px;
  height: 72px;
  border-radius: 10px;
  background: #fff;
  border: 7px solid #2f3f44;
  transform: rotate(-4deg);
}

.tablet:after {
  content: "";
  position: absolute;
  left: 17px;
  top: 16px;
  width: 58px;
  height: 8px;
  background: #4ca68d;
  box-shadow: 0 17px 0 #90c8b8, 0 34px 0 #e0a46e;
}

.plant { position: absolute; right: 25px; top: 70px; width: 110px; height: 250px; }
.stem {
  position: absolute;
  left: 52px;
  bottom: 0;
  width: 10px;
  height: 175px;
  background: #6b927b;
  border-radius: 8px;
}
.leaf {
  position: absolute;
  width: 74px;
  height: 34px;
  border-radius: 70% 30% 70% 30%;
  background: #7fae8e;
}
.leaf.l1 { left: 0; top: 55px; transform: rotate(-28deg); }
.leaf.l2 { left: 45px; top: 95px; transform: rotate(30deg); }
.leaf.l3 { left: 0; top: 135px; transform: rotate(-20deg); }
.pot {
  position: absolute;
  left: 26px;
  bottom: 0;
  width: 64px;
  height: 55px;
  background: #d5b28c;
  border-radius: 8px 8px 25px 25px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.section-head p { color: var(--muted); margin: 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.service-card {
  overflow: hidden;
  transition: 0.2s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(17, 36, 59, 0.1);
}

.service-thumb { height: 145px; background: var(--soft); padding: 8px; }
.service-thumb svg { width: 100%; height: 100%; }
.service-body { padding: 18px; }
.service-num {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 900;
}
.service-body h3 { font-size: 18px; line-height: 1.3; margin: 12px 0 9px; }
.service-body p {
  font-size: 13px;
  color: var(--muted);
  min-height: 70px;
  line-height: 1.55;
}
.more { font-size: 13px; color: var(--accent); font-weight: 900; }

.why { padding: 30px 0 var(--section-y); }
.whybox {
  background: #075349;
  color: #fff;
  border-radius: 28px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 18px;
  align-items: center;
}
.whybox h2 { margin: 0; }
.whyitem { padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.whyitem strong { display: block; margin-bottom: 7px; }
.whyitem span { font-size: 13px; color: #c7ddd8; }

.stats { padding: 0 0 var(--section-y); }
.statbox {
  background: var(--color-surface);
  border-radius: 28px;
  padding: 30px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 20px;
  align-items: center;
}
.quote { font-size: 22px; font-weight: 850; line-height: 1.45; }
.stat strong { display: block; font-size: 34px; color: var(--green, var(--color-accent-2)); }
.stat span { color: var(--muted); }

.reference { padding: 0 0 var(--section-y); }
.reference img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-step {
  position: relative;
  padding: 26px;
}

.how-num {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 13px;
  font-weight: 950;
  color: var(--mint, var(--color-accent));
}

.how-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #edf7f4;
  display: grid;
  place-items: center;
  font-size: 27px;
  margin-bottom: 18px;
}

.how-step h3 { font-size: 21px; margin: 0 0 10px; }
.how-step p { color: var(--muted); margin: 0; line-height: 1.65; }

.how-note {
  margin-top: 24px;
  background: #075349;
  color: #fff;
  border-radius: 26px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.how-note strong { font-size: 23px; }
.how-note p { margin: 8px 0 0; color: #c9ded9; max-width: 760px; }

@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .whybox { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .statbox { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-note { display: block; }
  .how-note .btn { margin-top: 18px; }
}

@media (max-width: 520px) {
  .feature-row,
  .service-grid,
  .whybox,
  .statbox { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .hero-visual { min-height: 390px; }
  .room { height: 380px; }
}

/* 상담 신청 폼 (finance.php 폼과 동일한 마크업 패턴, counsel 톤에 맞춘 색상) */
.consult { background: #f4f7fc; }
.consult-box {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.consult-copy {
  padding: 54px;
  background: linear-gradient(145deg, #075349, #0f8a72);
  color: #fff;
}
.consult-copy .lead { color: #dcf3ec; }
.consult-copy ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.consult-copy li:before { content: "✓"; margin-right: 10px; color: #8ff2d9; font-weight: 900; }

#counselForm { padding: 48px; }
#counselForm .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
#counselForm .field { display: grid; gap: 7px; }
#counselForm .field.full { grid-column: 1 / -1; }
#counselForm label { font-weight: 800; font-size: 14px; }
#counselForm input,
#counselForm select,
#counselForm textarea {
  width: 100%;
  border: 1px solid #d8dee9;
  border-radius: 12px;
  padding: 14px 15px;
  outline: none;
  background: #fff;
}
#counselForm input:focus,
#counselForm select:focus,
#counselForm textarea:focus {
  border-color: #075349;
  box-shadow: 0 0 0 4px rgba(7, 83, 73, 0.09);
}
#counselForm textarea { min-height: 116px; resize: vertical; }
#counselForm .consent input { width: auto; margin-top: 4px; }
.consult .consent {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 17px 0;
  color: var(--muted);
  font-size: 13px;
}
.consult .consent input { width: auto; margin-top: 4px; }
.consult .submit { width: 100%; }
.consult .form-note { margin: 12px 0 0; font-size: 12px; color: #8a94a6; }
.consult .form-status { margin: 8px 0 0; font-size: 12px; color: #075349; font-weight: 700; min-height: 1.4em; }

@media (max-width: 980px) {
  .consult-box { grid-template-columns: 1fr; }
  .consult-copy,
  #counselForm { padding: 38px; }
}
@media (max-width: 560px) {
  #counselForm .form-grid { grid-template-columns: 1fr; }
  .consult-copy,
  #counselForm { padding: 30px 22px; }
}
