:root{
  --black:#020504;
  --deep:#050908;
  --panel:#07100f;
  --panel-soft:#0b1211;
  --gold:#d99625;
  --gold2:#f1bd55;
  --text:#f4f4f1;
  --muted:#b7bbb7;
  --line:rgba(217,150,37,.34);
  --cream:#d8b98d;
  --max:1257px;
}
*{box-sizing:border-box}
html{background:#000;scroll-behavior:smooth}
body{margin:0;background:#000;color:var(--text);font-family:"Noto Sans KR",Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.025em}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.page-frame{max-width:var(--max);margin:0 auto;background:linear-gradient(180deg,#030606,#020404);overflow:hidden;position:relative;box-shadow:0 0 0 1px rgba(217,150,37,.16),0 28px 90px rgba(0,0,0,.75)}

.site-header{position:absolute;z-index:20;top:0;left:0;right:0;height:70px;padding:0 52px;display:flex;align-items:center;justify-content:space-between;background:transparent}
.brand{display:block;width:148px;line-height:0}
.brand img{display:block;width:148px;height:auto}
.gnb{display:flex;align-items:center;gap:54px;font-weight:800;font-size:14px;color:#f7f7f3;text-shadow:0 1px 4px rgba(0,0,0,.55)}
.gnb a{padding:8px 0}
.gnb .active{color:var(--gold2)}
.menu-toggle{display:none;background:none;border:0;color:var(--gold2);font-size:26px}

.hero{height:358px;position:relative;display:grid;grid-template-columns:39% 61%;background:linear-gradient(90deg,#030606 0%,#050908 100%);border-bottom:1px solid rgba(217,150,37,.26)}
.hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:60%;background:linear-gradient(90deg,#030606 0%,rgba(3,6,6,.98) 68%,rgba(3,6,6,.12) 100%);z-index:1}
.hero-copy{position:relative;z-index:2;padding:92px 0 0 48px;max-width:425px}
.eyebrow{margin:0 0 12px;color:var(--gold2);font:800 13px/1 Inter,sans-serif;letter-spacing:.08em}
.hero h1{margin:0;color:#f3f4f2;font-size:44px;line-height:1.2;font-weight:800;letter-spacing:-.06em}
.hero h1 span{color:var(--gold);text-shadow:0 0 10px rgba(217,150,37,.1)}
.tagline{display:flex;align-items:center;gap:12px;margin:18px 0 0;color:var(--gold2);font:800 15px/1.1 Inter,sans-serif;letter-spacing:-.02em}
.tagline:before{content:"";width:28px;height:1px;background:var(--gold)}
.hero-desc{margin:16px 0 0;color:#d4d9d5;font-size:13px;line-height:1.8}
.hero-photo{position:relative;height:100%;background-image:url('./assets/backgrounds/hero-sign-clean.png');background-size:cover;background-repeat:no-repeat;background-position:center right;filter:saturate(.96) brightness(.96)}

.about-strip,
.section{display:grid;grid-template-columns:174px 1fr;gap:0;padding:21px 28px;border-bottom:1px solid rgba(217,150,37,.22);align-items:start}
.about-strip h2,
.section>h2{margin:0;color:var(--gold2);font:800 16px/1 Inter,sans-serif;letter-spacing:-.01em}
.about-strip{grid-template-columns:250px 1fr 1fr;background:linear-gradient(180deg,#030807,#030706)}
.about-strip p{margin:0;padding:0 36px;border-left:1px solid rgba(217,150,37,.28);color:#d5dad6;font-size:13px;line-height:1.55}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.service-card{min-height:121px;border:1px solid rgba(217,150,37,.22);border-radius:5px;background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));box-shadow:inset 0 1px 0 rgba(255,255,255,.04);display:grid;grid-template-columns:72px 1fr;align-items:center;padding:16px 18px;color:#dbe0dc}
.service-card img{width:66px;height:66px;object-fit:contain;filter:drop-shadow(0 0 6px rgba(217,150,37,.12))}
.service-card h3{margin:0 0 3px;color:#fff;font-size:17px;font-weight:800;white-space:nowrap}
.service-card b{display:block;color:var(--gold2);font:800 10px/1.25 Inter,sans-serif;letter-spacing:.01em;margin-bottom:8px}
.service-card p{margin:0;color:#c9cfca;font-size:11.9px;line-height:1.62;word-break:keep-all}

.process{padding-top:22px;padding-bottom:24px}
.process-line{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;list-style:none;margin:0;padding:12px 0 0}
.process-line:before{content:"";position:absolute;left:1.2%;right:1.2%;top:13px;height:1px;background:linear-gradient(90deg,rgba(217,150,37,.1),rgba(241,189,85,.95),rgba(217,150,37,.15));box-shadow:0 0 11px rgba(217,150,37,.35)}
.process-line li{position:relative;padding-top:22px}
.process-line li:before{content:"";position:absolute;top:-5px;left:0;width:18px;height:18px;border:2px solid var(--gold2);border-radius:50%;background:#050908;box-shadow:0 0 10px rgba(217,150,37,.38)}
.process-line b{display:block;color:var(--gold2);font:800 15px/1 Inter;margin-bottom:6px}
.process-line strong{display:block;margin:0 0 8px;color:#fff;font-size:13px;font-weight:800}
.process-line span{display:block;color:#c8cdc9;font-size:12px;line-height:1.58}

.insight{align-items:center;padding-top:22px;padding-bottom:23px}
.metrics{display:grid;grid-template-columns:repeat(4,1fr)}
.metrics div{border-left:1px solid var(--line);padding-left:40px}
.metrics strong{display:block;color:var(--gold2);font:800 28px/1 Inter}
.metrics span{display:block;margin-top:5px;color:#d7dbd7;font-size:12px}

.contact{min-height:256px;position:relative;display:grid;grid-template-columns:24% 30% 46%;align-items:stretch;background-image:url('./assets/backgrounds/contact-bg-clean.png');background-size:100% 100%;background-repeat:no-repeat;color:#1b1309;border-bottom:1px solid rgba(217,150,37,.22)}
.contact-copy{grid-column:2;padding:34px 28px 24px 26px;display:flex;flex-direction:column;justify-content:center}
.contact-copy h2{margin:0 0 11px;font-size:27px;line-height:1.24;letter-spacing:-.06em;font-weight:800}
.contact-copy p{margin:0 0 18px;color:#594a38;font-size:12.5px;font-weight:600}
.contact-copy ul{margin:0;padding:0;list-style:none;display:grid;gap:8px;color:#4d3d2c;font-size:12.5px}
.contact-copy li{display:flex;align-items:center;gap:9px}
.contact-copy li:before{content:"✓";width:18px;height:18px;border:1px solid #bc821e;border-radius:50%;display:grid;place-items:center;color:#a97118;font-size:11px;font-weight:800}
.lead-form{grid-column:3;width:78%;max-width:470px;justify-self:start;align-self:center;display:grid;gap:8px;padding-right:18px}
.form-grid.two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lead-form label>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.lead-form input,.lead-form select,.lead-form textarea{width:100%;border:1px solid rgba(0,0,0,.25);border-radius:3px;background:#070a0a;color:#efe9dc;min-height:28px;padding:0 11px;font-size:12px;outline:0}
.lead-form input::placeholder,.lead-form textarea::placeholder{color:#a49b8d}
.lead-form textarea{height:64px;padding-top:9px;resize:vertical}
.select-wrap{position:relative}
.select-wrap:after{content:"⌄";position:absolute;right:11px;top:3px;color:var(--gold2);pointer-events:none}
.lead-form select{appearance:none;color:#efe9dc}
.agreements{display:grid;gap:6px;margin-top:2px}
.agree-row{display:grid!important;grid-template-columns:16px 1fr;align-items:start;gap:8px;color:#4d4032;font-size:11px}
.agree-row input{width:13px;height:13px;min-height:13px;accent-color:#bf831d;margin-top:2px}
.agree-row em{font-style:normal;color:#a56d12;font-weight:800}
.agreements p{margin:0;color:#5d4b3a;font-size:10.5px}
.submit-btn{justify-self:end;width:135px;height:32px;border:0;border-radius:4px;background:linear-gradient(180deg,#eeb34a,#ce8d24);color:#0a0804;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:22px;cursor:pointer;box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}
.submit-btn:disabled{cursor:not-allowed;background:#171411;color:#9f7a3e;border:1px solid rgba(217,150,37,.25);box-shadow:none}
.submit-btn i{font-style:normal;font-size:20px;line-height:0}

.footer{display:grid;grid-template-columns:170px 1fr 110px;gap:26px;align-items:center;padding:26px 50px 32px;background:#020605;border-top:1px solid rgba(217,150,37,.18)}
.footer-logo img{width:148px;height:auto}
.footer-main{min-width:0}
.brand-note{margin:0 0 14px;padding-bottom:11px;border-bottom:1px solid rgba(217,150,37,.2);color:var(--gold2);font-size:12.5px;font-weight:800}
.footer-info{display:grid;grid-template-columns:1.05fr 1.55fr 1.4fr;gap:24px}
.footer-info dl{display:grid;grid-template-columns:92px 1fr;gap:8px 14px;margin:0;padding-left:20px;border-left:1px solid rgba(217,150,37,.28);font-size:11.5px;align-content:start}
.footer-info dt{color:#d3a04a;font-weight:800;word-break:keep-all}
.footer-info dd{margin:0;color:#d1d5d1;word-break:keep-all}
.footer-info a{text-decoration:underline;text-decoration-color:rgba(217,150,37,.35)}
.socials{display:flex;justify-content:flex-end;gap:15px}
.socials a{width:43px;height:43px;border:2px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold2);font:800 20px/1 Inter;box-shadow:0 0 12px rgba(217,150,37,.12)}

@media (max-width:980px){
  .page-frame{width:100%}
  .site-header{position:fixed;background:rgba(2,5,5,.88);backdrop-filter:blur(14px);border-bottom:1px solid rgba(217,150,37,.18);height:70px;padding:0 22px}
  .brand{width:132px}.brand img{width:132px}
  .menu-toggle{display:block}
  .gnb{position:fixed;right:18px;top:78px;display:none;flex-direction:column;align-items:flex-start;gap:0;min-width:190px;background:#07100f;border:1px solid var(--line);border-radius:12px;padding:10px}
  .gnb.open{display:flex}
  .gnb a{width:100%;padding:12px;border-radius:8px}
  .hero{display:block;height:auto;min-height:620px;padding-top:70px;background:#030606}
  .hero:before{width:100%;background:linear-gradient(180deg,rgba(3,6,6,.92),rgba(3,6,6,.46),rgba(3,6,6,.94))}
  .hero-photo{width:100%;height:300px;background-position:center right}
  .hero-copy{padding:48px 24px 20px;max-width:520px}
  .hero h1{font-size:40px}
  .about-strip,.section{grid-template-columns:1fr;padding:24px 24px;gap:16px}
  .about-strip{grid-template-columns:1fr}
  .about-strip p{padding-left:0;border-left:0;text-align:left}
  .service-grid{grid-template-columns:1fr}
  .service-card{grid-template-columns:70px 1fr}
  .process-line{grid-template-columns:1fr;gap:12px;padding-left:22px}
  .process-line:before{left:8px;right:auto;top:12px;bottom:0;width:1px;height:auto}
  .process-line li:before{left:-22px}
  .metrics{grid-template-columns:repeat(2,1fr);row-gap:22px}
  .metrics div{padding-left:18px}
  .contact{display:grid;grid-template-columns:1fr;min-height:unset;background:linear-gradient(90deg,rgba(216,185,141,.92),rgba(216,185,141,.78)),url('./assets/backgrounds/contact-bg-clean.png');background-size:cover;background-position:center}
  .contact-copy,.lead-form{grid-column:1;width:auto;max-width:none;margin:0;padding:28px 24px}
  .form-grid.two{grid-template-columns:1fr}
  .submit-btn{width:100%;height:44px}
  .footer{grid-template-columns:1fr;padding:30px 24px}
  .footer-info{grid-template-columns:1fr}
  .footer-info dl{padding-left:14px}
  .socials{justify-content:center}
}


/* ===== PATCH 2026-07-09: logo/nav/icons/contact/footer alignment ===== */
.brand-logo{width:152px;display:flex;flex-direction:column;align-items:center;gap:7px;color:var(--gold2);line-height:1;background:transparent!important}
.logo-symbol{position:relative;display:block;width:104px;height:20px}.logo-symbol::before,.logo-symbol::after{content:"";position:absolute;top:3px;width:14px;height:14px;border:2px solid var(--gold2);border-radius:50%;box-shadow:inset 0 0 8px rgba(241,189,85,.25),0 0 9px rgba(217,150,37,.24)}.logo-symbol::before{left:0}.logo-symbol::after{right:0}.logo-symbol i{position:absolute;left:16px;right:16px;top:10px;height:2px;background:linear-gradient(90deg,var(--gold2),#fff2a3,var(--gold));box-shadow:0 0 8px rgba(217,150,37,.4)}.logo-text{display:block;font:800 13px/1 Inter,sans-serif;letter-spacing:.34em;color:var(--gold2);text-shadow:0 0 8px rgba(217,150,37,.18);white-space:nowrap}.site-header{display:grid;grid-template-columns:180px 1fr 180px;padding:0 52px}.site-header .brand{justify-self:start}.gnb{justify-self:center;gap:62px}.gnb a[href="#contact"]{display:none!important}.service-card{grid-template-columns:72px 1fr;column-gap:14px}.service-icon{width:66px;height:66px;display:grid;place-items:center;color:var(--gold2);background:transparent!important}.service-icon svg{width:64px;height:64px;display:block;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 7px rgba(217,150,37,.18))}.service-card b{white-space:nowrap;font-size:9.4px;letter-spacing:-.02em}.service-card p{word-break:keep-all;overflow-wrap:normal}.process-line b{margin-top:2px;margin-bottom:7px}.contact{grid-template-columns:24.5% 30.5% 45%}.contact-copy{padding-left:30px}.lead-form{width:80%;max-width:480px;justify-self:start;padding-right:26px}.agree-row{display:grid!important;grid-template-columns:16px 1fr!important;gap:8px;align-items:start;line-height:1.35}.agree-row span{display:block;white-space:normal}.agree-row em{font-style:normal;color:#a56d12;font-weight:800}.agree-row button{display:none!important}.submit-btn{justify-self:end;margin-right:0}.footer-logo{align-items:center;justify-content:center;background:transparent!important}.footer-info{grid-template-columns:1.1fr 1.65fr 1.45fr;gap:26px}.footer-info dl{grid-template-columns:98px minmax(0,1fr)}.footer-info dt,.footer-info dd{word-break:keep-all;overflow-wrap:normal}.footer-info dl:first-child dd:first-of-type{white-space:nowrap}@media (max-width:980px){.site-header{display:flex;padding:0 22px}.brand-logo{width:132px}.logo-symbol{width:96px}.logo-text{font-size:12px}.gnb{gap:0}.service-card b{white-space:normal}.lead-form{width:auto;padding-right:24px}}

/* ===== PATCH 2026-07-10: service card equalization + contact form alignment ===== */

/* 카드 4개 높이 확장 — 다른 효과는 그대로 유지 */
.service-grid{
  align-items:stretch;
}
.service-card{
  height:auto;
  min-height:172px;
  align-self:stretch;
  grid-template-columns:74px minmax(0,1fr);
  padding:22px 20px 24px;
  overflow:hidden;
}
.service-card > div{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  height:100%;
}
.service-icon{
  align-self:start;
  margin-top:2px;
}
.service-card h3{
  font-size:17px;
  line-height:1.08;
  margin-bottom:5px;
}
.service-card b{
  display:block;
  width:100%;
  max-width:100%;
  white-space:nowrap;
  line-height:1.1;
  margin-bottom:10px;
}
.service-card p{
  max-width:100%;
  font-size:11.4px;
  line-height:1.58;
}
@media (max-width:980px){
  .service-card{
    min-height:186px;
    padding:24px 20px 26px;
  }
}

/* 상담 영역: 왼쪽 카피와 폼의 수평/수직 기준 맞춤 */
.contact{
  grid-template-columns:24.5% 30.5% 45%;
  align-items:center;
}
.contact-copy{
  align-self:center;
  padding-top:0;
  padding-bottom:0;
}
.lead-form{
  align-self:center;
  justify-self:start;
  width:78%;
  max-width:462px;
  padding-right:18px;
  transform:translateY(18px);
}
.lead-form input,
.lead-form select{
  min-height:29px;
}
.lead-form textarea{
  height:66px;
}
.agreements{
  margin-top:8px;
  gap:7px;
}
.agree-row{
  font-size:11px;
  color:#3f3328;
}
.agree-row span{
  line-height:1.35;
}
.agreements p{
  margin-top:1px;
  font-size:10.8px;
}
.submit-btn{
  width:128px;
  height:31px;
  margin-top:2px;
  justify-self:end;
}

/* 데스크톱에서 상담 폼이 우측 배경 밖으로 치우쳐 보이지 않도록 제한 */
@media (min-width:981px){
  .lead-form{
    margin-left:0;
  }
}

/* 모바일에서는 고정 높이 해제 */
@media (max-width:980px){
  .service-card{
    height:auto;
    min-height:126px;
  }
  .lead-form{
    transform:none;
    width:auto;
    max-width:none;
    padding-right:24px;
  }
}

/* ===== PATCH 2026-07-10-B: contact form containment + visible agreement text ===== */
/* 서비스 카드: 정확히 같은 폭/높이로 고정 */
.service-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.service-card{
  width:100%;
  height:138px;
  min-height:138px;
  padding:18px 20px;
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  align-items:center;
}
.service-card > div{
  height:auto;
  justify-content:center;
}
.service-card h3,
.service-card b,
.service-card p{
  text-align:left;
}
.service-card p{
  display:block;
  line-height:1.55;
}

/* 상담 영역: 오른쪽 배경으로 튀어나가지 않도록 중앙 베이지 영역 안에 고정 */
.contact{
  grid-template-columns:24.5% 29.5% 31% 15%;
  align-items:center;
}
.contact-copy{
  grid-column:2;
  align-self:center;
  padding:0 28px 0 26px;
}
.lead-form{
  grid-column:3;
  align-self:center;
  justify-self:stretch;
  width:100%;
  max-width:none;
  margin:0;
  padding:0 18px 0 0;
  transform:none;
  gap:7px;
}
.lead-form input,
.lead-form select{
  min-height:28px;
}
.lead-form textarea{
  height:64px;
}

/* 기존 label span 숨김 규칙이 체크박스 문구까지 숨기던 문제 수정 */
.lead-form .agree-row > span{
  position:static!important;
  width:auto!important;
  height:auto!important;
  overflow:visible!important;
  clip:auto!important;
  color:#3f3328;
  display:block;
  white-space:normal;
  line-height:1.35;
}
.agreements{
  margin-top:7px;
  gap:6px;
}
.agree-row{
  display:grid!important;
  grid-template-columns:16px minmax(0,1fr)!important;
  align-items:start;
  column-gap:8px;
  font-size:11px;
}
.agree-row input{
  width:13px;
  height:13px;
  min-height:13px!important;
  margin:0;
  align-self:start;
}
.agreements p{
  font-size:10.6px;
  line-height:1.35;
  margin:0;
  color:#5d4b3a;
}
.submit-btn{
  justify-self:end;
  width:128px;
  height:31px;
  margin-top:2px;
}

@media (max-width:980px){
  .service-grid{grid-template-columns:1fr}
  .service-card{height:auto;min-height:126px}
  .contact{grid-template-columns:1fr}
  .contact-copy,.lead-form{grid-column:1;width:auto;max-width:none;padding:28px 24px;transform:none}
}


/* ===== PATCH 2026-07-10-C: contact top spacing, button beside note, footer compact alignment ===== */
/* 상담 폼: 위쪽 여백 확보 + 하단 버튼을 안내문 옆으로 정렬 */
.lead-form{
  padding-top:18px!important;
  align-self:start!important;
}
.form-bottom{
  display:grid;
  grid-template-columns:minmax(0,1fr) 128px;
  column-gap:14px;
  align-items:end;
  margin-top:8px;
}
.form-bottom .agreements{
  margin-top:0!important;
  gap:7px!important;
}
.form-bottom .submit-btn{
  width:128px!important;
  height:31px!important;
  justify-self:end!important;
  align-self:end!important;
  margin:0 0 1px 0!important;
}
.agree-row{
  grid-template-columns:16px minmax(0,1fr)!important;
}
.agree-row span{
  position:static!important;
  width:auto!important;
  height:auto!important;
  clip:auto!important;
  overflow:visible!important;
  display:block!important;
  white-space:normal!important;
}
.agreements p{
  white-space:nowrap;
}

/* 푸터: 라벨-값 간격 축소, 운영사 한 줄, 주소/이메일 공란 축소 */
.footer{
  grid-template-columns:155px 1fr 108px!important;
  gap:20px!important;
  padding-left:48px!important;
  padding-right:48px!important;
}
.footer-info{
  grid-template-columns:245px 370px 320px!important;
  gap:14px!important;
  align-items:start;
}
.footer-info dl{
  column-gap:10px!important;
  row-gap:8px!important;
  padding-left:16px!important;
  font-size:11.5px!important;
}
.footer-info dl:nth-child(1){
  grid-template-columns:88px max-content!important;
}
.footer-info dl:nth-child(2){
  grid-template-columns:48px max-content!important;
}
.footer-info dl:nth-child(3){
  grid-template-columns:112px max-content!important;
}
.footer-info dt,
.footer-info dd,
.footer-info a{
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}

@media (max-width:980px){
  .lead-form{
    padding-top:28px!important;
    align-self:auto!important;
  }
  .form-bottom{
    grid-template-columns:1fr;
    gap:12px;
  }
  .form-bottom .submit-btn{
    width:100%!important;
    height:44px!important;
  }
  .agreements p{
    white-space:normal;
  }
  .footer{
    grid-template-columns:1fr!important;
    gap:22px!important;
    padding-left:24px!important;
    padding-right:24px!important;
  }
  .footer-info{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }
  .footer-info dl,
  .footer-info dl:nth-child(1),
  .footer-info dl:nth-child(2),
  .footer-info dl:nth-child(3){
    grid-template-columns:92px minmax(0,1fr)!important;
  }
  .footer-info dd,
  .footer-info a{
    white-space:normal!important;
  }
}

/* ===== PATCH 2026-07-10-D: footer overlap + spacing rebalance ===== */
.footer{
  grid-template-columns:148px minmax(0,1fr) 96px !important;
  gap:16px !important;
  padding-left:34px !important;
  padding-right:34px !important;
}
.footer-logo{
  justify-content:flex-start !important;
}
.footer-main{
  min-width:0;
  padding-right:12px;
}
.brand-note{
  margin-bottom:10px !important;
}
.footer-info{
  grid-template-columns:210px 292px 250px !important;
  gap:10px !important;
  align-items:start !important;
}
.footer-info dl{
  padding-left:14px !important;
  column-gap:8px !important;
  row-gap:7px !important;
}
.footer-info dl:nth-child(1){
  grid-template-columns:92px minmax(0,1fr) !important;
}
.footer-info dl:nth-child(2){
  grid-template-columns:52px minmax(0,1fr) !important;
}
.footer-info dl:nth-child(3){
  grid-template-columns:110px minmax(0,1fr) !important;
  margin-left:-18px !important;
}
.footer-info dt,
.footer-info dd,
.footer-info a{
  white-space:nowrap !important;
}
.socials{
  justify-content:flex-end !important;
  align-items:center !important;
  gap:10px !important;
  padding-left:0 !important;
}
.socials a{
  width:40px !important;
  height:40px !important;
  font-size:18px !important;
}

@media (max-width:980px){
  .footer{
    grid-template-columns:1fr !important;
    gap:20px !important;
    padding-left:24px !important;
    padding-right:24px !important;
  }
  .footer-main{
    padding-right:0 !important;
  }
  .footer-info{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  .footer-info dl:nth-child(3){
    margin-left:0 !important;
  }
  .socials{
    justify-content:center !important;
  }
}

/* ===== PATCH 2026-07-10-E: services only ===== */
/* 요청사항: 카드 4장 중앙정렬 + 흰색 설명문구 2줄 */
.service-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
}
.service-card{
  height:136px !important;
  min-height:136px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  padding:16px 16px !important;
  text-align:center !important;
}
.service-card .service-icon{
  width:58px !important;
  height:58px !important;
  margin:0 auto 10px !important;
  display:grid !important;
  place-items:center !important;
}
.service-card .service-icon svg{
  width:54px !important;
  height:54px !important;
}
.service-card > div{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:0 !important;
  width:100% !important;
}
.service-card h3{
  margin:0 0 4px !important;
  text-align:center !important;
}
.service-card b{
  margin:0 0 8px !important;
  text-align:center !important;
}
.service-card p{
  margin:0 auto !important;
  max-width:170px !important;
  text-align:center !important;
  line-height:1.45 !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
}

@media (max-width:980px){
  .service-card{
    height:auto !important;
    min-height:126px !important;
  }
  .service-card p{
    -webkit-line-clamp:unset !important;
    max-width:none !important;
  }
}

/* ===== FINAL SERVICE CARD FIX: equal size, centered, no overflow ===== */
.services .service-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:18px !important;
  align-items:stretch !important;
}
.services .service-card{
  width:100% !important;
  min-width:0 !important;
  height:172px !important;
  min-height:172px !important;
  padding:16px 14px 14px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
  text-align:center !important;
}
.services .service-card .service-icon{
  flex:0 0 auto !important;
  width:52px !important;
  height:52px !important;
  margin:0 auto 8px !important;
}
.services .service-card .service-icon svg{
  width:50px !important;
  height:50px !important;
}
.services .service-card > div{
  width:100% !important;
  min-width:0 !important;
  height:auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.services .service-card h3{
  margin:0 0 3px !important;
  font-size:17px !important;
  line-height:1.15 !important;
  text-align:center !important;
  white-space:nowrap !important;
}
.services .service-card b{
  display:block !important;
  width:100% !important;
  margin:0 0 7px !important;
  font-size:9px !important;
  line-height:1.15 !important;
  letter-spacing:-.025em !important;
  text-align:center !important;
  white-space:nowrap !important;
  overflow:visible !important;
}
.services .service-card p{
  width:100% !important;
  max-width:214px !important;
  margin:0 auto !important;
  color:#c9cfca !important;
  font-size:11px !important;
  line-height:1.5 !important;
  text-align:center !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  white-space:normal !important;
  display:block !important;
  overflow:hidden !important;
}
@media (max-width:980px){
  .services .service-grid{grid-template-columns:1fr !important;}
  .services .service-card{height:auto !important;min-height:150px !important;}
  .services .service-card p{max-width:280px !important;}
}

/* ===== SERVICES INTERACTION EFFECTS ONLY =====
   기존 카드 크기·간격·정렬 규격은 변경하지 않음 */
.service-card{
  position:relative !important;
  isolation:isolate;
  overflow:hidden !important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012) 48%,rgba(217,150,37,.025)),
    rgba(8,13,12,.72) !important;
  border-color:rgba(217,150,37,.28) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 -1px 0 rgba(217,150,37,.035),
    0 10px 28px rgba(0,0,0,.18) !important;
  -webkit-backdrop-filter:blur(9px) saturate(112%);
  backdrop-filter:blur(9px) saturate(112%);
  transition:
    transform .28s cubic-bezier(.22,.61,.36,1),
    border-color .28s ease,
    box-shadow .28s ease,
    background-color .28s ease;
  will-change:transform;
}

.service-card::before{
  content:"";
  position:absolute;
  z-index:0;
  inset:-45% auto -45% -42%;
  width:34%;
  transform:skewX(-18deg) translateX(-170%);
  background:linear-gradient(90deg,transparent,rgba(255,231,169,.10),transparent);
  opacity:0;
  pointer-events:none;
  transition:transform .62s cubic-bezier(.22,.61,.36,1),opacity .24s ease;
}

.service-card::after{
  content:"";
  position:absolute;
  z-index:0;
  left:13%;
  right:13%;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,218,131,.34),transparent);
  opacity:.42;
  pointer-events:none;
  transition:opacity .28s ease;
}

.service-card > *{
  position:relative;
  z-index:1;
}

.service-card .service-icon{
  transition:transform .28s cubic-bezier(.22,.61,.36,1),filter .28s ease;
}

@media (hover:hover) and (pointer:fine){
  .service-card:hover{
    transform:translateY(-5px) scale(1.012);
    border-color:rgba(241,189,85,.58) !important;
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.085),
      inset 0 -1px 0 rgba(217,150,37,.06),
      0 18px 38px rgba(0,0,0,.32),
      0 0 22px rgba(217,150,37,.075) !important;
  }

  .service-card:hover::before{
    transform:skewX(-18deg) translateX(520%);
    opacity:1;
  }

  .service-card:hover::after{
    opacity:.88;
  }

  .service-card:hover .service-icon{
    transform:translateY(-2px) scale(1.035);
    filter:drop-shadow(0 0 10px rgba(217,150,37,.22));
  }
}

.service-card:active{
  transform:translateY(-2px) scale(.995);
}

@media (prefers-reduced-motion:reduce){
  .service-card,
  .service-card::before,
  .service-card::after,
  .service-card .service-icon{
    transition:none !important;
  }
  .service-card:hover,
  .service-card:active{
    transform:none !important;
  }
}

/* ===== MOBILE HERO IMAGE FIX 2026-07-10 =====
   PC 버전 영향 없음 / 모바일에서만 배경 구도와 텍스트 선명도 보정 */
@media (max-width:980px){

  /* 기존 모바일 오버레이 제거: 사진과 간판 원본 표현 유지 */
  .hero::before{
    display:none !important;
  }

  /* 모바일에서는 텍스트와 이미지를 분리해 겹침 방지 */
  .hero{
    background:#030606 !important;
    overflow:hidden !important;
  }

  .hero-copy{
    position:relative !important;
    z-index:2 !important;
    background:#030606 !important;
  }

  /* 모바일 전용 텍스트 선명도 보정 */
  .hero .eyebrow{
    text-shadow:
      0 1px 2px rgba(0,0,0,.92),
      0 0 8px rgba(0,0,0,.46) !important;
  }

  .hero h1{
    text-shadow:
      0 2px 4px rgba(0,0,0,.92),
      0 0 12px rgba(0,0,0,.42) !important;
  }

  .hero h1 span{
    text-shadow:
      0 1px 2px rgba(0,0,0,.9),
      0 0 9px rgba(217,150,37,.28) !important;
  }

  .hero .tagline,
  .hero .hero-desc{
    text-shadow:
      0 1px 2px rgba(0,0,0,.9),
      0 0 7px rgba(0,0,0,.4) !important;
  }

  /* 건물과 BIZ BRIDGE 간판 전체가 잘리지 않도록 원본 비율 유지 */
  .hero-photo{
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:1257 / 358 !important;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    background-position:center center !important;
    background-color:#030606 !important;
    filter:saturate(.96) brightness(.96) !important;
  }
}

/* 더 작은 휴대폰에서도 우측 간판이 잘리지 않도록 동일 원칙 유지 */
@media (max-width:640px){
  .hero-photo{
    aspect-ratio:1257 / 358 !important;
    background-size:contain !important;
    background-position:center center !important;
  }
}

/* ===== MOBILE HERO PHOTO CLARITY FIX 2026-07-10 =====
   PC 영향 없음 / 모바일 배경 사진의 밝기·대비·중심 정렬만 보정 */
@media (max-width:980px){

  .hero-photo{
    /* 기기 폭에 맞춰 전체 간판과 건물 구도가 항상 중앙에 오도록 유지 */
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:1257 / 358 !important;
    background-size:100% auto !important;
    background-repeat:no-repeat !important;
    background-position:50% 50% !important;

    /* PC에서 보이는 조명과 메탈 심볼의 선명도를 모바일에서 복원 */
    filter:
      brightness(1.26)
      contrast(1.18)
      saturate(1.10) !important;

    /* 모바일 GPU 합성으로 흐릿한 렌더링 최소화 */
    transform:translateZ(0) !important;
    backface-visibility:hidden !important;
    -webkit-font-smoothing:antialiased;
  }
}

/* 작은 화면에서도 중앙 기준은 유지하되 과도한 확대 방지 */
@media (max-width:640px){
  .hero-photo{
    background-size:100% auto !important;
    background-position:50% 50% !important;
    filter:
      brightness(1.30)
      contrast(1.20)
      saturate(1.12) !important;
  }
}

/* ===== MOBILE HERO FINAL IMAGE ASSET FIX 2026-07-11 =====
   PC 영향 없음 / 모바일에서만 전용 고선명 이미지 사용 */
@media (max-width:980px){
  .hero-photo{
    background-image:url('./assets/backgrounds/hero-sign-mobile-v2.png?v=20260713-mobile2') !important;
    height:clamp(300px,78vw,430px) !important;
    min-height:300px !important;
    aspect-ratio:auto !important;
    background-size:cover !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
    filter:none !important;
    image-rendering:auto !important;
  }
}

@media (max-width:640px){
  .hero-photo{
    height:clamp(310px,86vw,420px) !important;
    min-height:310px !important;
    background-size:cover !important;
    background-position:center center !important;
  }
}



/* ===== MOBILE HERO LAYOUT TUNE 2026-07-11 ===== */
@media (max-width:980px){
  .hero{
    display:flex !important;
    flex-direction:column !important;
    padding-top:70px !important;
    min-height:auto !important;
  }

  .hero-copy{
    order:1 !important;
    text-align:center !important;
    max-width:none !important;
    width:100% !important;
    padding:44px 24px 0 !important;
    margin-bottom:-22px !important; /* 사진과 자연스럽게 겹침 */
  }

  .hero-copy .tagline{
    justify-content:center !important;
  }

  .hero-copy .tagline:before{
    margin-right:8px;
  }

  .hero-desc{
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
    max-width:330px !important;
  }

  .hero-photo{
    order:2 !important;
    margin-top:0 !important;
    background-position:center top !important;
    background-size:cover !important;
    height:360px !important;
    overflow:hidden !important;
  }

  /* 이전 블러 느낌 제거 */
  .hero-photo::before,
  .hero-photo::after{
    display:none !important;
    content:none !important;
  }
}

@media (max-width:640px){
  .hero-copy{
    padding-top:38px !important;
    margin-bottom:-18px !important;
  }
  .hero-photo{
    height:330px !important;
  }
}

/* ===== PC HERO LIGHTING + ORIGINAL SCALE FIX 2026-07-11 =====
   PC 상단 기존 크기·배열 유지 / 사진 구도만 조정 */
@media (min-width:981px){
  .hero{
    display:grid !important;
    grid-template-columns:39% 61% !important;
    height:358px !important;
    position:relative !important;
    overflow:hidden !important;
  }

  .hero-photo{
    position:relative !important;
    inset:auto !important;
    grid-column:2 !important;
    width:auto !important;
    height:100% !important;
    z-index:0 !important;

    /* 심볼 크기는 기존 수준으로 유지하면서
       하단 벽면 조명과 우측 유리 건물을 함께 노출 */
    background-image:url('./assets/backgrounds/hero-sign-clean.png') !important;
    background-size:115% 100% !important;
    background-position:center bottom !important;
    background-repeat:no-repeat !important;
    filter:saturate(.96) brightness(.96) !important;
  }

  .hero::before{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    bottom:0 !important;
    width:60% !important;
    z-index:1 !important;
    background:linear-gradient(
      90deg,
      #030606 0%,
      rgba(3,6,6,.98) 68%,
      rgba(3,6,6,.12) 100%
    ) !important;
    pointer-events:none !important;
  }

  .hero-copy{
    position:relative !important;
    z-index:2 !important;
    padding:92px 0 0 48px !important;
    max-width:425px !important;
  }
}



/* === Service icon SVG asset patch === */

.services .service-card{
  grid-template-columns: 92px 1fr !important;
  column-gap: 16px !important;
  min-height: 132px !important;
  align-items: center !important;
}
.services .service-card .service-icon{
  width: 84px !important;
  height: 84px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  background: transparent !important;
}
.services .service-card .service-icon img{
  display: block !important;
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 8px rgba(217,150,37,.20)) !important;
}
.services .service-card:hover .service-icon img{
  transform: translateY(-2px) scale(1.02);
  transition: transform .28s ease;
}
.services .service-card > div{
  align-self: center !important;
}
.services .service-card h3{
  margin-bottom: 4px !important;
}
.services .service-card b{
  margin-bottom: 8px !important;
}
@media (max-width: 980px){
  .services .service-card{
    grid-template-columns: 1fr !important;
    min-height: 164px !important;
    text-align: center !important;
    row-gap: 8px !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }
  .services .service-card .service-icon{
    width: 88px !important;
    height: 88px !important;
  }
  .services .service-card .service-icon img{
    width: 84px !important;
    height: 84px !important;
  }
  .services .service-card > div{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
}


/* === Service icon transparent refinement patch === */

.services .service-grid{
  align-items:stretch !important;
}
.services .service-card{
  width:100% !important;
  min-width:0 !important;
  height:198px !important;
  min-height:198px !important;
  padding:20px 18px 18px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
  text-align:center !important;
  row-gap:0 !important;
}
.services .service-card .service-icon{
  flex:0 0 auto !important;
  width:98px !important;
  height:98px !important;
  margin:0 auto 10px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:transparent !important;
}
.services .service-card .service-icon img{
  display:block !important;
  width:96px !important;
  height:96px !important;
  object-fit:contain !important;
  background:transparent !important;
  filter:drop-shadow(0 0 10px rgba(217,150,37,.24)) !important;
}
.services .service-card > div{
  width:100% !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:flex-start !important;
}
.services .service-card h3{
  margin:0 0 4px !important;
  font-size:17px !important;
  line-height:1.15 !important;
  white-space:nowrap !important;
  text-align:center !important;
}
.services .service-card b{
  display:block !important;
  width:100% !important;
  margin:0 0 8px !important;
  font-size:9.2px !important;
  line-height:1.18 !important;
  letter-spacing:-.02em !important;
  white-space:nowrap !important;
  text-align:center !important;
}
.services .service-card p{
  width:100% !important;
  max-width:220px !important;
  margin:0 auto !important;
  color:#c9cfca !important;
  font-size:11px !important;
  line-height:1.52 !important;
  text-align:center !important;
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  white-space:normal !important;
  display:block !important;
  overflow:hidden !important;
}
@media (max-width:980px){
  .services .service-card{
    height:auto !important;
    min-height:186px !important;
    padding:20px 16px 18px !important;
  }
  .services .service-card .service-icon{
    width:104px !important;
    height:104px !important;
    margin-bottom:10px !important;
  }
  .services .service-card .service-icon img{
    width:100px !important;
    height:100px !important;
  }
  .services .service-card p{
    max-width:250px !important;
    font-size:11.2px !important;
    line-height:1.55 !important;
  }
}

/* ===== FINAL SERVICE CARD HEIGHT OVERRIDE 2026-07-11 =====
   카드 높이와 하단 여백만 확장 — 다른 효과는 변경하지 않음 */
.services .service-card{
  height:236px !important;
  min-height:236px !important;
  padding-top:22px !important;
  padding-bottom:26px !important;
}

.services .service-card p{
  display:block !important;
  overflow:visible !important;
  -webkit-line-clamp:unset !important;
}

@media (max-width:980px){
  .services .service-card{
    height:auto !important;
    min-height:226px !important;
    padding-top:22px !important;
    padding-bottom:26px !important;
  }
}

/* ===== PATCH 2026-07-11: footer center alignment only ===== */
.footer{
  grid-template-columns:148px auto 96px !important;
  justify-content:center !important;
  column-gap:28px !important;
}
.footer-main{
  margin:0 auto !important;
  padding-right:0 !important;
}
.brand-note{
  text-align:center !important;
}
.footer-info{
  margin:0 auto !important;
  justify-content:center !important;
}
.socials{
  justify-content:center !important;
}
@media (max-width:980px){
  .footer,
  .footer-main,
  .footer-info,
  .brand-note,
  .socials{
    text-align:center !important;
  }
}



/* ===== PATCH 2026-07-11: mobile only photo brightness + about line fix ===== */
@media (max-width:980px){
  /* 모바일에서만 사진 조도 완화 + 전체를 조금 더 밝게 */
  .hero-photo{
    filter:none !important;
  }

  /* 모바일에서만 '지속'이 윗줄로 올라가도록 줄바꿈 제거 */
  .about-strip p:first-of-type br{
    display:none !important;
  }
}


/* ===== PATCH 2026-07-11: mobile footer layout fix only ===== */
@media (max-width:980px){
  .footer{
    grid-template-columns:1fr !important;
    justify-items:center !important;
    align-items:start !important;
    row-gap:22px !important;
    column-gap:0 !important;
    padding:30px 20px 34px !important;
    text-align:center !important;
  }

  .footer-logo{
    justify-self:center !important;
    align-self:center !important;
    margin:0 auto !important;
  }

  .footer-main{
    width:100% !important;
    max-width:360px !important;
    margin:0 auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
  }

  .brand-note{
    width:100% !important;
    max-width:340px !important;
    margin:0 auto 16px !important;
    text-align:center !important;
    line-height:1.55 !important;
    word-break:keep-all !important;
  }

  .footer-info{
    width:100% !important;
    max-width:340px !important;
    margin:0 auto !important;
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    justify-items:center !important;
  }

  .footer-info dl,
  .footer-info dl:nth-child(1),
  .footer-info dl:nth-child(2),
  .footer-info dl:nth-child(3){
    width:100% !important;
    max-width:340px !important;
    margin:0 auto !important;
    padding-left:16px !important;
    border-left:1px solid rgba(217,150,37,.28) !important;
    display:grid !important;
    grid-template-columns:116px minmax(0,1fr) !important;
    gap:8px 12px !important;
    text-align:left !important;
    box-sizing:border-box !important;
  }

  .footer-info dt,
  .footer-info dd,
  .footer-info a{
    font-size:11px !important;
    line-height:1.6 !important;
    word-break:keep-all !important;
  }

  .footer-info a{
    overflow-wrap:anywhere !important;
  }

  .socials{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:16px !important;
    margin:2px auto 0 !important;
    justify-self:center !important;
    align-self:center !important;
  }

  .socials a{
    width:52px !important;
    height:52px !important;
    font-size:27px !important;
  }
}
