:root {
  --ink: #1d2f27;
  --heading: #162a23;
  --heading-soft: #2c3a34;
  --muted: #69746e;
  --body: #47534d;
  --brand: #f0d28a;
  --brand-dark: #2f654d;
  --brand-deep: #235f43;
  --brand-forest: #245f43;
  --brand-forest-dark: #174231;
  --charcoal: #22332c;
  --ivory: #fffdf8;
  --cream: #f2f0ea;
  --cream-warm: #f7f2e6;
  --mist: #f7f8f4;
  --green-mist: #edf5ee;
  --white: #ffffff;
  --line: #e1e5dc;
  --line-strong: #cdd8cf;
  --shadow: 0 26px 70px rgba(31, 47, 41, 0.12);
  --shadow-soft: 0 18px 44px rgba(31, 47, 41, 0.09);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --content-max: 1180px;
  font-family: 'Pretendard', 'SUIT', 'Noto Sans KR', 'Apple SD Gothic Neo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--body);
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 101, 77, 0.055), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 34%, #ffffff 100%);
  font-size: 16px;
  font-weight: 430;
  line-height: 1.82;
  letter-spacing: -0.021em;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px clamp(18px, 3vw, 32px);
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(204, 215, 207, 0.74);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(223, 230, 220, 0.9);
  box-shadow: 0 12px 40px rgba(31, 47, 41, 0.08);
}

.brand, .nav, .header-actions { display: flex; align-items: center; }

.brand {
  flex: 0 0 auto;
  gap: 12px;
  color: var(--heading);
  font-weight: 740;
  letter-spacing: -0.035em;
}

.brand__icon {
  display: block;
  width: auto;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav {
  flex: 1 1 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(16px, 2.2vw, 28px);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 680;
}
.nav a {
  padding: 8px 2px;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav a:hover { transform: translateY(-1px); }
.nav a:hover { color: var(--brand-deep); }

.header-actions { flex: 0 0 auto; gap: 12px; }

.header-phone {
  color: var(--heading);
  font-weight: 740;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 740;
  letter-spacing: -0.02em;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease);
}

.header-cta, .button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-forest), var(--brand-forest-dark));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 28px rgba(23, 66, 49, 0.22);
}

.button--secondary {
  color: var(--brand-forest-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 95, 67, 0.36);
  box-shadow: 0 12px 26px rgba(23, 66, 49, 0.1);
}

.button--ghost {
  color: var(--brand-forest-dark);
  border: 1px solid rgba(35, 95, 67, 0.34);
  background: rgba(255, 255, 255, 0.84);
}

.header-cta:hover, .button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(31, 47, 41, 0.14);
}

.section { padding: 88px clamp(20px, 5vw, 72px); }

.hero {
  padding: 0;
  background: var(--white);
  overflow: hidden;
}

.hero__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  line-height: 0;
}

