/* index.css — 꿈과 희망 법률사무소 (시안 기반 완전 재작성) */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:auto}
body{
  font-family:'Pretendard',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,
              'Apple SD Gothic Neo','Noto Sans KR',sans-serif;
  color:#222;background:#fff;overflow-x:hidden;
  padding-bottom:70px; /* space for fixed quick-bar */
}
.inner{max-width:1600px;margin:0 auto;padding:0 40px; box-sizing: border-box;}
.section{padding:100px 0;position:relative;overflow:hidden}

/* ── GSAP Animation helpers ── */
.hero-bg{will-change:transform}
.service-bg-img{will-change:transform}
.platform-placeholder{overflow:hidden}

/* GPU 가속: clip-path + transform 애니메이션 대상 */
.expert-heading-blue,.expert-heading-gray,.expert-subtext,
.expert-info,.deco-torus,
.service-title,.service-subtitle,.service-desc,
.service-features,.service-trust,.service-circle,
.platform-header-left,.platform-header-right,
.platform-placeholder,.platform-features-title,
.platform-feature,.platform-cta,
.review-label,.review-title,
.banner-text-left,.banner-text-right,.banner-logo,
.contact-title,.contact-desc,.contact-field,
.contact-textarea,.contact-btn,
.footer .inner{
  will-change:transform,opacity;
  -webkit-backface-visibility:hidden;backface-visibility:hidden;
}

/* glow pulse for circles */
@keyframes glowPulse{
  0%,100%{box-shadow:0 0 40px rgba(38,63,164,.2),0 0 80px rgba(38,63,164,.1)}
  50%{box-shadow:0 0 60px rgba(38,63,164,.4),0 0 120px rgba(38,63,164,.2)}
}
.glow-pulse{animation:glowPulse 3s ease-in-out infinite}

/* ══════════════════════════════════════
   HEADER (상단GNB)
   ══════════════════════════════════════ */
.header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  transition:background .3s,box-shadow .3s;
}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:80px}
.logo{display:flex;align-items:center;text-decoration:none;flex-shrink:0}
.logo-img{height:60px;width:auto;display:block}
/* GNB Navigation */
.gnb{display:flex;align-items:center;gap:50px;}
.gnb-link{
  color:#fff;text-decoration:none;font-size:18px;font-weight:400;
  white-space:nowrap;transition:color .3s;
}

.gnb-cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 24px;background:#fff;color:#fff;border-radius:6px;
  text-decoration:none;font-weight:600;font-size:15px;
  white-space:nowrap;transition:background .2s;margin-left:8px;
  width: 223px; height: 50px; border-radius: 50px; color: #263FA4;
}


/* Hamburger (mobile) */
.hamburger{
  display:none;width:32px;height:32px;background:none;border:none;
  cursor:pointer;position:relative;padding:0;
}
.hamburger span{
  display:block;width:24px;height:2px;background:#fff;
  position:absolute;left:4px;transition:transform .3s,opacity .3s;
}
.hamburger span:nth-child(1){top:8px}
.hamburger span:nth-child(2){top:15px}
.hamburger span:nth-child(3){top:22px}
.hamburger.active span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* Mobile menu overlay */
.mob-menu{
  display:none;position:fixed;inset:0;z-index:99;
  background:rgba(0,0,0,.92);backdrop-filter:blur(10px);
  justify-content:center;align-items:center;
}
.mob-menu.open{display:flex}
.mob-nav{display:flex;flex-direction:column;align-items:center;gap:28px}
.mob-link{
  color:#fff;text-decoration:none;font-size:22px;font-weight:500;
  transition:opacity .2s;
}
.mob-link:hover{opacity:.7}
.mob-cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 36px;background:#263FA4;color:#fff;border-radius:8px;
  text-decoration:none;font-weight:700;font-size:18px;margin-top:12px;
}

