/* ============================================================
   아름다운그린조경 — main stylesheet
   Clean light editorial · green accent · Pretendard
   ============================================================ */

:root {
  --paper: #fbfbf8; /* base background (warm white) */
  --white: #ffffff; /* cards / forms */
  --mist: #f1f2ec; /* secondary section bg */
  --ink: #16191b; /* text / dark sections */
  --soft: #727469; /* secondary text */
  --green: #1d8a4c; /* accent */
  --green-d: #156b39; /* accent hover */
  --green-l: #eaf4ee; /* accent tint */
  --line: rgba(20, 24, 26, 0.1);
  --maxw: 1480px;
  --pad: 56px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Pretendard",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
img {
  display: block;
  max-width: 100%;
}
ul {
  list-style: none;
}

/* ---- keyframes ---- */
@keyframes agl-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes agl-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes agl-float1 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(60px, -40px);
  }
}
@keyframes agl-float2 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-50px, 50px);
  }
}
@keyframes agl-float3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, 30px) scale(1.12);
  }
}
@keyframes agl-pan {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-40px, 26px, 0) scale(1.08);
  }
}
@keyframes agl-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(36px, -30px);
  }
}
@keyframes agl-hue {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.9;
  }
}

/* ---- shared layout ---- */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--green);
  text-transform: uppercase;
}
.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow-row .rule {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.section {
  padding: 160px 0;
  overflow: hidden;
  position: relative;
}
.section--paper {
  background: var(--paper);
}
.section--white {
  background: var(--white);
}

/* image / parallax helpers */
.par-parent {
  position: relative;
  overflow: hidden;
}
.par-inner {
  position: absolute;
  inset: -16%;
  will-change: transform;
}
.par-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ loading screen ============ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.7s ease;
}
#loader .logo-bounce {
  animation: agl-bounce 1.8s ease-in-out infinite;
}
#loader .ld-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
#loader .ld-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
#loader .ld-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* ============ header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(251, 251, 248, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(20, 24, 26, 0.08);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .name {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.wordmark .tag {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
}
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  padding: 8px 15px;
  font-size: 17px;
  font-weight: 600;
  color: var(--soft);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.25s,
    transform 0.25s;
}
.btn-pill:hover {
  background: var(--green-d);
  transform: translateY(-1px);
}
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mist);
  font-size: 22px;
  color: var(--ink);
  transition: background 0.2s;
}
.burger:hover {
  background: #e7e8e1;
}

/* mobile menu — 우측 드로어 (우→좌 슬라이드) */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 199;
  height: 100%;
  width: min(82%, 330px);
  background: var(--paper);
  box-shadow: -18px 0 50px rgba(20, 24, 26, 0.16);
  transform: translateX(110%);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 108px 24px 32px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 198;
  background: rgba(20, 24, 26, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.mobile-menu nav a {
  padding: 15px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 10px;
  transition: all 0.2s;
}
.mobile-menu nav a:hover {
  color: var(--green);
  background: var(--mist);
}
.mobile-menu .mm-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  background: var(--green);
  color: #fff;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}

/* ============ hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--paper);
  padding: 120px 0 60px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    900px 520px at 78% 18%,
    rgba(29, 138, 76, 0.06),
    transparent 60%
  );
}
.hero-bg-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  color: var(--green);
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(44px, 6vw, 92px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 36px;
}
.hero .lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--soft);
  line-height: 1.85;
  margin-bottom: 44px;
  max-width: 440px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 17px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.28s,
    transform 0.28s;
}
.btn-primary:hover {
  background: var(--green-d);
  transform: translateY(-2px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  padding: 17px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid var(--line);
  transition: border-color 0.28s;
}
.btn-ghost:hover {
  border-color: var(--ink);
}
.accent {
  color: var(--green);
}

.hero-media {
  position: relative;
  height: 620px;
  border-radius: 8px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-tags {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.hero-tags span {
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.hero-counter {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-counter .cnt {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.hero-counter .cnt .total {
  opacity: 0.6;
}
.hero-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    background 0.2s;
}
.hero-toggle:hover {
  transform: scale(1.08);
}

/* ============ about ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: center;
}
.about h2 {
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}
.about p.body {
  font-size: 16px;
  line-height: 2;
  color: var(--soft);
  margin-bottom: 22px;
  max-width: 520px;
}
.about p.body.last {
  margin-bottom: 52px;
}
.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.check .dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-l);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check .dot svg {
  width: 16px;
  height: 16px;
}
.check .t {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.check .d {
  font-size: 14px;
  color: var(--soft);
  margin-top: 5px;
  line-height: 1.5;
}
.about-figure {
  position: relative;
  height: 640px;
}
.about-figure .main {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(#fff, #000);
}
.about-figure .detail {
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 220px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 7px solid var(--paper);
  box-shadow: 0 18px 44px rgba(20, 24, 26, 0.18);
  z-index: 2;
  transform: translateZ(0);
}
.about-figure .detail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ services ============ */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 96px;
  align-items: start;
}
.svc-left {
  position: sticky;
  top: 140px;
}
.svc-left h2 {
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 40px 0 28px;
}
.svc-left p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--soft);
  max-width: 300px;
}
.svc-list {
  display: flex;
  flex-direction: column;
}
.svc-hr {
  height: 1px;
  background: var(--line);
}
.svc-item {
  padding: 38px 28px;
  cursor: pointer;
  border-radius: 10px;
}
.svc-head {
  display: flex;
  align-items: center;
  gap: 28px;
}
.svc-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(20, 24, 26, 0.3);
  min-width: 32px;
  transition: color 0.3s;
}
.svc-title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.svc-arrow {
  margin-left: auto;
  color: var(--green);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
}
/* smooth expand via grid-template-rows 0fr -> 1fr */
.svc-desc {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s ease;
}
.svc-desc p {
  overflow: hidden;
  min-height: 0;
  font-size: 15px;
  line-height: 1.95;
  color: var(--soft);
  padding: 20px 0 0 60px;
  max-width: 600px;
}
.svc-item:hover .svc-desc,
.svc-item.open .svc-desc {
  grid-template-rows: 1fr;
  opacity: 1;
}
.svc-item:hover .svc-num,
.svc-item.open .svc-num {
  color: var(--green);
}
.svc-item:hover .svc-title,
.svc-item.open .svc-title {
  color: var(--green);
}
.svc-item:hover .svc-arrow,
.svc-item.open .svc-arrow {
  transform: translate(6px, -6px);
}