.hero__picture,
.hero__banner {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero__banner {
  height: auto;
}

.intro, .cases { background: var(--white); }
.contact { background: var(--white); }
.intent, .faq { background: var(--mist); }
.videos { background: linear-gradient(180deg, #ffffff 0%, #f8f5ec 100%); }
.split { background: #fffdf8; }
.process { background: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 12px;
  color: #ffffff;
  background: var(--brand-forest);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  color: var(--heading);
  font-weight: 840;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(2.34rem, 4.8vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.058em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.58rem, 2.72vw, 2.46rem);
  line-height: 1.26;
  letter-spacing: -0.052em;
}

h3 {
  margin-bottom: 12px;
  color: var(--heading-soft);
  font-size: 1.16rem;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

p { color: var(--body); line-height: 1.86; }

.section-heading {
  width: 100%;
  max-width: var(--content-max);
  margin-bottom: 40px;
  text-align: left;
}
.section-heading h2 {
  display: inline;
  padding: 0 0.12em;
  background: linear-gradient(180deg, transparent 58%, rgba(240, 210, 138, 0.48) 58%);
}
.section-heading--wide { max-width: var(--content-max); }
.section-heading p { max-width: 780px; font-size: 1rem; line-height: 1.9; }
.intro__heading {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(35, 95, 67, 0.13);
  border-left: 8px solid var(--brand-forest);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(247, 242, 230, 0.94), rgba(237, 245, 238, 0.76));
  box-shadow: var(--shadow-soft);
}
.intro__heading .eyebrow {
  max-width: none;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--brand-forest);
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.2;
}
#why .intro__heading > .eyebrow,
#why .intro__heading > .eyebrow:hover,
#why .intro__heading > .eyebrow:focus-visible,
#why .intro__heading > .eyebrow *,
#why .intro__heading > .eyebrow:hover *,
#why .intro__heading > .eyebrow:focus-visible * {
  color: #ffffff !important;
}
.intro__heading h2 { margin-bottom: 22px; }
.intro__heading p {
  max-width: 900px;
  color: var(--heading-soft);
  font-size: clamp(1rem, 1.22vw, 1.12rem);
  font-weight: 470;
}
.intro__heading p:last-child { margin-bottom: 0; }

.intro__support {
  margin-top: 34px;
  background: transparent;
}

.construction-intent {
  position: relative;
  z-index: 1;
  margin-top: 44px;
}

.grid { display: grid; gap: 22px; }

.section:not(.hero) > .section-heading,
.section:not(.hero) > .grid,
.section:not(.hero) > .timeline,
.section:not(.hero) > .premium-brand__heading,
.section:not(.hero) > .premium-brand__cards,
.section:not(.hero) > .video-grid,
.section:not(.hero) > .video-cta,
.section:not(.hero) > .intent-grid,
.section:not(.hero) > .faq-list,
.section:not(.hero) > .split__content,
.section:not(.hero) > .checklist {
  width: 100%;
  max-width: var(--content-max);
  margin-right: auto;
  margin-left: auto;
}
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card, .checklist, .contact-card, .expert__panel, .intent-grid article {
  padding: 28px;
  background: linear-gradient(180deg, rgba(247, 242, 230, 0.96), rgba(242, 240, 234, 0.94));
  border: 1px solid rgba(35, 95, 67, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.card, .intent-grid article, .timeline article, details, .premium-card, .contact-card {
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

.card:hover, .intent-grid article:hover, .timeline article:hover, details:hover, .premium-card:hover, .contact-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(49, 93, 71, 0.2);
  box-shadow: 0 24px 58px rgba(31, 47, 41, 0.12);
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.service-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.service-card__body p:last-child { margin-bottom: 0; }

.card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  margin-bottom: 18px;
  padding: 5px 12px;
  color: #ffffff;
  background: var(--brand-forest);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 840;
  letter-spacing: 0.04em;
}

.card--warm { background: linear-gradient(180deg, #f7f2e6, #f2f0ea); }

.review-link-card {
  display: block;
  height: 100%;
  color: inherit;
}

.review-link-card:focus-visible {
  outline: 3px solid rgba(35, 95, 67, 0.42);
  outline-offset: 4px;
}

.review-link-card h3 { color: var(--heading); }
.review-link-card p:last-child { margin-bottom: 0; }

.reviews__actions {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 26px auto 0;
}

.expert.premium-brand {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(35, 95, 67, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  isolation: isolate;
}

.premium-brand::before {
  content: '';
  position: absolute;
  inset: clamp(18px, 3vw, 34px) clamp(14px, 4vw, 58px);
  z-index: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(255,255,255,0.26));
  border: 1px solid rgba(49, 93, 71, 0.08);
  border-radius: 42px;
  pointer-events: none;
}

.premium-brand__heading {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto 46px;
  text-align: left;
}

.premium-brand__heading .eyebrow { color: var(--brand-deep); }

#expert .premium-brand__heading .eyebrow {
  color: #ffffff;
  font-weight: 840;
  letter-spacing: 0.075em;
  line-height: 1.4;
  padding: 7px 13px;
}

.premium-brand__heading h2 {
  max-width: 740px;
  margin-right: 0;
  margin-left: 0;
  color: var(--brand-deep);
}

.premium-brand__copy {
  max-width: 850px;
  margin: 0;
}

.premium-brand__copy p {
  margin-bottom: 13px;
  color: #4f5d54;
  font-size: clamp(0.98rem, 1.22vw, 1.08rem);
  line-height: 1.92;
}

.premium-brand__lead {
  color: var(--heading-soft) !important;
  font-size: clamp(1.06rem, 1.65vw, 1.26rem) !important;
  font-weight: 680;
  line-height: 1.76 !important;
}

.premium-brand__cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: var(--content-max);
  margin-right: auto;
  margin-left: auto;
}

.premium-card {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  overflow: hidden;
  background: linear-gradient(180deg, #f7f2e6 0%, #f2f0ea 100%);
  border: 1px solid rgba(35, 95, 67, 0.13);
  border-radius: 30px;
  box-shadow: 0 18px 46px rgba(31, 47, 41, 0.09);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-deep), rgba(49, 93, 71, 0.35));
  opacity: 0.82;
}

.premium-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  color: var(--brand-forest-dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(35, 95, 67, 0.14);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(31, 47, 41, 0.08);
  font-size: 1.46rem;
  filter: saturate(0.86);
}

.premium-card__kicker {
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.premium-card h3 { margin-bottom: 18px; color: var(--brand-deep); }

.premium-card__list {
  display: grid;
  gap: 9px;
  padding: 17px 0;
  margin: 0 0 18px;
  list-style: none;
  border-top: 1px solid rgba(49, 93, 71, 0.1);
  border-bottom: 1px solid rgba(49, 93, 71, 0.1);
}

.premium-card__list li {
  position: relative;
  padding-left: 22px;
  color: var(--heading-soft);
  font-weight: 650;
  line-height: 1.66;
}

.premium-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand-dark);
  font-weight: 800;
}

.premium-card > p:last-child { margin: auto 0 0; color: #5e6a62; line-height: 1.86; }

.intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.intent-grid article { background: linear-gradient(180deg, #f7f2e6, #f2f0ea); }
.intent-grid p { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
}

.checklist ul { display: grid; gap: 16px; padding: 0; margin: 24px 0 0; list-style: none; }
.checklist li { position: relative; padding-left: 32px; color: var(--body); line-height: 1.82; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-dark); font-weight: 760; }

.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.timeline article { position: relative; display: flex; flex-direction: column; padding: 18px 18px 26px; overflow: hidden; background: linear-gradient(180deg, #f7f2e6 0%, #f2f0ea 100%); border: 1px solid rgba(35, 95, 67, 0.13); border-radius: 30px; box-shadow: 0 18px 44px rgba(31, 47, 41, 0.1); }
.timeline article::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; background: var(--brand-forest); opacity: 0.95; }
.timeline span { display: grid; place-items: center; width: 42px; height: 42px; margin: 20px 0 18px; color: #ffffff; background: var(--brand-forest); border: 4px solid rgba(255, 255, 255, 0.72); border-radius: 50%; box-shadow: 0 10px 22px rgba(23, 66, 49, 0.18); font-weight: 860; }
.timeline h3 { min-height: 3.1em; margin-bottom: 10px; color: var(--heading); }
.timeline article > p:last-child { margin-bottom: 0; font-size: 0.95rem; line-height: 1.86; }
.process__keywords { margin-bottom: 14px; color: var(--brand-forest-dark); font-size: 0.88rem; font-weight: 820; line-height: 1.5; }

.process__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(31, 47, 41, 0.13);
}


.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 380px));
  gap: 22px;
  align-items: stretch;
  justify-content: start;
}

.video-card {
  overflow: hidden;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(49, 93, 71, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.34s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
}

.video-card:hover {
  transform: translateY(-5px) scale(1.018);
  border-color: rgba(49, 93, 71, 0.24);
  box-shadow: 0 28px 64px rgba(31, 47, 41, 0.16);
}

.video-card__frame {
  position: relative;
  display: grid;
  aspect-ratio: 9 / 16;
  min-height: 360px;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  color: #f8f5e9;
  text-align: center;
  background:
    radial-gradient(circle at 50% 24%, rgba(243, 195, 58, 0.22), transparent 30%),
    linear-gradient(160deg, #17382f 0%, #254e42 54%, #1f2f29 100%);
}

.video-card__frame::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
}

.video-card__frame p {
  position: relative;
  margin: 0;
  color: #f8f5e9;
  font-size: clamp(1.25rem, 2.2vw, 1.62rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.video-card__badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  padding: 7px 12px;
  color: #2a250d;
  background: linear-gradient(135deg, #f8d85e, var(--brand));
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.video-card__play {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  place-items: center;
  color: var(--brand-deep);
  background: rgba(255,255,255,0.86);
  border-radius: 50%;
  box-shadow: 0 18px 38px rgba(0,0,0,0.18);
}

.video-card__body { padding: 26px; }
.video-card__body h3 { color: var(--brand-deep); }
.video-card__body p { margin-bottom: 0; }

.video-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 28px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(49, 93, 71, 0.13);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.video-cta p {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  font-weight: 760;
  line-height: 1.58;
}

.video-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-list { display: grid; gap: 14px; }
details { padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 22px; }
summary { cursor: pointer; color: var(--heading); font-weight: 680; line-height: 1.55; letter-spacing: -0.025em; }
details p { margin: 16px 0 0; line-height: 1.82; }
details strong { color: var(--brand-dark); font-weight: 760; }

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  align-items: center;
  gap: 36px;
  background: linear-gradient(135deg, #1f2f29, #315d47);
  border-radius: 40px;
  width: 100%;
  max-width: var(--content-max);
  margin: 40px auto 90px;
}

.contact h2, .contact .eyebrow { color: #f8f5e9; }
.contact p { color: rgba(255,255,255,0.76); }
.contact-card { width: min(460px, 100%); background: rgba(255,255,255,0.96); }
.contact-card strong { display: block; margin-bottom: 14px; color: var(--heading); font-size: 1.18rem; font-weight: 740; line-height: 1.45; letter-spacing: -0.035em; }
.contact-card__phone { margin-bottom: 22px; font-size: clamp(1.45rem, 3.2vw, 1.9rem); font-weight: 760; letter-spacing: -0.04em; }
.contact-card__phone a { color: var(--brand-dark); }
.contact-card__actions { display: grid; gap: 12px; }
.contact-card__note { margin: 16px 0 0; color: var(--muted) !important; font-size: 0.92rem; }

.site-footer { padding: 34px clamp(20px, 5vw, 72px); text-align: center; background: #17231e; }
.site-footer strong { color: #f8f5e9; }
.site-footer p { margin: 8px 0 0; color: rgba(255,255,255,0.64); }
.site-footer a { color: #f8f5e9; font-weight: 740; }
.site-footer__links { font-size: 0.9rem; }
.site-footer__links a { color: rgba(248, 245, 233, 0.82); font-weight: 680; }

.mobile-fixed-actions { display: none; }

.top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 74px;
  min-height: 48px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(23, 56, 47, 0.24);
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease);
}

.top-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.top-button:hover, .top-button:focus-visible {
  box-shadow: 0 22px 44px rgba(23, 56, 47, 0.32);
  transform: translateY(-4px);
}

.top-button:focus-visible {
  outline: 3px solid rgba(243, 195, 58, 0.58);
  outline-offset: 4px;
}

.top-button__icon {
  font-size: 1rem;
  line-height: 1;
}

.reveal, .reveal-card, .reveal-table, .reveal-image, .reveal-card-group > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.78s var(--ease), transform 0.78s var(--ease), box-shadow 0.34s var(--ease), border-color 0.34s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.reveal-card, .reveal-card-group > * { transform: translateY(36px); }
.reveal-table { transform: translateX(-18px); }
.reveal-image { transform: translateX(18px); }

.reveal.is-visible, .reveal-card.is-visible, .reveal-table.is-visible, .reveal-image.is-visible, .reveal-card-group > .is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.premium-card.reveal-card.is-visible:hover, .card.reveal-card.is-visible:hover, .timeline article.reveal-card.is-visible:hover {
  transform: translateY(-5px) scale(1.02);
}

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; }
  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 6px 18px;
    padding-top: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .expert, .split, .contact { grid-template-columns: 1fr; }
  .cards--three, .timeline, .intent-grid, .premium-brand__cards, .video-grid { grid-template-columns: 1fr 1fr; }
  .timeline h3 { min-height: auto; }
  .contact { align-items: stretch; }
}

@media (max-width: 640px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px 0 0;
    background: rgba(255, 255, 255, 0.96);
  }

  .brand {
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    gap: 8px;
    padding: 0 14px 8px;
    font-size: clamp(1.04rem, 5.1vw, 1.22rem);
    line-height: 1.25;
    text-align: center;
  }

  .brand span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .brand__icon { height: 34px; }
  .header-actions { display: none; }

  .nav {
    order: 2;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    gap: 0;
    padding: 0 10px;
    overflow-x: auto;
    background: var(--brand-forest);
    border: 0;
    border-radius: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav::-webkit-scrollbar { display: none; }

  .nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 42px;
    padding: 0 13px;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    border-radius: 0;
    font-size: 0.88rem;
    font-weight: 740;
    line-height: 1.2;
    letter-spacing: -0.03em;
  }

  .nav a:first-child {
    color: #ffffff;
    font-weight: 840;
  }

  .section { padding: 44px 16px; }
  .hero { padding: 0; }
  .hero__inner,
  .hero__banner { max-width: 100%; }
  .cards--three, .timeline, .intent-grid, .premium-brand__cards, .video-grid { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 16px; }
  .card, .checklist, .contact-card, .expert__panel, .intent-grid article { padding: 20px; border-radius: 22px; }
  .video-card__frame { min-height: 320px; }
  .video-card__body { padding: 20px; }
  .video-cta { align-items: stretch; flex-direction: column; padding: 22px; }
  .video-cta__actions { display: grid; width: 100%; grid-template-columns: 1fr; }
  .premium-brand::before { inset: 12px; border-radius: 26px; }
  .premium-brand__heading { margin-bottom: 24px; text-align: left; }
  .premium-brand__heading h2 { margin-left: 0; }
  .premium-brand__copy { margin-left: 0; }
  .premium-card { padding: 22px; border-radius: 22px; }
  .premium-card.reveal-card.is-visible:hover { transform: translateY(-3px); }
  .service-card { padding: 0; }
  .service-card__body { padding: 18px; }
  .service-card__image { aspect-ratio: 4 / 3; }
  .timeline article { padding: 16px 16px 22px; }
  h1 { font-size: clamp(1.76rem, 8.8vw, 2.42rem); line-height: 1.22; letter-spacing: -0.046em; }
  h2 { font-size: clamp(1.26rem, 5.9vw, 1.58rem); line-height: 1.34; letter-spacing: -0.04em; }
  h3 { font-size: 1rem; line-height: 1.48; }
  p { font-size: 0.92rem; line-height: 1.74; letter-spacing: -0.012em; overflow-wrap: anywhere; }
  .section-heading { margin-bottom: 26px; }
  .section-heading p { font-size: 0.92rem; }
  .premium-brand__copy p { font-size: 0.92rem; line-height: 1.76; }
  .premium-brand__lead { font-size: 1rem !important; line-height: 1.58 !important; }
  .timeline article > p:last-child { line-height: 1.74; }
  .process__keywords { margin-bottom: 12px; font-size: 0.84rem; line-height: 1.5; }
  .contact { margin: 16px 16px 112px; padding: 36px 20px; border-radius: 28px; }
  .site-footer { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  .mobile-fixed-actions {
    position: fixed;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(31, 47, 41, 0.16);
    backdrop-filter: blur(14px);
  }
  .mobile-fixed-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 14px;
    font-size: 0.96rem;
    font-weight: 780;
    line-height: 1.2;
  }
  .mobile-fixed-actions a:first-child { background: var(--brand-forest); color: #ffffff; }
  .mobile-fixed-actions a:last-child { background: #ffffff; color: var(--brand-forest-dark); border: 1px solid rgba(35, 95, 67, 0.26); }
  .top-button {
    right: 14px;
    bottom: calc(96px + env(safe-area-inset-bottom));
    min-width: 64px;
    min-height: 42px;
    padding: 0 13px;
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-card, .reveal-table, .reveal-image, .reveal-card-group > * {
    opacity: 1;
    transform: none;
  }
}


.process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: clamp(280px, 36vw, 430px);
  background:
    radial-gradient(circle at 50% 36%, rgba(240, 210, 138, 0.16), transparent 24%),
    linear-gradient(135deg, var(--brand-forest-dark), var(--brand-forest));
}

.process > .section-heading,
.process > .timeline,
.process > .process-link {
  position: relative;
  z-index: 1;
}

.process .section-heading .eyebrow {
  color: var(--brand-forest-dark);
  background: #ffffff;
}

.process .section-heading h1,
.process .section-heading h2,
.process .section-heading p {
  color: #ffffff;
}

.process .section-heading h1,
.process .section-heading h2 {
  background: linear-gradient(180deg, transparent 60%, rgba(240, 210, 138, 0.42) 60%);
}

.process .section-heading h1 {
  margin-bottom: 18px;
  font-size: clamp(1.58rem, 2.72vw, 2.46rem);
  line-height: 1.26;
  letter-spacing: -0.052em;
}

.service-card__body {
  background: transparent;
}

.video-card,
details {
  background: linear-gradient(180deg, #fffaf0, #f5f1e8);
  border-color: rgba(35, 95, 67, 0.12);
}

.video-cta {
  background: linear-gradient(135deg, #f7f2e6, #edf5ee);
}

.checklist {
  border-left: 8px solid var(--brand-forest);
}

.process-link {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: var(--content-max);
  margin: 34px auto 0;
}

.process-page main {
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 44%, #ffffff 100%);
}

.process-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding-top: clamp(72px, 9vw, 118px);
  background: #ffffff;
}

.process-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 12% 8%, rgba(47, 101, 77, 0.065), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 253, 248, 0.92) 50%, rgba(247, 242, 230, 0.72) 100%),
    url("images/process-hero-clean-apartment.jpg") center / cover no-repeat,
    linear-gradient(135deg, #ffffff 0%, #fffdf8 52%, #f7f2e6 100%);
}

.process-hero::after {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(18px, 4vw, 42px);
  z-index: -1;
  width: min(44vw, 520px);
  height: min(46vw, 500px);
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0 16%, transparent 16% 20%, rgba(255, 255, 255, 0.62) 20% 36%, transparent 36% 40%, rgba(255, 255, 255, 0.6) 40% 56%, transparent 56%),
    linear-gradient(180deg, transparent 0 58%, rgba(255, 255, 255, 0.6) 58% 68%, transparent 68%),
    radial-gradient(circle at 78% 54%, rgba(56, 102, 87, 0.14), transparent 20%);
  border-radius: 40px;
  opacity: 0.9;
  pointer-events: none;
}

.process-hero > *,
.process-flow-section > *,
.process-detail-section > *,
.process-consult > * {
  max-width: var(--content-max);
}

.process-hero__content {
  max-width: 780px;
}

.process-hero h1 {
  display: grid;
  gap: 4px;
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--heading);
  font-size: clamp(2.65rem, 6.3vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.process-hero h1 span {
  font-size: clamp(1.9rem, 4.2vw, 4rem);
  font-weight: 820;
}

.process-hero h1 strong {
  color: var(--brand-deep);
  font-weight: 920;
}

.process-hero__lead {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--heading);
  font-size: clamp(1.28rem, 2.45vw, 2.15rem);
  font-weight: 820;
  line-height: 1.36;
  letter-spacing: -0.055em;
}

.process-hero__lead strong {
  color: var(--brand-deep);
  font-weight: 920;
}

.process-hero__copy {
  max-width: 700px;
  margin: 0;
  color: var(--heading-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.78;
}

.process-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.process-hero .button {
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
}

.process-hero .button--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
  box-shadow: 0 16px 34px rgba(23, 56, 47, 0.22);
}

.process-hero .button--ghost {
  color: var(--brand-deep);
  border: 1px solid rgba(23, 56, 47, 0.22);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
}

.process-hero__panel {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(35, 95, 67, 0.13);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(31, 47, 41, 0.13);
  backdrop-filter: blur(18px);
}

.process-hero__panel-title {
  margin: 0 0 4px;
  color: var(--heading);
  font-size: clamp(1.08rem, 1.65vw, 1.34rem);
  font-weight: 860;
  letter-spacing: -0.045em;
}

.process-hero__point {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  background: linear-gradient(135deg, rgba(247, 242, 230, 0.92), rgba(255, 253, 248, 0.94));
  border: 1px solid rgba(35, 95, 67, 0.12);
  border-radius: 22px;
}

.process-hero__point span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--brand-deep);
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 880;
  letter-spacing: -0.02em;
}

.process-hero__point strong {
  display: block;
  margin: 0 0 3px;
  color: var(--heading);
  font-size: 1.05rem;
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.process-hero__point p {
  margin: 0;
  color: var(--heading-soft);
  font-size: 0.95rem;
  line-height: 1.58;
}

.process-flow-section {
  background: var(--white);
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.process-flow li {
  position: relative;
  min-height: 154px;
  padding: 24px 18px 22px;
  background: linear-gradient(180deg, #ffffff, #fffdf8);
  border: 1px solid rgba(35, 95, 67, 0.13);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.process-flow li::after {
  content: '';
  position: absolute;
  top: 42px;
  right: -18px;
  z-index: 1;
  width: 18px;
  height: 2px;
  background: rgba(49, 93, 71, 0.24);
}

.process-flow li:nth-child(5)::after,
.process-flow li:last-child::after {
  display: none;
}

.process-flow span,
.process-detail-card__body span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-forest), var(--brand-forest-dark));
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(23, 66, 49, 0.18);
  font-weight: 800;
}

.process-flow strong {
  display: block;
  color: var(--heading);
  font-size: 1.02rem;
  line-height: 1.55;
  letter-spacing: -0.04em;
}

.process-detail-section {
  background: #ffffff;
}

.process-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.process-detail-card {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(49, 93, 71, 0.13);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
}

.process-detail-card--wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
}

.process-detail-card__image {
  display: grid;
  width: 100%;
  min-height: 240px;
  height: 100%;
  place-items: center;
  padding: 18px;
  color: var(--brand-dark);
  background:
    linear-gradient(135deg, rgba(238, 246, 239, 0.92), rgba(251, 248, 239, 0.92)),
    repeating-linear-gradient(135deg, rgba(49, 93, 71, 0.1) 0 1px, transparent 1px 12px);
  font-weight: 800;
  text-align: center;
  object-fit: cover;
}

img.process-detail-card__image {
  padding: 0;
}

.process-detail-card__body {
  padding: clamp(24px, 3vw, 34px);
}

.process-detail-card__body h3 {
  color: var(--brand-deep);
  font-size: clamp(1.18rem, 1.8vw, 1.36rem);
}

.process-detail-card__body p:last-child {
  margin-bottom: 0;
}

.process-consult {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, var(--brand-forest-dark), var(--brand-forest));
}

.process-consult__content h2,
.process-consult__content .eyebrow {
  color: #f8f5e9;
}

.process-consult__content p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.process-consult__actions {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.16);
}

@media (max-width: 1100px) {
  .process-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-flow li:nth-child(5)::after { display: block; }
  .process-flow li:nth-child(even)::after,
  .process-flow li:last-child::after { display: none; }
  .process-detail-grid { grid-template-columns: 1fr; }
  .process-detail-card--wide { grid-column: auto; }
}

@media (max-width: 980px) {
  .process-hero,
  .process-consult {
    grid-template-columns: 1fr;
  }
  .process-hero { min-height: auto; }
  .process-hero::before {
    background:
      radial-gradient(circle at 12% 8%, rgba(47, 101, 77, 0.06), transparent 30%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 253, 248, 0.94) 58%, rgba(247, 242, 230, 0.78) 100%),
      url("images/process-hero-clean-apartment.jpg") center / cover no-repeat,
      linear-gradient(135deg, #ffffff 0%, #fffdf8 52%, #f7f2e6 100%);
  }
}

@media (max-width: 640px) {
  .process-link { justify-content: stretch; }
  .process-link .button { width: 100%; }
  .process-hero { padding-top: 56px; }
  .process-hero::after { display: none; }
  .process-hero h1 {
    font-size: clamp(2.42rem, 15vw, 3.8rem);
    line-height: 1.03;
  }
  .process-hero h1 span { font-size: clamp(1.58rem, 9vw, 2.28rem); }
  .process-hero__lead { font-size: clamp(1.18rem, 6.2vw, 1.76rem); }
  .process-hero__panel { border-radius: 24px; }
  .process-hero__point { grid-template-columns: 1fr; }
  .process-hero__actions,
  .process-consult__actions { display: grid; }
  .process-flow { grid-template-columns: 1fr; }
  .process-flow li { min-height: auto; }
  .process-flow li::after { display: none !important; }
  .process-detail-card,
  .process-detail-card--wide {
    grid-template-columns: 1fr;
  }
  .process-detail-card__image {
    min-height: 210px;
  }
}

/* 시공사례 게시판 */
.case-board-page,
.case-admin-page {
  background: linear-gradient(180deg, #f7fbf6 0%, #ffffff 42%, #f4f8f2 100%);
}

.case-hero,
.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: 520px;
  padding-top: clamp(104px, 12vw, 150px);
  background:
    radial-gradient(circle at 18% 20%, rgba(49, 93, 71, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(239,248,238,0.88));
}

.admin-hero {
  display: block;
  min-height: auto;
  padding-bottom: 38px;
}

.case-hero > *,
.admin-hero > *,
.admin-workspace > *,
.case-list-section > *,
.case-detail-section > * {
  width: 100%;
  max-width: var(--content-max);
}

.case-hero__copy h1,
.admin-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--heading);
  font-size: clamp(2.25rem, 5.4vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.075em;
}

.case-hero__copy p:not(.eyebrow),
.admin-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--heading-soft);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
}

