/* ============================================================
   unithaus clone — shared styles (header / footer / form / common)
   ============================================================ */
:root{
  --black:#111111;
  --gray-900:#1a1a1a;
  --gray-600:#555555;
  --gray-400:#9a9a9a;
  --gray-200:#e5e5e5;
  --accent:#f2b33d;
  --accent-light:#f8d477;
  --radius-pill:999px;
  --container:1256px;
  --header-h:70px;
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,"Helvetica Neue","Apple SD Gothic Neo","Noto Sans KR",Helvetica,Arial,sans-serif;
  color:var(--black);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
.container{max-width:var(--container);margin:0 auto;padding:0 24px;}
section{padding:110px 0;}
.sec-title{font-size:clamp(28px,3vw,40px);font-weight:700;letter-spacing:-.01em;line-height:1.45;}
.sec-title.center{text-align:center;}

/* ---------- Header ---------- */
.header{position:fixed;top:0;left:0;right:0;z-index:100;height:var(--header-h);background:#fff;display:flex;align-items:center;}
.header-inner{width:100%;max-width:1440px;margin:0 auto;padding:0 40px;display:flex;align-items:center;gap:40px;}
.logo{flex:none;}
.logo img{height:24px;width:auto;max-width:none;flex:none;}
.gnb{display:flex;gap:34px;margin-left:50px;}
.gnb > .nav-item{position:relative;}
.gnb a.nav-link{font-size:16px;font-weight:500;color:var(--black);transition:opacity .2s;display:inline-block;padding:22px 0;}
.gnb a.nav-link:hover{opacity:.55;}
.dropdown{
  position:absolute;top:calc(100% - 6px);left:50%;transform:translateX(-50%);
  background:#fff;border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.14);
  padding:14px 22px;display:none;gap:22px;white-space:nowrap;
}
.nav-item:hover .dropdown{display:flex;}
.dropdown a{font-size:15px;font-weight:600;}
.dropdown a:hover{opacity:.55;}
/* 상담신청 버튼 드롭다운 */
.consult-wrap{position:relative;}
.consult-dropdown{
  position:absolute;top:calc(100% + 6px);right:0;
  background:#fff;border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.14);
  display:none !important;flex-direction:column;white-space:nowrap;overflow:hidden;min-width:170px;z-index:200;
}
.consult-wrap:hover .consult-dropdown{display:flex !important;}
.consult-dropdown a{
  display:block;padding:13px 20px;font-size:14px;font-weight:600;color:var(--black);
  border-bottom:1px solid var(--gray-100);transition:background .15s;
}
.consult-dropdown a:last-child{border-bottom:none;}
.consult-dropdown a:hover{background:var(--gray-100);opacity:1;}
.header-right{margin-left:auto;display:flex;align-items:center;gap:12px;}
.btn-pill{display:inline-flex;align-items:center;justify-content:center;height:42px;padding:0 20px;border-radius:var(--radius-pill);font-size:15px;font-weight:600;transition:opacity .2s;white-space:nowrap;flex:none;}
.btn-pill:hover{opacity:.85;}
.btn-maker{background:var(--accent-light);color:var(--black);}
.btn-consult{background:var(--black);color:#fff;}
.lang{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--gray-600);white-space:nowrap;flex:none;}
.lang svg{width:18px;height:18px;}
.menu-toggle{display:none;font-size:26px;line-height:1;flex:none;}
.mobile-nav{position:fixed;top:var(--header-h);left:0;right:0;z-index:99;background:#fff;border-top:1px solid var(--gray-200);display:none;flex-direction:column;padding:16px 24px 24px;gap:16px;font-size:17px;font-weight:600;}
.mobile-nav.open{display:flex;}
@media (min-width:1025px){.mobile-nav{display:none!important;}}

/* ---------- Sub-page hero ---------- */
.sub-hero{position:relative;margin-top:var(--header-h);height:calc(100vh - var(--header-h));min-height:520px;background-size:cover;background-position:center;display:flex;align-items:flex-end;color:#fff;}
.sub-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.15) 40%,rgba(0,0,0,.62) 100%);}
.sub-hero .inner{position:relative;z-index:2;width:100%;max-width:1440px;margin:0 auto;padding:0 70px 64px;}
.sub-hero h1{font-size:clamp(28px,3.2vw,46px);font-weight:700;line-height:1.45;letter-spacing:-.01em;}
.sub-hero h1 .accent{color:var(--accent);}
.hero-tags{margin-top:26px;display:flex;flex-wrap:wrap;gap:10px;}
.hero-tags a{background:rgba(255,255,255,.85);color:var(--black);font-size:14px;font-weight:600;padding:9px 16px;border-radius:var(--radius-pill);white-space:nowrap;}
.hero-tags a:hover{background:#fff;}

/* ---------- Pain-point cards ---------- */
.pain{color:var(--black);}
.pain .head{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.pain h2{font-size:clamp(26px,2.8vw,38px);font-weight:700;}
.pain-grid{margin-top:56px;display:grid;grid-template-columns:repeat(3,1fr);gap:28px;}
.pain-card{background:rgba(255,255,255,.92);border-radius:14px;padding:40px 34px;min-height:380px;box-shadow:0 2px 14px rgba(0,0,0,.06);}
.pain-card h3{font-size:21px;font-weight:700;line-height:1.5;}
.pain-card .items{margin-top:64px;display:flex;flex-direction:column;gap:26px;}
.pain-card .items b{font-size:16.5px;font-weight:700;}
.pain-card .items span{font-size:14.5px;color:var(--gray-600);}

/* ---------- Service (제공 서비스) ---------- */
.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start;}
.service h2{font-size:clamp(26px,2.8vw,38px);font-weight:700;}
.service .desc{margin-top:22px;font-size:15.5px;color:var(--gray-600);line-height:1.7;}
.service-list{margin-top:44px;}
.service-list .item{display:flex;align-items:center;gap:18px;padding:26px 0;border-bottom:1px solid var(--gray-200);font-size:18px;font-weight:700;}
.service-list .item:last-child{border-bottom:none;}
.service-list .check{color:var(--black);font-size:20px;}
.service-photo img{width:100%;border-radius:6px;object-fit:cover;}

/* ---------- Tech solution ---------- */
.tech h2{font-size:clamp(26px,2.8vw,38px);font-weight:700;}
.tech-visual{margin-top:44px;width:100%;max-height:300px;object-fit:cover;border-radius:4px;}
.tech-grid{display:grid;grid-template-columns:1fr 1fr;}
.tech-cell{display:flex;align-items:flex-start;gap:26px;padding:56px 40px;border-bottom:1px solid var(--gray-200);}
.tech-cell:nth-child(odd){border-right:1px solid var(--gray-200);padding-left:0;}
.tech-cell:nth-child(even){padding-right:0;}
.tech-cell:nth-last-child(-n+2){border-bottom:none;}
.tech-cell img{width:52px;height:52px;object-fit:contain;flex:none;}
.tech-cell h3{font-size:19px;font-weight:700;margin-top:22px;}
.tech-cell p{font-size:15px;color:var(--gray-600);line-height:1.7;}
.tech-cell .txt{flex:1;}

/* ---------- Process timeline ---------- */
.process h2{font-size:clamp(26px,2.8vw,38px);font-weight:700;}
.timeline{margin-top:80px;display:flex;align-items:flex-start;position:relative;}
.timeline .line{position:absolute;top:86px;left:0;right:0;height:1.5px;background:#c9c9c9;}
.tl-step{flex:1;position:relative;text-align:center;padding-top:0;}
.tl-step .icon{height:56px;display:flex;align-items:flex-end;justify-content:center;margin-bottom:8px;font-size:34px;}
.tl-step .dotline{width:1.5px;height:16px;background:#c9c9c9;margin:0 auto;}
.tl-step .dot{width:11px;height:11px;border-radius:50%;background:var(--black);margin:0 auto;position:relative;top:-1px;}
.tl-step .step-num{margin-top:18px;font-size:14px;font-weight:700;}
.tl-step .step-title{margin-top:4px;font-size:16.5px;font-weight:700;line-height:1.5;}
.tl-badge{flex:1;position:relative;text-align:center;}
.tl-badge .bubble{margin:36px auto 0;width:150px;border:1px solid #9a9a9a;border-radius:50%;padding:22px 12px;font-size:12.5px;line-height:1.55;background:#fff;position:relative;z-index:2;}
.tl-badge .cap{font-size:14px;font-weight:700;margin-bottom:0;}

/* ---------- Why (왜 유닛포인트/유닛하우스) ---------- */
.why h2{font-size:clamp(26px,2.8vw,38px);font-weight:700;}
.why-grid{margin-top:56px;display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
.why-card{border-radius:10px;padding:32px 26px;min-height:300px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;}
.why-card.light{color:var(--black);}
.why-card .top{font-size:16px;font-weight:700;line-height:1.55;}
.why-card .label{font-size:15px;font-weight:700;}
.why-card .big{font-size:clamp(40px,4vw,58px);font-weight:800;line-height:1.1;}
.why-card .big small{font-size:16px;font-weight:700;margin-left:6px;}

/* ---------- Case study (사업 예시) ---------- */
.biz h2{font-size:clamp(26px,2.8vw,38px);font-weight:700;}
.biz-row{margin-top:52px;display:grid;grid-template-columns:250px 1fr;gap:26px;align-items:stretch;}
.persona{border:1px solid var(--gray-200);border-radius:14px;padding:44px 26px;text-align:center;}
.persona img{width:120px;height:120px;object-fit:contain;margin:0 auto;}
.persona .name{margin-top:32px;font-size:17px;font-weight:700;}
.persona .role{margin-top:4px;font-size:13.5px;color:var(--gray-600);padding-bottom:18px;border-bottom:1px solid var(--gray-200);}
.persona .quote{margin-top:18px;font-size:14.5px;line-height:1.7;font-weight:600;}
.strategy{border:1px solid var(--gray-200);border-radius:14px;padding:44px 40px;}
.strategy h3{font-size:20px;font-weight:700;line-height:1.5;}
.strategy .cards{margin-top:34px;display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.strategy .card{background:#f7f7f7;border-radius:10px;padding:28px 26px;}
.strategy .card b{display:block;font-size:16.5px;font-weight:700;margin-bottom:16px;}
.strategy .card p{font-size:14px;color:var(--gray-600);line-height:1.75;}
.biz-result{margin-top:26px;border-radius:6px;padding:34px 32px;color:#fff;background:linear-gradient(100deg,#b9a893 0%,#4c545e 100%);}
.biz-result b{font-size:17px;font-weight:700;}
.biz-result p{margin-top:10px;font-size:14.5px;line-height:1.7;}

/* ---------- CTA band ---------- */
.cta-band{padding:130px 0;text-align:center;color:#fff;background:#9a9a9a center/cover no-repeat;}
.cta-band h2{font-size:clamp(24px,2.6vw,36px);font-weight:700;line-height:1.6;}

/* ---------- Enquiry form ---------- */
.enquiry .sec-title{text-align:center;}
.enquiry-card{margin-top:64px;background:#fff;border:1px solid var(--gray-200);border-radius:20px;padding:64px;max-width:900px;margin-left:auto;margin-right:auto;box-shadow:0 4px 24px rgba(0,0,0,.04);}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:32px;}
.form-group{margin-bottom:42px;}
.form-group label.title{display:flex;align-items:center;gap:6px;font-size:16.5px;font-weight:700;margin-bottom:14px;}
.req{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block;}
.input{width:100%;height:48px;border:1px solid var(--gray-200);border-radius:8px;padding:0 16px;font-size:16px;font-family:inherit;outline:none;transition:border-color .2s;background:#fff;color:var(--black);}
.input:focus{border-color:var(--accent);}
.input::placeholder{color:var(--gray-400);}
.input + .input{margin-top:12px;}
.check-row{display:flex;flex-wrap:wrap;gap:14px 28px;}
.check{display:inline-flex;align-items:center;gap:8px;font-size:15.5px;cursor:pointer;user-select:none;}
.check input{position:absolute;opacity:0;pointer-events:none;}
.check .box{width:20px;height:20px;border-radius:4px;background:#fff;border:1.5px solid var(--gray-400);display:inline-flex;align-items:center;justify-content:center;color:transparent;font-size:13px;transition:background .15s,border-color .15s;}
.check .box::after{content:"\2713";}
.check input:checked + .box{background:var(--accent);border-color:var(--accent);color:#fff;}
.privacy p{font-size:15.5px;color:var(--gray-600);line-height:1.7;}
.enquiry-actions{margin-top:28px;display:flex;align-items:center;justify-content:space-between;}
.btn-submit{height:48px;padding:0 26px;border-radius:8px;background:#cfcfcf;color:#fff;font-size:16px;font-weight:600;cursor:not-allowed;transition:background .2s;white-space:nowrap;flex:none;}
.btn-submit.enabled{background:var(--black);cursor:pointer;}

/* ---------- Footer ---------- */
.footer{background:#0f0f0f;color:#fff;padding:100px 0 56px;}
.footer-top{display:flex;align-items:center;gap:28px;flex-wrap:wrap;}
.footer-logo{display:flex;align-items:baseline;gap:14px;}
.footer-logo img{height:38px;filter:invert(1) brightness(2);}
.footer-logo span{font-size:18px;font-weight:600;}
.footer-sns{display:flex;gap:18px;margin-left:26px;}
.footer-sns a{width:42px;height:42px;border:1.5px solid rgba(255,255,255,.7);border-radius:12px;display:flex;align-items:center;justify-content:center;}
.footer-sns svg{width:20px;height:20px;fill:#fff;}
.footer-info{margin-top:64px;font-size:15.5px;color:#d5d5d5;line-height:1.75;}
.footer-info a{text-decoration:underline;text-underline-offset:3px;}
.footer-meta{margin-top:40px;display:flex;gap:64px;font-size:15.5px;color:#d5d5d5;flex-wrap:wrap;}
.footer-divider{margin-top:34px;border-top:1px solid rgba(255,255,255,.35);}
.footer-bottom{margin-top:24px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:13.5px;color:#cfcfcf;}
.footer-bottom .policy{font-weight:600;color:#fff;}

/* ---------- To top ---------- */
.to-top{position:fixed;right:32px;bottom:32px;z-index:90;width:52px;height:52px;border-radius:50%;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.18);font-size:20px;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .3s;}
.to-top.show{opacity:1;pointer-events:auto;}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .gnb{display:none;}
  .menu-toggle{display:block;margin-left:auto;}
  .header-right{margin-left:0;}
  .header-inner{padding:0 20px;justify-content:space-between;}
  section{padding:76px 0;}
  .sub-hero .inner{padding:0 24px 48px;}
  .pain-grid,.why-grid,.strategy .cards{grid-template-columns:1fr;}
  .service-grid,.tech-grid{grid-template-columns:1fr;}
  .tech-cell{border-right:none!important;padding:36px 0;}
  .biz-row{grid-template-columns:1fr;}
  .timeline{flex-direction:column;gap:44px;}
  .timeline .line{display:none;}
  .tl-badge .bubble{margin-top:0;}
  .enquiry-card{padding:40px 24px;}
  .form-row{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .header-inner{gap:10px;padding:0 14px;}
  .logo img{height:20px;}
  .header-right{gap:6px;}
  .btn-pill{height:34px;padding:0 12px;font-size:13px;}
  .lang{font-size:13px;gap:4px;}
  .lang svg{width:16px;height:16px;}
  .menu-toggle{font-size:24px;}
}
@media (max-width:374px){
  .lang{display:none;}
  .btn-pill{padding:0 10px;font-size:12.5px;}
}

/* ---------- Logo marquee (infinite scroll) ---------- */
.marquee{overflow:hidden;position:relative;}
.marquee + .marquee{margin-top:22px;}
.marquee::before,.marquee::after{content:"";position:absolute;top:0;bottom:0;width:80px;z-index:2;pointer-events:none;}
.marquee::before{left:0;background:linear-gradient(90deg,#fff,rgba(255,255,255,0));}
.marquee::after{right:0;background:linear-gradient(270deg,#fff,rgba(255,255,255,0));}
.marquee-track{display:flex;gap:18px;width:max-content;animation:marquee-left 32s linear infinite;}
.marquee-track.rev{animation:marquee-right 28s linear infinite;}
.marquee:hover .marquee-track{animation-play-state:paused;}
@keyframes marquee-left{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@keyframes marquee-right{from{transform:translateX(-50%);}to{transform:translateX(0);}}