/* ============ strength (dark) ============ */
.strength {
  padding: 150px 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    155deg,
    #0d1114 0%,
    #16191b 42%,
    #102018 78%,
    #0c1f15 100%
  );
}
/* moving glow layer */
.strength::before {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      820px 520px at 18% 26%,
      rgba(29, 138, 76, 0.22),
      transparent 60%
    ),
    radial-gradient(
      680px 600px at 86% 78%,
      rgba(45, 150, 92, 0.16),
      transparent 62%
    );
  animation: agl-pan 26s ease-in-out infinite alternate;
}
/* subtle drifting conic sheen */
.strength::after {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 70%;
  height: 160%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    closest-side,
    rgba(29, 138, 76, 0.1),
    transparent
  );
  filter: blur(20px);
  animation: agl-drift 30s ease-in-out infinite alternate;
}
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.strength .blob-a {
  top: -14%;
  right: -7%;
  width: 560px;
  height: 560px;
  z-index: 0;
  background: radial-gradient(circle, rgba(29, 138, 76, 0.32), transparent 66%);
  filter: blur(8px);
  animation:
    agl-float1 19s ease-in-out infinite,
    agl-hue 9s ease-in-out infinite;
}
.strength .blob-b {
  bottom: -12%;
  left: -5%;
  width: 480px;
  height: 480px;
  z-index: 0;
  background: radial-gradient(
    circle,
    rgba(120, 200, 150, 0.14),
    transparent 70%
  );
  animation: agl-float3 24s ease-in-out infinite;
}
.strength .inner {
  position: relative;
  z-index: 1;
}
.strength .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.strength .eyebrow-row .rule {
  background: rgba(255, 255, 255, 0.25);
}
.strength h2 {
  font-size: clamp(34px, 4.4vw, 68px);
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 56px 0 80px;
  max-width: 760px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 72px;
}
.stat {
  padding: 40px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  padding-right: 0;
}
.stat .num {
  font-size: clamp(48px, 5.2vw, 84px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stat .num .suf {
  font-size: 0.4em;
  color: rgba(255, 255, 255, 0.6);
}
.stat .lbl {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
}
.ticker-wrap {
  overflow: hidden;
  padding: 8px 0;
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: agl-ticker 24s linear infinite;
}
.ticker span {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: -0.01em;
  padding-right: 48px;
}

/* ============ portfolio ============ */
.pf-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 52px;
}
.pf-head h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.pf-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pf-tab {
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 1.5px solid rgba(20, 24, 26, 0.2);
  border-radius: 999px;
  transition: all 0.25s;
}
.pf-tab:hover {
  border-color: var(--green);
  color: var(--green);
}
.pf-tab.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  font-weight: 600;
}
.pf-panel {
  display: none;
}
.pf-panel.active {
  display: block;
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pf-card {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/2;
  position: relative;
}
.pf-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pf-card .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(16, 28, 20, 0.62) 0%,
    transparent 56%
  );
  z-index: 1;
}
.pf-card .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}
.pf-card .cap .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pf-card .cap .v {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.pf-card.span2 {
  grid-column: span 2;
}
.pf-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  background: var(--mist);
  border-radius: 8px;
}
.pf-info h3 {
  font-size: 25px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.pf-info ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pf-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
}
.pf-info li .b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 8px;
}