.case-hero__actions,
.admin-toolbar,
.admin-submit-row,
.case-consult-box,
.case-card__meta,
.case-list-header,
.admin-posts__head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.case-hero__actions { margin-top: 30px; }

.case-hero__panel,
.case-search,
.case-detail,
.case-empty,
.case-admin-form,
.admin-posts {
  padding: clamp(22px, 3.2vw, 36px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(49, 93, 71, 0.12);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.case-hero__panel strong {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-deep);
  font-size: 1.24rem;
}

.case-list-header {
  justify-content: space-between;
  margin-bottom: 22px;
}

.case-list-header h2 { margin-bottom: 8px; }

.case-admin-link,
.case-card__more,
.admin-posts__head a {
  color: var(--brand-deep);
  font-weight: 850;
  text-decoration: none;
}

.case-search {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 0.32fr) auto auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.case-search label,
.admin-field,
.admin-uploader {
  display: grid;
  gap: 8px;
  color: var(--heading);
  font-weight: 820;
}

.case-search input,
.case-search select,
.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--heading);
  background: #ffffff;
  border: 1px solid rgba(49, 93, 71, 0.18);
  border-radius: 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.admin-field textarea {
  min-height: 110px;
  resize: vertical;
}

.case-search input:focus,
.case-search select:focus,
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  border-color: rgba(49, 93, 71, 0.52);
  box-shadow: 0 0 0 4px rgba(49, 93, 71, 0.1);
}