/* Scrolled state: add shadow */
.header.scrolled{box-shadow:0 2px 12px rgba(0,0,0,.08); background: #1f2239;}

/* ══════════════════════════════════════
   HERO (메인비주얼)
   ══════════════════════════════════════ */
.hero{
  position:relative;width:100%;height:0;
  padding-bottom:50%; /* aspect ratio matching the image */
  overflow:hidden;
}
.hero-bg{
  position:absolute;top:0;left:0;width:100%;height:100%;
  object-fit:cover;object-position:center;display:block;
}
.hero-overlay{
  position:absolute;inset:0;height:100%;
  display:flex;align-items:center;justify-content:center;
  padding:40px;
}

/* ── Hero 버튼 그리드 ── */
.hero-btns{
  display:grid;
  grid-template-columns:repeat(10,1fr);
  gap:8px;
  max-width:1600px;width:100%;
}
.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: rgb(0 0 0 / 12%);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    line-height: 1.3;
    transition: background .2s, border-color .2s, color .2s;
    backdrop-filter: blur(38px);
    font-weight: 300;
}
.hero-btn:hover{
  background:#1d1d1d;
  border-color:#1d1d1d;
  color:#fff;
}

/* ══════════════════════════════════════
   QUICK CONSULT BAR (빠른상담 - Fixed 하단 가로바)
   ══════════════════════════════════════ */