/* ============ gallery ticker ============ */
.gallery {
  padding: 0;
  background: var(--white);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.gallery .row {
  white-space: nowrap;
  display: flex;
}
.gallery-track {
  display: inline-flex;
  gap: 14px;
  padding: 16px 0;
  animation: agl-ticker 36s linear infinite;
  will-change: transform;
}
.gallery-card {
  width: 320px;
  height: 210px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-card .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 28, 20, 0.45), transparent 55%);
}
.gallery-card .k {
  position: absolute;
  bottom: 14px;
  left: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ============ process ============ */
.process {
  padding: 160px 0;
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.process .blob-a {
  top: 8%;
  left: -6%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(29, 138, 76, 0.07), transparent 70%);
  animation: agl-float1 16s ease-in-out infinite;
}
.process .blob-b {
  bottom: 4%;
  right: -4%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(29, 138, 76, 0.06), transparent 70%);
  animation: agl-float2 20s ease-in-out infinite;
}
.process .head {
  text-align: center;
  margin-bottom: 88px;
  position: relative;
  z-index: 1;
}
.process .head h2 {
  font-size: clamp(34px, 4.2vw, 62px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.process .head .eyebrow-row {
  display: inline-flex;
  margin-bottom: 28px;
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.proc-line {
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--line);
  pointer-events: none;
}
.proc-fill {
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 0%;
  height: 2px;
  background: var(--green);
  pointer-events: none;
  transition: width 0.2s linear;
}
.proc-step {
  padding: 0 28px;
  text-align: center;
}
.proc-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid rgba(20, 24, 26, 0.18);
  color: rgba(20, 24, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
  transition:
    background 0.4s,
    border-color 0.4s,
    color 0.4s,
    transform 0.4s;
}
.proc-step.active .proc-circle {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.proc-num {
  font-size: 12px;
  font-weight: 700;
  color: rgba(20, 24, 26, 0.3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  transition: color 0.4s;
}
.proc-step.active .proc-num {
  color: var(--green);
}
.proc-step h3 {
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.proc-step p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--soft);
}

/* ============ faq ============ */
.faq-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.faq-head {
  text-align: center;
  margin-bottom: 76px;
}
.faq-head .eyebrow-row {
  display: inline-flex;
  margin-bottom: 28px;
}
.faq-head h2 {
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-list .faq-bottom {
  height: 1px;
  background: var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  text-align: left;
  gap: 24px;
}
.faq-q .qt {
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.faq-icon {
  font-size: 26px;
  color: var(--green);
  flex-shrink: 0;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.25s;
}
.faq-item.open .faq-icon {
  transform: rotate(135deg);
}
.faq-a {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.42s ease,
    opacity 0.35s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
  opacity: 1;
}
.faq-a p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--soft);
  padding-bottom: 30px;
}

/* ============ contact ============ */
.contact {
  padding: 0;
  overflow: hidden;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 740px;
}
.contact-left {
  padding: 104px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    #23a35c 0%,
    #1d8a4c 38%,
    #137a41 66%,
    #0b5b2f 100%
  );
}
/* depth: soft top highlight + bottom shade */
.contact-left::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      640px 460px at 12% 16%,
      rgba(255, 255, 255, 0.22),
      transparent 56%
    ),
    radial-gradient(
      560px 560px at 92% 96%,
      rgba(0, 0, 0, 0.24),
      transparent 60%
    );
}
/* large leaf watermark, slowly floating */
.contact-left::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -56px;
  width: 380px;
  height: 380px;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 14c9 7 9 24 0 32-9-8-9-25 0-32z' fill='%23ffffff'/%3E%3C/svg%3E")
    center/contain no-repeat;
  opacity: 0.08;
  transform: rotate(-12deg);
  animation: agl-float2 22s ease-in-out infinite;
}
.contact-left .blob-a {
  top: -16%;
  left: -14%;
  width: 460px;
  height: 460px;
  z-index: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.18),
    transparent 68%
  );
  animation:
    agl-float3 20s ease-in-out infinite,
    agl-hue 11s ease-in-out infinite;
}
.contact-left .inner {
  position: relative;
  z-index: 2;
}
.contact-left .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
.contact-left h2 {
  font-size: clamp(32px, 3.4vw, 54px);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 28px 0 26px;
}
.contact-left p.lead {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 44px;
  max-width: 380px;
}
.contact-channels {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.ch-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #fff;
  color: var(--green);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s;
}
.ch-phone:hover {
  transform: translateY(-2px);
}
.ch-kakao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #fee500;
  color: #191919;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s;
}
.ch-kakao:hover {
  transform: translateY(-2px);
}
.hours {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}
.hours .led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.hours span {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.contact-right {
  background: var(--paper);
  padding: 96px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-intro {
  margin-bottom: 28px;
}
.form-intro .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.form-intro h3 {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.form-intro p {
  font-size: 14px;
  color: var(--soft);
  margin-top: 8px;
}
.inquiry-form {
  display: flex;
  flex-direction: column;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field--full {
  margin-bottom: 14px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field label .req {
  color: var(--green);
}
.field input,
.field select,
.field textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  background: var(--white);
  width: 100%;
}
.field textarea {
  resize: vertical;
  min-height: 100px;
}
.field select {
  cursor: pointer;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green);
}
.agree {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  padding: 14px;
  background: var(--mist);
  border-radius: 10px;
}
.agree input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}
.agree label {
  font-size: 13px;
  line-height: 1.7;
  color: var(--soft);
  cursor: pointer;
}
.agree label a {
  color: var(--green);
  font-weight: 600;
  text-decoration: underline;
}
.form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--green);
  color: #fff;
  padding: 17px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition:
    background 0.25s,
    transform 0.25s;
}
.form-submit:hover {
  background: var(--green-d);
  transform: translateY(-2px);
}
.form-success {
  text-align: center;
  padding: 40px 0;
}
.form-success .ic {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.form-success h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.form-success p {
  font-size: 14px;
  color: var(--soft);
  line-height: 1.8;
}
.hidden {
  display: none !important;
}

/* ============ footer ============ */
.site-footer {
  background: var(--paper);
  color: var(--soft);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding: 80px 0 56px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.footer-brand .name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.footer-brand .tag {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 6px;
}
.footer-top .about-txt {
  font-size: 14px;
  line-height: 1.95;
  color: var(--soft);
  max-width: 300px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-col a {
  font-size: 14px;
  color: var(--soft);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--green);
}
.footer-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-channels .hint {
  font-size: 13px;
  color: var(--soft);
  opacity: 0.7;
  line-height: 1.75;
  margin-top: 4px;
}
.footer-biz {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--soft);
  opacity: 0.85;
  line-height: 1.75;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--line);
}
.footer-bottom .legal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-bottom .legal span.cr {
  font-size: 12px;
  color: var(--soft);
  opacity: 0.7;
}
.footer-bottom .legal a {
  font-size: 12px;
  color: var(--soft);
  transition: color 0.2s;
}
.footer-bottom .legal a:hover {
  color: var(--green);
}
.footer-bottom .sep {
  color: var(--line);
}
.social {
  display: flex;
  gap: 8px;
}
.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft);
  transition: all 0.2s;
}
.social a:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ============ quick menu (desktop) ============ */
.quick {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.quick-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(20, 24, 26, 0.14);
  border: 1px solid var(--line);
}
.quick-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  white-space: nowrap;
  transition: background 0.2s;
}
.quick-phone {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.quick-phone:hover {
  background: var(--mist);
}
.quick-phone span {
  font-size: 13px;
  font-weight: 600;
}
.quick-kakao {
  background: #fee500;
  color: #191919;
}
.quick-kakao:hover {
  background: #f5dc00;
}
.quick-kakao span {
  font-size: 13px;
  font-weight: 700;
}
.quick-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 18px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(20, 24, 26, 0.18);
  transition:
    background 0.22s,
    transform 0.22s;
  white-space: nowrap;
}
.quick-top:hover {
  background: var(--green);
  transform: translateY(-2px);
}