.case-result-count {
  margin: 16px 0;
  color: var(--heading-soft);
  font-weight: 760;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(49, 93, 71, 0.12);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.case-card__image {
  position: relative;
  display: grid;
  min-height: 260px;
  overflow: hidden;
  place-items: center;
  color: var(--heading-soft);
  background: linear-gradient(135deg, #eef7ed, #ffffff);
  text-decoration: none;
}

.case-card__image img,
.case-detail__cover img,
.case-gallery img,
.case-inline-image img,
.admin-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card__image strong {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(23, 56, 47, 0.84);
  border-radius: 999px;
  font-size: 0.84rem;
}

.case-card__body { padding: 24px; }
.case-card__meta { justify-content: space-between; margin-bottom: 12px; color: var(--muted); font-size: 0.9rem; font-weight: 760; }
.case-card h3 a { color: var(--heading); text-decoration: none; }
.case-card dl,
.case-detail__info dl { display: grid; gap: 14px; margin: 18px 0; }
.case-card dt,
.case-detail__info dt { color: var(--brand-deep); font-size: 0.86rem; font-weight: 900; }
.case-card dd,
.case-detail__info dd { margin: 4px 0 0; color: var(--heading-soft); line-height: 1.68; }

.case-detail__head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.case-detail__head h2 { max-width: 900px; }
.case-detail__head time { color: var(--muted); font-weight: 760; }

.case-detail__cover {
  display: grid;
  min-height: clamp(280px, 48vw, 560px);
  overflow: hidden;
  place-items: center;
  margin-bottom: 28px;
  color: var(--heading-soft);
  background: linear-gradient(135deg, #eef7ed, #ffffff);
  border-radius: 28px;
}

.case-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.case-detail__content > p {
  margin-bottom: 16px;
  color: var(--heading-soft);
  font-size: 1.04rem;
}

.case-inline-image {
  overflow: hidden;
  margin: 24px 0;
  background: #ffffff;
  border: 1px solid rgba(49, 93, 71, 0.12);
  border-radius: 24px;
}

.case-inline-image img { aspect-ratio: 16 / 10; }
.case-inline-image figcaption { padding: 12px 16px; color: var(--muted); font-size: 0.92rem; }

.case-inline-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.case-inline-image-grid .case-inline-image { margin: 0; }

.case-gallery,
.case-video { margin-top: 34px; }
.case-gallery h3,
.case-video h3 { color: var(--heading); }
.case-gallery > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.case-gallery img { aspect-ratio: 4 / 3; border-radius: 18px; }
.case-video iframe,
.case-video video,
.admin-video-preview video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1d18;
  border: 0;
  border-radius: 22px;
}

.case-detail__info {
  position: sticky;
  top: 110px;
  padding: 24px;
  background: linear-gradient(180deg, #ffffff, #f6fbf5);
  border: 1px solid rgba(49, 93, 71, 0.12);
  border-radius: 26px;
}

.case-consult-box {
  align-items: stretch;
  flex-direction: column;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(49, 93, 71, 0.12);
}

.case-consult-box strong { color: var(--heading); font-size: 1.08rem; }
.case-muted { color: var(--muted); }

.admin-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 28px;
  align-items: start;
  padding-top: 30px;
}

.case-admin-form,
.admin-posts { max-width: none; }
.admin-toolbar { justify-content: space-between; margin-bottom: 18px; }
.admin-toolbar strong { color: var(--brand-deep); font-size: 1.24rem; }
.privacy-notice {
  margin-bottom: 22px;
  padding: 16px 18px;
  color: #6f3d14;
  background: #fff7e8;
  border: 1px solid rgba(192, 114, 32, 0.18);
  border-radius: 18px;
  font-weight: 780;
}

.admin-grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.case-admin-form { display: grid; gap: 18px; }

.admin-processes {
  padding: 18px;
  border: 1px solid rgba(49, 93, 71, 0.14);
  border-radius: 20px;
}

.admin-processes legend { padding: 0 8px; color: var(--heading); font-weight: 860; }
.admin-processes > div { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-processes label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  background: #f6fbf5;
  border: 1px solid rgba(49, 93, 71, 0.12);
  border-radius: 999px;
  font-weight: 760;
}

.admin-upload-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #f8fbf6;
  border: 1px dashed rgba(49, 93, 71, 0.28);
  border-radius: 22px;
}

.admin-uploader input { width: 100%; }
.admin-uploader small { color: var(--muted); font-weight: 500; line-height: 1.6; }
.admin-media-list { display: grid; gap: 12px; }
.admin-media-item {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border: 1px solid rgba(49, 93, 71, 0.12);
  border-radius: 18px;
}
.admin-media-item img { aspect-ratio: 1; border-radius: 14px; }
.admin-media-item div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-media-item strong { flex-basis: 100%; color: var(--heading); word-break: break-all; }
.admin-video-preview { display: grid; gap: 10px; }
.admin-submit-row { justify-content: flex-end; }
.admin-posts { position: sticky; top: 110px; }
.admin-posts__head { justify-content: space-between; margin-bottom: 16px; }
.admin-posts__head h2 { margin: 0; font-size: 1.35rem; }
.admin-post-item {
  display: grid;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(49, 93, 71, 0.12);
}
.admin-post-item strong { display: block; color: var(--heading); }
.admin-post-item span { color: var(--muted); font-size: 0.9rem; }
.admin-post-item > div:last-child { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .case-hero,
  .admin-workspace,
  .case-detail__layout { grid-template-columns: 1fr; }
  .case-search { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-detail__info,
  .admin-posts { position: static; }
}

@media (max-width: 640px) {
  .case-hero { min-height: auto; padding-top: 96px; }
  .case-hero__copy h1,
  .admin-hero h1 { font-size: clamp(2rem, 12vw, 3.15rem); }
  .case-search,
  .case-grid,
  .admin-grid-two,
  .case-gallery > div,
  .case-inline-image-grid { grid-template-columns: 1fr; }
  .case-search .button,
  .case-hero__actions .button,
  .admin-submit-row .button { width: 100%; }
  .case-card__image { min-height: 230px; }
  .case-detail,
  .case-admin-form,
  .admin-posts { border-radius: 22px; }
  .admin-media-item { grid-template-columns: 86px minmax(0, 1fr); }
  .admin-media-item div .button { width: 100%; }
}

.review-page,
.review-admin-page {
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 42%, #eef7ff 100%);
}

.review-hero {
  display: grid;
  align-items: end;
  min-height: 430px;
  padding-top: clamp(104px, 12vw, 150px);
  background:
    radial-gradient(circle at 18% 20%, rgba(90, 184, 224, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(233,246,255,0.92));
}

.review-hero > *,
.review-list-section > *,
.review-consult-section > *,
.admin-login-section > * {
  width: 100%;
  max-width: var(--content-max);
}

.review-hero h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #123456;
  font-size: clamp(2.35rem, 5.2vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.075em;
}

.review-hero p:not(.eyebrow) {
  max-width: 720px;
  color: #2d5876;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
}

.review-list-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.review-list-header h2 { margin-bottom: 8px; color: #123456; }
.review-list-header p { color: #496b82; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.review-card,
.review-empty,
.review-consult-box,
.admin-login-form {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(90, 184, 224, 0.22);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(18, 52, 86, 0.1);
}

.review-card__image {
  margin: 0;
  background: linear-gradient(135deg, #eaf7ff, #ffffff);
}

.review-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.review-card__body {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.review-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.review-card__head strong {
  color: #123456;
  font-size: 1.12rem;
  font-weight: 860;
}

.review-stars {
  color: #f3b72f;
  letter-spacing: 0.04em;
}

.review-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.review-card__meta div {
  padding: 12px;
  background: #f1f8ff;
  border: 1px solid rgba(90, 184, 224, 0.18);
  border-radius: 16px;
}

.review-card__meta dt {
  color: #1d5f8e;
  font-size: 0.82rem;
  font-weight: 900;
}

.review-card__meta dd {
  margin: 4px 0 0;
  color: #263f51;
  font-weight: 700;
}

.review-card p {
  margin: 0;
  color: #354f60;
  line-height: 1.78;
}

.review-card blockquote {
  margin: 0;
  padding: 16px 18px;
  color: #123456;
  background: linear-gradient(135deg, #edf8ff, #ffffff);
  border-left: 4px solid #67bce5;
  border-radius: 16px;
  line-height: 1.78;
}

.review-card time {
  color: #6b8190;
  font-size: 0.92rem;
  font-weight: 760;
}

.review-empty,
.review-consult-box,
.admin-login-form {
  padding: clamp(22px, 3.2vw, 36px);
}

.review-consult-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #edf8ff);
}

.review-consult-box h2 {
  max-width: 760px;
  margin: 0;
  color: #123456;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

.admin-login-section {
  padding-top: 30px;
}

.admin-login-form {
  display: grid;
  gap: 18px;
  max-width: 520px;
}

.admin-login-form h2 {
  margin: 0;
  color: var(--brand-deep);
}

.admin-error {
  min-height: 1.5em;
  margin: 0;
  color: #c0392b;
  font-weight: 800;
}

.review-image-preview { display: grid; gap: 12px; }

@media (max-width: 980px) {
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .review-hero { min-height: auto; padding-top: 96px; }
  .review-grid,
  .review-card__meta { grid-template-columns: 1fr; }
  .review-consult-box .button,
  .admin-login-form .button { width: 100%; }
}

.review-form-section > *,
.review-confirm-section > *,
.admin-workspace > * {
  width: 100%;
  max-width: var(--content-max);
}

.review-form-section,
.review-confirm-section {
  display: grid;
  gap: 24px;
}

.review-notice,
.review-submit-form,
.review-confirm-card,
.review-link-toolbar,
.review-admin-tabs {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(90, 184, 224, 0.22);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(18, 52, 86, 0.1);
}

.review-notice,
.review-submit-form,
.review-confirm-card,
.review-link-toolbar {
  padding: clamp(22px, 3.2vw, 36px);
}

.review-notice h2,
.review-confirm-card h2,
.review-submit-form h2 {
  margin-top: 0;
  color: #123456;
}

.review-notice p,
.review-notice li,
.review-confirm-card p {
  color: #354f60;
  line-height: 1.78;
}

.review-submit-form textarea,
.review-submit-form input,
.review-submit-form select {
  font-size: 1rem;
}

.review-rating-field {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(90, 184, 224, 0.24);
  border-radius: 18px;
}

.review-rating-field legend {
  padding: 0 8px;
  color: #123456;
  font-weight: 900;
}

.review-rating-field label,
.review-consent {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #263f51;
  font-weight: 800;
}

.review-consent {
  align-items: flex-start;
  padding: 16px;
  background: #f1f8ff;
  border: 1px solid rgba(90, 184, 224, 0.18);
  border-radius: 16px;
}

.review-confirm-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.review-confirm-list div {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f1f8ff;
  border: 1px solid rgba(90, 184, 224, 0.18);
  border-radius: 16px;
}

.review-confirm-list dt {
  color: #1d5f8e;
  font-size: 0.84rem;
  font-weight: 900;
}

.review-confirm-list dd {
  margin: 0;
  color: #263f51;
  font-weight: 700;
  line-height: 1.72;
}

.review-confirm-actions,
.review-admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.review-admin-tabs {
  padding: 16px;
  margin: 18px 0;
}

.admin-layout-two {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: start;
}

.admin-review-thumb {
  display: block;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(90, 184, 224, 0.2);
}

.header-actions button.header-cta {
  border: 0;
  cursor: pointer;
}

@media (max-width: 980px) {
  .admin-layout-two { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .review-rating-field,
  .review-confirm-actions,
  .review-admin-tabs { flex-direction: column; }
  .review-submit-form .button,
  .review-confirm-actions .button,
  .review-admin-tabs .button { width: 100%; }
  .review-submit-form textarea { min-height: 220px; }
}