.quick-bar{
  position:fixed;bottom:0;left:0;right:0;z-index:95;
  background:#263fa4;backdrop-filter:blur(10px);
}
.quick-bar-inner{
  max-width:1600px;margin:0 auto;padding:0 30px;
  display:flex;align-items:center;height:70px;gap:20px;
}
.qb-left{display:flex;align-items:center;gap:14px;flex-shrink:0}
.qb-logo{height:40px;width:auto}
.qb-title{font-size:32px;font-weight:700;color:#fff;white-space:nowrap}
.qb-form{display:flex;align-items:center;gap:10px;flex:1}
.qb-select,.qb-input{
  height:40px;padding:0 14px;border:none;border-radius:6px;
  background:#fff;font-family:inherit;font-size:16px;font-weight:500;color:#5B5B5B;
  outline:none;flex:1;min-width:0;
}
.qb-select{
  flex:0 0 180px;appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235B5B5B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;
}
.qb-btn{
  height:40px;padding:0 28px;border:none;border-radius:6px;
  background:#1d1d1d;color:#fff;font-family:inherit;
  font-size:17px;font-weight:400;cursor:pointer;flex-shrink:0;
  transition:background .2s;
}

.qb-agree{
  display:flex;align-items:center;gap:6px;color:#fff;font-size:15px;
  font-weight:600;cursor:pointer;flex-shrink:0;white-space:nowrap;
}
.qb-agree input[type="checkbox"]{width:14px;height:14px;accent-color:#263FA4;cursor:pointer}
.qb-agree-link{color:#a8b4e0;font-size:13px;text-decoration:none}
.qb-close{
  display:none;position:absolute;top:8px;right:12px;
  background:none;border:none;color:#fff;font-size:22px;
  line-height:1;cursor:pointer;opacity:.7;transition:opacity .2s;
  padding:0 4px;z-index:1;
}
.qb-close:hover{opacity:1}
.qb-mini{
  display:none;position:fixed;bottom:16px;right:16px;z-index:95;
  padding:12px 20px;border:none;border-radius:50px;
  background:#263fa4;color:#fff;font-family:inherit;
  font-size:14px;font-weight:500;cursor:pointer;
  box-shadow:0 4px 16px rgba(38,63,164,.4);
  transition:transform .2s,box-shadow .2s;
}
.qb-mini:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(38,63,164,.5)}
.qb-mini.visible{display:block}

/* ══════════════════════════════════════
   EXPERT SECTION (전문가 소개)
   ══════════════════════════════════════ */
.expert-section{background:#fff;overflow:hidden}
.expert-inner{position:relative;min-height:620px}

/* Heading at top-left */
.expert-heading{position:relative;z-index:2;margin-bottom:16px}
.expert-heading-blue{display:block;font-size:50px;font-weight:700;color:#263FA4;line-height:1.25}
.expert-heading-gray{display:block;font-size:50px;font-weight:300;color:#626262;line-height:1.25}
.expert-subtext{font-size:28px;line-height:1.5;margin-top:16px}
.expert-subtext strong{font-weight:700;color:#000}
.expert-subtext span{font-weight:400;color:#535353}

.deco-torus{
  position:absolute;top:-100px;right:200px; height:auto;z-index:-1; width: 38%;
}

/* Lawyer info positioned to the right */
.expert-info{
  position:absolute;right:90px; bottom: -68px;
  z-index:2;width:auto;
}
.expert-info::after{
  content:'';position:absolute;
  top:0;left:0;transform:translate(-18%,-14%);
  width:420px;height:420px;
  border-radius:50%;background:#fff;
  z-index:-1;pointer-events:none;
}
.expert-intro-label{font-size:16px;font-weight:400;color:#000;margin-bottom:6px}
.expert-name{margin-bottom:12px}
.name-big{font-size:64px;font-weight:700;color:#000}
.name-title{font-size:40px;font-weight:700;color:#000}
.expert-motto{font-size:22px;font-weight:500;color:#000;margin-bottom:20px}
.text-orange{color:#ff4400}
.expert-desc{margin-bottom:20px}
.expert-desc p{font-size:16px;font-weight:400;color:#373737;line-height:1.8}
.expert-career{list-style:none;display:flex;flex-direction:column;gap:3px}
.expert-career li{font-size:15px;font-weight:400;color:#656565;padding-left:0;position:relative;line-height:1.5}
.expert-career li::before{content:'';position:absolute;left:0;top:7px;width:5px;height:5px;border-radius:50%;background:#263FA4; display: none;}

/* ══════════════════════════════════════
   SERVICE SECTION (서비스 소개)
   ══════════════════════════════════════ */
.service-section{position:relative;overflow:hidden}
.service-bg-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.service-inner{position:relative;z-index:1;display:flex;gap:50px;align-items:center}
.service-left{flex:1;min-width:0}
.service-right{flex:0 0 400px;display:flex;align-items:center;justify-content:center}

.service-title{font-size:52px;line-height:1.25;margin-bottom:14px}
.service-title-bold{font-weight:700;color:#263fa4}
.service-title-light{font-weight:300;color:#263fa4}
.service-subtitle{font-size:35px;font-weight:500;color:#000;margin-bottom:26px}
.service-desc{margin-bottom:28px}
.service-desc p{font-size:16px;font-weight:500;color:#444b6b;line-height:1.8}
.service-features{margin-bottom:28px}
.service-features-title{font-size:24px;font-weight:700;color:#263fa4;margin-bottom:10px}
.service-features-list{list-style:none;display:flex;flex-direction:column;gap:7px}
.service-features-list li{font-size:16px;font-weight:500;color:#464a5b;padding-left:16px;position:relative;line-height:1.6}
.service-features-list li::before{content:'';position:absolute;left:0;top:9px;width:6px;height:6px;border-radius:50%;background:#263fa4}
.service-trust{margin-bottom:28px}
.service-trust p{font-size:18px;font-weight:500;color:#2f3b6c;line-height:1.7}
.btn-cta{
  display:inline-flex;align-items:center;justify-content:center;
  padding:14px 36px;background:#263FA4;color:#fff;
  border-radius:8px;text-decoration:none;font-size:18px;font-weight:700;
  transition:background .2s,transform .2s;
}
.btn-cta:hover{background:#1e3490;transform:translateY(-2px)}
.service-bottom-text{margin-top:22px;font-size:24px;font-weight:400;color:#000;line-height:1.5}
.service-bottom-text strong{font-weight:700}

/* White circle decoration (right side) */
.service-circle{
  width:380px;height:380px;border-radius:50%;
  background:rgba(255,255,255,0.85);
  box-shadow:0 0 80px rgba(255,255,255,0.6);
}

/* ══════════════════════════════════════
   PLATFORM SECTION (형사소송 전문 AI플랫폼)
   ══════════════════════════════════════ */
.platform-section{background:#f3f4f6}

.platform-header{display:flex;gap:40px;align-items:flex-start;margin-bottom:50px}
.platform-header-left{flex:0 0 50%}
.platform-header-right{flex:1;padding-top:20px}
.platform-label{font-size:35px;font-weight:300;color:#122262;margin-bottom:8px}
.platform-title{font-size:52px;font-weight:700;color:#122262;line-height:1.2}
.platform-sub-bold{font-size:24px;font-weight:700;color:#263fa4;margin-bottom:6px}
.platform-sub-regular{font-size:24px;font-weight:400;color:#263fa4}

.platform-body{display:flex;gap:40px;align-items:flex-start}
.platform-image{flex:0 0 50%}
.platform-placeholder{
  width:100%;padding-bottom:72%;border-radius:20px;
  background:#d8dae0;
}
.platform-features-col{flex:1}
.platform-features-title{font-size:40px;font-weight:800;color:#263fa4;line-height:1.3;margin-bottom:30px}
.platform-features{display:flex;flex-direction:column;gap:24px;margin-bottom:32px}
.platform-feature h4{font-size:22px;font-weight:600;color:#000;margin-bottom:5px;line-height:1.4}
.platform-feature p{font-size:18px;font-weight:400;color:#575757;line-height:1.6}
.platform-cta{background:#263FA4}
.platform-bottom-text{margin-top:24px;font-size:24px;font-weight:400;color:#000;line-height:1.5}
.platform-bottom-text strong{font-weight:700}

/* ══════════════════════════════════════
   REVIEW SECTION (사용후기)
   ══════════════════════════════════════ */
.review-section{background:#fff;padding-bottom:80px}
.review-label{font-size:20px;font-weight:400;color:#000;margin-bottom:4px;text-align:center}
.review-title{font-size:60px;font-weight:700;color:#122262;margin-bottom:50px;text-align:center}

.review-carousel-wrap{overflow:hidden;padding:20px 0 40px}
.review-carousel{
  display:flex;gap:24px;
  width:max-content;
}
.review-card{
  flex:0 0 280px;padding:28px 24px;border-radius:16px;
  background:#fff;box-shadow:0 4px 24px rgba(0,0,0,.08);
  display:flex;flex-direction:column;min-height:260px;
  transition:transform .3s;
}
/* Staggered vertical offset: odd cards lower, even cards higher */
.review-card:nth-child(odd){transform:translateY(30px)}
.review-card:nth-child(even){transform:translateY(-15px)}

/* Highlighted center card (yellow) */
.review-card--highlight{
  background:#EDBA1D;color:#fff;
  box-shadow:0 8px 32px rgba(237,186,29,.3);
  transform:translateY(10px) !important;
}
.review-card--highlight .review-tag{background:rgba(255,255,255,.25);color:#fff}
.review-card--highlight .review-body{color:#fff}
.review-card--highlight .review-author{color:#fff}
.review-card--highlight .review-date{color:rgba(255,255,255,.8)}
.review-card--highlight .review-meta{border-top-color:rgba(255,255,255,.3)}

/* Dark card */
.review-card--dark{
  background:#122262;color:#fff;
  box-shadow:0 4px 24px rgba(18,34,98,.2);
}
.review-card--dark .review-tag{background:rgba(255,255,255,.15);color:#fff}
.review-card--dark .review-body{color:#fff}
.review-card--dark .review-author{color:#fff}
.review-card--dark .review-date{color:rgba(255,255,255,.7)}
.review-card--dark .review-meta{border-top-color:rgba(255,255,255,.2)}

.review-tag{
  display:inline-block;padding:10px 15px;background:#f0f2f8;border-radius:20px;
  font-size:15px;font-weight:400;color:#696262;margin-bottom:16px;align-self:flex-start;
}
.review-body{font-size:17px;font-weight:500;color:#1d1d1d;line-height:1.6;flex:1;margin-bottom:16px}
.review-meta{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eee;padding-top:14px}
.review-author{font-size:17px;font-weight:500;color:#3f3f3f}
.review-date{font-size:15px;font-weight:400;color:#676767}

/* ══════════════════════════════════════
   BANNER SECTION (배너)
   ══════════════════════════════════════ */
.banner-section{
  background:linear-gradient(135deg,#0c1138 0%,#122262 50%,#0e1640 100%);
  padding:70px 0;
  overflow: hidden;
}
.banner-inner{
  display:flex;align-items:center;justify-content:center;gap:60px;
}
.banner-text-left,.banner-text-right{
  font-size:34px;font-weight:600;color:rgba(255,255,255,.8);white-space:nowrap;
}
.banner-logo{flex-shrink:0}
.banner-logo img{height:60px;width:auto;display:block}

/* ══════════════════════════════════════
   CONTACT SECTION (문의하기)
   ══════════════════════════════════════ */
.contact-section{background:#fff url(../../main_img/contact-deco.png) no-repeat; background-size: contain; background-position: left bottom;}
.contact-inner{display:flex;gap:60px;align-items:flex-start}
.contact-left{flex:0 0 40%;position:relative;min-height:400px}
.contact-right{flex:1}
.contact-title{
  font-size:52px;font-weight:700;color:#122262;line-height:1.2;
  margin-bottom:20px;position:relative;z-index:1;
}
.contact-desc{
  font-size:20px;font-weight:400;color:#000;line-height:1.7;
  position:relative;z-index:1;
}
.contact-form{display:flex;flex-direction:column;gap:18px}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.contact-field{display:flex;flex-direction:column;gap:10px}
.contact-label{font-size:20px;font-weight:600;color:#000}
.required{color:#ff2424}
.contact-input,.contact-textarea{
  width:100%;padding:13px 16px;border:1px solid #ddd;border-radius:8px;
  font-family:inherit;font-size:17px;font-weight:500;color:#222;
  background:#fff;outline:none;transition:border-color .2s;
}
.contact-input::placeholder,.contact-textarea::placeholder{color:#8c8b8b;font-weight:500}
.contact-input:focus,.contact-textarea:focus{border-color:#263FA4}
.contact-textarea{resize:vertical;min-height:130px}
.contact-agree{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:17px;font-weight:500;color:#000}
.contact-agree input[type="checkbox"]{width:17px;height:17px;accent-color:#263FA4;cursor:pointer}
.contact-agree-link{color:#8B8080;font-size:12px;font-weight:500;text-decoration:none;margin-left:6px}
.contact-btn{
  width:100%;padding:18px 0;border:none;border-radius:8px;
  background:#263FA4;color:#fff;font-family:inherit;
  font-size:26px;font-weight:700;cursor:pointer;
  transition:background .2s;
}
.contact-btn:hover{background:#1e3490}

/* ══════════════════════════════════════
   FOOTER (푸터)
   ══════════════════════════════════════ */
.footer{background:#f5f5f5;padding:36px 0}
.footer .inner{font-size:20px;font-weight:400;color:#797373}

/* ══════════════════════════════════════
   PRIVACY MODAL (개인정보동의 전문보기)
   ══════════════════════════════════════ */
.privacy-modal-overlay{
  display:none;position:fixed;inset:0;z-index:200;
  background:rgba(0,0,0,.55);backdrop-filter:blur(4px);
  justify-content:center;align-items:center;padding:20px;
}
.privacy-modal-overlay.open{display:flex}
.privacy-modal{
  background:#fff;border-radius:16px;width:100%;max-width:640px;
  max-height:85vh;display:flex;flex-direction:column;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
  animation:modalSlideUp .3s ease-out;
}
@keyframes modalSlideUp{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}
.privacy-modal-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:24px 28px 18px;border-bottom:1px solid #eee;flex-shrink:0;
}
.privacy-modal-title{font-size:22px;font-weight:700;color:#122262}
.privacy-modal-close{
  background:none;border:none;font-size:28px;color:#999;
  cursor:pointer;line-height:1;padding:0 4px;transition:color .2s;
}
.privacy-modal-close:hover{color:#333}
.privacy-modal-body{
  padding:24px 28px;overflow-y:auto;flex:1;
  font-size:15px;line-height:1.8;color:#333;
}
.privacy-modal-body .privacy-intro{
  font-size:15px;color:#444;margin-bottom:20px;padding-bottom:16px;
  border-bottom:1px solid #f0f0f0;
}
.privacy-modal-body h4{
  font-size:16px;font-weight:700;color:#263FA4;margin:20px 0 8px;
}
.privacy-modal-body h4:first-of-type{margin-top:0}
.privacy-modal-body ul{
  list-style:none;padding:0;margin:0 0 8px;
}
.privacy-modal-body ul li{
  position:relative;padding-left:14px;margin-bottom:4px;font-size:14px;color:#555;
}
.privacy-modal-body ul li::before{
  content:'';position:absolute;left:0;top:9px;
  width:5px;height:5px;border-radius:50%;background:#263FA4;
}
.privacy-modal-body p{margin-bottom:8px}
.privacy-modal-body .privacy-notice{
  margin-top:20px;padding:14px 16px;background:#f7f8fb;border-radius:8px;
  font-size:13px;color:#666;border-left:3px solid #263FA4;
}
.privacy-modal-footer{
  padding:16px 28px 20px;border-top:1px solid #eee;
  display:flex;justify-content:center;flex-shrink:0;
}
.privacy-modal-btn{
  padding:12px 60px;border:none;border-radius:8px;
  background:#263FA4;color:#fff;font-family:inherit;
  font-size:17px;font-weight:600;cursor:pointer;transition:background .2s;
}
.privacy-modal-btn:hover{background:#1e3490}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

/* ── 1400px : 약 85-90% 축소 ── */
@media(max-width:1400px){
  .gnb{gap:20px}
  .gnb-link{font-size:14px}

  .hero-btns{grid-template-columns:repeat(8,1fr);gap:7px}
  .hero-btn{font-size:12px;padding:9px 4px}

  .qb-title{font-size:24px}

  .expert-heading-blue,.expert-heading-gray{font-size:44px}
  .expert-subtext,.expert-subtext strong,.expert-subtext span{font-size:24px}
  .expert-info{right:40px}
  .expert-info::after{width:380px;height:380px}
  .name-big{font-size:56px}
  .name-title{font-size:36px}
  .expert-motto{font-size:20px}

  .service-title{font-size:46px}
  .service-subtitle{font-size:30px}
  .service-right{flex:0 0 320px}
  .service-circle{width:300px;height:300px}
  .service-bottom-text{font-size:22px}

  .platform-title{font-size:46px}
  .platform-label{font-size:30px}
  .platform-features-title{font-size:34px}
  .platform-sub-bold,.platform-sub-regular{font-size:22px}
  .platform-bottom-text{font-size:22px}

  .review-title{font-size:50px}
  .review-label{font-size:18px}

  .banner-text-left,.banner-text-right{font-size:28px}

  .contact-title{font-size:46px}
  .contact-desc{font-size:18px}
  .contact-label{font-size:18px}
  .contact-btn{font-size:24px}

  .footer .inner{font-size:18px}
}


@media(max-width:1300px){
.qb-form{flex-wrap: wrap}
}

/* ── 1024px : 태블릿 ── */
@media(max-width:1024px){
  .inner{padding:0 24px}
  .section{padding:60px 0}
  .contact-right{margin: 0 auto;}

  .gnb{display:none}
  .hamburger{display:block}


  .hero-btns{margin-top: 75px;}
  .hero{padding-bottom: 0 !important; height: auto !important;}
  .hero-overlay{position:relative !important;}


  .hero-overlay{padding:24px}
  .hero-btns{grid-template-columns:repeat(5,1fr);gap:6px}
  .hero-btn{font-size:11px;padding:8px 4px}

  /* Quick bar stacks */
  .qb-close{display:block}
  .quick-bar{position:fixed}
  .quick-bar-inner{
    flex-wrap:wrap;height:auto;padding:14px 20px;gap:10px;
  }
  .qb-title{font-size:20px}
  .qb-form{flex-wrap:wrap;gap:8px}
  .qb-select{flex:0 0 100%}
  .qb-input{flex:1 1 120px}
  .qb-agree{width:100%;justify-content:center;font-size:13px}
  body{padding-bottom:160px}

  .expert-section{overflow:hidden;}
  .expert-inner{min-height:auto;display:flex;flex-direction:column}
  .expert-heading-blue,.expert-heading-gray{font-size:36px}
  .expert-subtext,.expert-subtext strong,.expert-subtext span{font-size:20px}
  .deco-torus{top:-60px;right:153px;width:40%; display: none;}
  .expert-info{
    position:relative;right:auto;bottom:auto;
    width:100%;background:none;border-radius:0;
    margin-top:20px;text-align:center;order:5;
  }
  .expert-info::after{display:none}
  .expert-intro-label{font-size:15px}
  .name-big{font-size:46px}
  .name-title{font-size:28px}
  .expert-motto{font-size:18px}
  .expert-desc p{font-size:15px}
  .expert-career li{font-size:13px}
  .expert-career{align-items:center}

  .service-inner{flex-direction:column}
  .service-right{flex:none;width:100%;justify-content:center}
  .service-circle{width:260px;height:260px}
  .service-title{font-size:36px}
  .service-subtitle{font-size:24px}
  .service-desc p{font-size:15px}
  .service-features-title{font-size:20px}
  .service-features-list li{font-size:15px}
  .service-trust p{font-size:16px}
  .service-bottom-text{font-size:20px}
  .btn-cta{font-size:16px;padding:12px 28px}

  .platform-header{flex-direction:column;gap:20px}
  .platform-header-left{flex:none;width:100%}
  .platform-body{flex-direction:column}
  .platform-image{flex:none;width:100%}
  .platform-title{font-size:36px}
  .platform-label{font-size:24px}
  .platform-features-title{font-size:26px}
  .platform-sub-bold,.platform-sub-regular{font-size:20px}
  .platform-feature h4{font-size:20px}
  .platform-feature p{font-size:16px}
  .platform-bottom-text{font-size:20px}

  .review-title{font-size:36px}
  .review-label{font-size:16px}
  .review-card{flex:0 0 260px}
  .review-body{font-size:16px}
  .review-tag{font-size:14px}

  .banner-inner{flex-direction:column;gap:20px;text-align:center}
  .banner-text-left,.banner-text-right{font-size:22px}
  .banner-logo img{height:50px}

  .contact-section{background-size:auto 60%;background-position:left bottom}
  .contact-inner{flex-direction:column;gap:30px}
  .contact-left{flex:none;width:100%;min-height:auto}
  .contact-title{font-size:34px}
  .contact-desc{font-size:17px}
  .contact-label{font-size:18px}
  .contact-input,.contact-textarea{font-size:16px}
  .contact-agree{font-size:15px}
  .contact-btn{font-size:22px}

  .footer .inner{font-size:17px}
}

/* ── 640px : 모바일 ── */
@media(max-width:640px){
  .header-inner{height:64px}
  .logo-img{height:32px}
  .inner{padding:0 16px}
  .section{padding:44px 0}

  .hero{height:auto;min-height:60vh;padding-bottom:0}
  .hero-overlay{padding:16px 12px}
  .hero-btns{grid-template-columns:repeat(3,1fr);gap:5px}
  .hero-btn{font-size:10px;padding:7px 3px;border-radius:6px}

  .quick-bar-inner{padding:12px 16px}
  .qb-title{font-size:16px}
  .qb-select,.qb-input{font-size:14px}
  .qb-btn{font-size:14px;padding:0 20px}
  .qb-input{flex:0 0 100%}
  body{padding-bottom:200px}


  .expert-heading-blue,.expert-heading-gray{font-size:24px}
  .expert-subtext,.expert-subtext strong,.expert-subtext span{font-size:15px}
  .deco-torus{top:-40px;right:20px;width:35%; display: none;}
  .expert-intro-label{font-size:13px}
  .name-big{font-size:32px}
  .name-title{font-size:20px}
  .expert-motto{font-size:14px}
  .expert-desc p{font-size:13px}
  .expert-career li{font-size:12px}

  .service-title{font-size:24px}
  .service-subtitle{font-size:18px}
  .service-circle{width:200px;height:200px}
  .service-desc p{font-size:14px}
  .service-features-title{font-size:17px}
  .service-features-list li{font-size:14px}
  .service-trust p{font-size:14px}
  .service-bottom-text{font-size:16px}
  .btn-cta{font-size:15px;padding:12px 24px}

  .platform-title{font-size:24px}
  .platform-label{font-size:18px}
  .platform-sub-bold,.platform-sub-regular{font-size:15px}
  .platform-features-title{font-size:20px}
  .platform-feature h4{font-size:16px}
  .platform-feature p{font-size:14px}
  .platform-bottom-text{font-size:16px}

  .review-title{font-size:26px}
  .review-label{font-size:14px}
  .review-card{flex:0 0 240px;min-height:220px;padding:20px 18px}
  .review-tag{font-size:13px;padding:8px 12px}
  .review-body{font-size:15px}
  .review-author{font-size:15px}
  .review-date{font-size:13px}

  .banner-section{padding:40px 0}
  .banner-text-left,.banner-text-right{font-size:17px}
  .banner-logo img{height:40px}

  .contact-section{background-image:none}
  .contact-title{font-size:24px}
  .contact-desc{font-size:14px}
  .contact-grid{grid-template-columns:1fr}
  .contact-label{font-size:15px}
  .contact-input,.contact-textarea{font-size:14px}
  .contact-agree{font-size:14px}
  .contact-agree-link{font-size:11px}
  .contact-btn{font-size:18px;padding:14px 0}

  .footer .inner{font-size:14px}

  .mob-link{font-size:20px}
  .mob-cta{font-size:16px;padding:12px 28px}

  .privacy-modal-overlay{padding:10px}
  .privacy-modal{max-height:90vh}
  .privacy-modal-header{padding:18px 20px 14px}
  .privacy-modal-title{font-size:18px}
  .privacy-modal-body{padding:18px 20px;font-size:14px}
  .privacy-modal-body h4{font-size:15px}
  .privacy-modal-body ul li{font-size:13px}
  .privacy-modal-footer{padding:14px 20px 16px}
  .privacy-modal-btn{padding:10px 40px;font-size:15px}
}