/* ============ mobile bottom bar ============ */
.mobilebar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  height: 66px;
}
.mobilebar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
}
.mobilebar .mb-kakao {
  background: #fee500;
  color: #191919;
}
.mobilebar .mb-phone {
  background: var(--green);
  color: #fff;
}

/* ============ reveal states (IntersectionObserver-driven) ============ */
[data-linewrap] {
  display: block;
  overflow: hidden;
}
[data-line-inner] {
  display: block;
}
/* hidden states apply only when JS is active (graceful no-JS fallback) */
.js-anim [data-line-inner] {
  transform: translateY(116%);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim [data-linewrap].in [data-line-inner] {
  transform: translateY(0);
}
.js-anim [data-anim="reveal"] {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim [data-anim="reveal"].in {
  opacity: 1;
  transform: none;
}
.js-anim [data-anim="slide-left"] {
  opacity: 0;
  transform: translateX(-70px);
  transition:
    opacity 0.9s ease,
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim [data-anim="slide-left"].in {
  opacity: 1;
  transform: none;
}
.js-anim [data-anim="slide-right"] {
  opacity: 0;
  transform: translateX(70px);
  transition:
    opacity 0.9s ease,
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-anim [data-anim="slide-right"].in {
  opacity: 1;
  transform: none;
}

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat {
    padding: 40px 24px;
  }
  .stat:nth-child(3) {
    padding-left: 0;
  }
}
@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .quick {
    display: none;
  }
  .mobilebar {
    display: flex;
  }
  body {
    padding-bottom: 66px;
  }
}
@media (max-width: 900px) {
  :root {
    --pad: 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-media {
    height: 420px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .about-figure {
    height: 480px;
  }
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .svc-left {
    position: static;
  }
  .svc-left h2 {
    margin-top: 24px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 110px 0;
  }
  .strength {
    padding: 110px 0;
  }
  .process {
    padding: 110px 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  /* 모바일 hero CTA 버튼 숨김 (하단 고정 바로 대체) */
  .hero-btns {
    display: none;
  }
  .contact-left,
  .contact-right {
    padding: 72px 28px;
  }
  .pf-card.span2 {
    grid-column: span 1;
  }
  /* 모바일: 상담 영역 버튼(전화/카톡) 숨김 — 하단 고정 바로 대체 */
  .contact-channels {
    display: none;
  }
  /* 모바일: 푸터 바로가기/상담하기 컬럼 숨김 */
  .footer-col.m-hide {
    display: none;
  }

  /* About 앞 이미지: 더 왼쪽 + 더 아래로, 잘리지 않게 */
  .about {
    overflow: visible;
  }
  .about-figure {
    overflow: visible;
  }
  .about-figure .detail {
    left: -18px;
    bottom: -46px;
    width: 150px;
    height: 188px;
  }

  /* 시공사례 탭: 한 줄 가로 스크롤 */
  .pf-head {
    align-items: stretch;
  }
  .pf-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-right: calc(-1 * var(--pad));
    padding-right: var(--pad);
    scroll-snap-type: x proximity;
  }
  .pf-tabs::-webkit-scrollbar {
    display: none;
  }
  .pf-tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* 진행과정: 좌측정렬 세로 타임라인 (숫자가 라인에 연결) */
  .process .head {
    text-align: center;
  }
  .proc-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .proc-line,
  .proc-fill {
    display: none;
  }
  .proc-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 22px;
    text-align: left;
    padding: 0 0 38px 0;
    position: relative;
  }
  .proc-step:last-child {
    padding-bottom: 0;
  }
  .proc-circle {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0;
    width: 64px;
    height: 64px;
    align-self: start;
  }
  .proc-circle svg {
    width: 26px;
    height: 26px;
  }
  .proc-num {
    grid-column: 2;
    align-self: start;
    margin-top: 4px;
  }
  .proc-step h3 {
    grid-column: 2;
    font-size: 21px;
    margin-bottom: 8px;
  }
  .proc-step p {
    grid-column: 2;
    max-width: none;
  }
  /* 원과 원을 잇는 세로 라인 */
  .proc-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 70px;
    bottom: 6px;
    width: 2px;
    background: var(--line);
  }
  .proc-step.active:not(:last-child)::before {
    background: var(--green);
  }
}
@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .stat,
  .stat:nth-child(3) {
    padding-left: 0;
    padding-right: 0;
  }
  .pf-grid {
    grid-template-columns: 1fr;
  }
  .checks {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
  html {
    scroll-behavior: auto;
  }
}
