/* ===== Reset & Base ===== */
*{margin:0;padding:0;box-sizing:border-box}
body{
  font-family:'Arial','Malgun Gothic',sans-serif;
  line-height:1.6; color:#333;
  background:#1e40af;  /* 원래대로 파란색 */
}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ===== Header ===== */

header{
  background:
    linear-gradient(135deg, rgba(30,64,175,.4), rgba(59,130,246,.4)),
    url('/wp-content/uploads/2025/09/pexels-fu-zhichao-176355-593840-scaled.jpg');
  background-size:cover; 
  background-position:center 120%;
  background-attachment:fixed;
  color:#fff; 
   padding:20px 0; /* 이거 유지 */
  min-height:170px;  /* 고정 높이 추가 */
  display:flex;
  align-items:center;  /* 내용 세로 중앙 정렬 */
  position:relative; 
  overflow:hidden;
}
@media (max-width:1024px){ header{ background-attachment:scroll } }

.header-content{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:2}
.logo-section{display:flex;align-items:center;gap:15px}
.logo-icon{width:60px;height:60px;background:rgba(255,255,255,0);border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem;backdrop-filter:blur(10px)}
.logo-icon img{width:100%;height:100%;object-fit:contain}
.logo-text{display:flex;flex-direction:column}
.logo-main{font-size:1.8rem;font-weight:bold;letter-spacing:-.5px}
.logo-sub{font-size:1.2rem;color:#e0f2fe;font-weight:300;word-break:keep-all;line-height:1.25}

.contact-info{text-align:right}
.contact-question{font-size:1.1rem;color:#fbbf24;margin-bottom:5px;font-weight:500}
.phone-number{font-size:1.8rem;font-weight:bold;color:#fff;text-decoration:none}
.phone-number:hover{color:#fbbf24}

/* ===== Language Switch ===== */
.lang-switch{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.lang-btn{
  display:inline-block;padding:6px 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.75);color:#fff;text-decoration:none;
  font-size:.92rem;backdrop-filter:blur(6px)
}
.lang-btn:hover{background:#fff;color:#1e293b;border-color:#fff}
.lang-btn.active{background:#fbbf24;color:#1e293b;border-color:#fbbf24}

/* ===== Hero ===== */
.hero{
  background:linear-gradient(135deg, rgba(30,64,175,.95), rgba(59,130,246,.95)),
    url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDgwIiB2aWV3Qm94PSIwIDAgMTkyMCAxMDgwIiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cmVjdCB3aWR0aD0iMTkyMCIgaGVpZ2h0PSIxMDgwIiBmaWxsPSIjZjhmOWZhIi8+CjxwYXRoIGQ9Ik0wIDU0MEwxOTIwIDAgVjEwODBIMFY1NDBaIiBmaWxsPSIjZWNmMGYxIiBmaWxsLW9wYWNpdHk9IjAuMyIvPgo8L3N2Zz4K');
  background-size:cover;background-position:center;
  color:#fff;text-align:center;padding:80px 0;min-height:600px;display:flex;align-items:center
}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;min-height:500px}
.hero-content{width:100%}
.hero-badge{
  display:inline-block;background:rgba(251,191,36,.2);border:2px solid #fbbf24;color:#fbbf24;
  padding:8px 20px;border-radius:25px;font-size:.9rem;font-weight:600;margin-bottom:30px
}
.hero-title{font-size:2.8rem;font-weight:bold;margin-bottom:30px;text-shadow:2px 2px 4px rgba(0,0,0,.3);line-height:1.3;word-break:keep-all}
.service-features{display:flex;justify-content:center;gap:20px;margin:40px 0;flex-wrap:wrap}
.service-feature{background:rgba(255,255,255,.1);padding:12px 25px;border-radius:25px;font-size:1rem;font-weight:500;backdrop-filter:blur(10px)}

/* ===== Service Categories ===== */
.service-categories{padding:80px 0;background:#fff}
.section-eyebrow{
  display:block;width:100%;font-size:1.15rem;color:rgba(30,41,59,.7);
  letter-spacing:.02em;text-align:center !important;margin:0 auto 12px !important
}
.section-title{
  text-align:center;font-size:clamp(2.2rem,3.2vw,3rem);font-weight:800;line-height:1.18;margin-bottom:32px;
  color:#1e293b;word-break:keep-all;white-space:normal;line-break:loose
}
.section-subtitle{
  text-align:center;font-size:1.2rem;color:#64748b;margin-bottom:60px;max-width:600px;margin-left:auto;margin-right:auto;
  word-break:keep-all;white-space:normal;line-break:loose
}
.categories-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:60px}
.category-card{padding:40px 30px;border-radius:20px;text-align:center;transition:all .4s ease;position:relative;overflow:hidden;color:#fff;box-shadow:0 15px 35px rgba(0,0,0,.2);border:none}
.category-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#fbbf24,#f59e0b);transform:scaleX(0);transition:transform .3s ease}
.category-card:hover::before{transform:scaleX(1)}
.category-card:hover{transform:translateY(-10px);box-shadow:0 25px 50px rgba(0,0,0,.25)}
.category-icon{font-size:3.5rem;margin-bottom:20px;color:#fbbf24;text-shadow:2px 2px 4px rgba(0,0,0,.7)}
.category-title{font-size:1.6rem;font-weight:bold;margin-bottom:15px;color:#fff;text-shadow:2px 2px 4px rgba(0,0,0,.5);word-break:keep-all;white-space:normal;line-break:loose}
.category-subtitle{font-size:1rem;color:#e0f2fe;margin-bottom:15px;font-weight:500;text-shadow:1px 1px 2px rgba(0,0,0,.5)}
.category-description{color:#f1f5f9;line-height:1.8;font-size:1rem;text-shadow:1px 1px 2px rgba(0,0,0,.5);word-break:keep-all;white-space:normal;line-break:loose}

/* ===== Features ===== */
.features{padding:80px 0;background:linear-gradient(135deg,#f1f5f9,#e2e8f0)}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:40px}
.feature-card{background:#fff;padding:40px 30px;border-radius:20px;text-align:center;transition:all .3s;box-shadow:0 5px 15px rgba(0,0,0,.08)}
.feature-card:hover{transform:translateY(-10px);box-shadow:0 20px 40px rgba(0,0,0,.15)}
.feature-icon{font-size:3rem;margin-bottom:20px;color:#1e40af}
.feature-title{font-size:1.4rem;font-weight:bold;margin-bottom:15px;color:#1e293b;word-break:keep-all}
.feature-description{color:#64748b;line-height:1.8;word-break:keep-all}

/* ===== Special Services ===== */
.special-services{padding:60px 0;background:linear-gradient(135deg,#1e40af,#3b82f6);color:#fff;text-align:center}
.special-services .section-title{color:#fff}
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:40px;margin-bottom:40px}
.service-item{background:rgba(255,255,255,.1);backdrop-filter:blur(10px);border-radius:20px;padding:30px;border:1px solid rgba(255,255,255,.2);transition:all .3s ease}
.service-item:hover{background:rgba(255,255,255,.15);transform:translateY(-5px)}
.service-number{font-size:2rem;font-weight:800;color:#fbbf24;margin-bottom:15px}
.service-description{font-size:1.1rem;opacity:.9;line-height:1.6;margin-bottom:25px}
.service-button{
  background:#fbbf24;color:#1e40af;padding:12px 30px;border-radius:50px;text-decoration:none;font-size:1rem;font-weight:bold;
  display:inline-block;transition:all .3s ease;box-shadow:0 4px 15px rgba(251,191,36,.3)
}
.service-button:hover{background:#f59e0b;transform:translateY(-2px);box-shadow:0 6px 20px rgba(251,191,36,.4)}

/* ===== Visual + QR ===== */
.visual-section{padding:80px 0;background:#fff}
.visual-content{display:grid;grid-template-columns:2fr 1fr;gap:60px;align-items:center}
.visual-text{text-align:left}
.visual-title{font-size:2.2rem;font-weight:bold;margin-bottom:20px;color:#1e293b}
.visual-description{font-size:1.1rem;color:#64748b;line-height:1.8;margin-bottom:30px}
.visual-features{display:flex;flex-direction:column;gap:15px}
.visual-feature{display:flex;align-items:center;gap:10px;font-size:1rem;color:#374151}
.visual-feature .check{color:#10b981;font-weight:bold}

.qr-section{text-align:center}
.qr-placeholder{
  width:180px;height:180px;background:linear-gradient(135deg,#1e40af,#3b82f6);
  margin:0 auto 20px;border-radius:20px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem;text-align:center;
  box-shadow:0 10px 30px rgba(30,64,175,.3)
}
.qr-text{font-size:.9rem;color:#64748b;text-align:center}

/* ===== CTA ===== */
.cta-section{padding:80px 0;background:linear-gradient(135deg,#1e293b,#334155);color:#fff;text-align:center}
.cta-title{font-size:2.5rem;font-weight:bold;margin-bottom:20px}
.cta-description{font-size:1.2rem;margin-bottom:40px;opacity:.9;max-width:600px;margin-left:auto;margin-right:auto}
.cta-buttons{display:flex;justify-content:center;gap:20px;flex-wrap:wrap}
.cta-btn{padding:15px 40px;border-radius:50px;font-size:1.1rem;font-weight:600;text-decoration:none;transition:all .3s;display:inline-block}
.cta-btn-primary{background:#fbbf24;color:#1e293b}
.cta-btn-primary:hover{background:#f59e0b;transform:translateY(-3px);box-shadow:0 10px 25px rgba(251,191,36,.3)}
.cta-btn-secondary{background:transparent;color:#fff;border:2px solid #fff}
.cta-btn-secondary:hover{background:#fff;color:#1e293b}

/* ===== Contact ===== */
.contact{padding:80px 0;background:#0f172a;color:#fff}
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:40px}
.contact-card{
  background:rgba(255,255,255,.1);padding:30px 25px;border-radius:15px;text-align:center;backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.2);transition:all .3s
}
.contact-card:hover{transform:translateY(-5px);background:rgba(255,255,255,.15)}
.contact-icon{font-size:2.5rem;margin-bottom:15px;color:#fbbf24}
.contact-card p{margin-bottom:8px;color:#e2e8f0}
.contact-card a{color:#e2e8f0;text-decoration:none;transition:color .3s}
.contact-card a:hover{color:#fbbf24}

/* ===== Footer ===== */
footer{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#121828;color:#8A94A4;flex-wrap:wrap;gap:12px}
.footer-links{display:flex;gap:16px}
.footer-links a{color:#8A94A4;text-decoration:none}
.footer-links a:hover{color:#fbbf24}

/* ===== Top Contact Buttons ===== */
.top-contact{
  display:flex;gap:10px !important;align-items:center;justify-content:flex-end;
  margin-left:auto;flex-shrink:0;flex-wrap:nowrap;white-space:nowrap;
}
.btn-contact{
  display:inline-flex;align-items:center;gap:5px;
  padding:8px 12px;border-radius:999px;font-weight:700;text-decoration:none;
  border:1px solid #1e40af;background:#1e40af;color:#fff;line-height:1;flex-shrink:0;white-space:nowrap
}
.btn-contact .i{font-size:1.5em;display:inline-block;line-height:1}
.btn-contact.btn-outline{background:#fff;color:#1e40af}

/* ===== Utilities ===== */
.pc-only{display:none}
html,body{overflow-x:hidden}
img,video,canvas{max-width:100%;height:auto;display:block}

/* ===== Responsive ===== */
@media (max-width:768px){
  .hero-grid{grid-template-columns:1fr !important;gap:28px;min-height:auto}
  .hero-title{font-size:clamp(22px,6vw,28px);line-height:1.25;letter-spacing:-.02em}
  .section-title{font-size:clamp(22px,6vw,28px);line-height:1.3;letter-spacing:-.02em}
  .logo-sub{font-size:.95rem}
  .categories-grid{grid-template-columns:1fr;gap:20px}
  .services-grid{grid-template-columns:1fr;gap:20px}
  .service-item{padding:20px}
  .visual-content{grid-template-columns:1fr;gap:40px;text-align:center}
  .header-content{flex-direction:column;flex-wrap:wrap;gap:20px;text-align:center}
  .logo-section,.contact-info{width:100%;justify-content:center;text-align:center}
  .cta-buttons{flex-direction:column;align-items:center}
  footer{justify-content:center}
  .copyright{text-align:center;width:100%}

  .hero div[style*="backdrop-filter"][style*="rgba(255,255,255"]{
    transform:scale(.86);transform-origin:center;
    padding:12px 14px !important;border-radius:12px !important;max-width:88% !important;
    box-shadow:0 6px 16px rgba(0,0,0,.18) !important
  }
  .hero div[style*="backdrop-filter"][style*="rgba(255,255,255"] > div:first-child{
    font-size:clamp(18px,5.6vw,22px) !important;line-height:1.2 !important;margin-bottom:6px !important
  }
  .hero div[style*="backdrop-filter"][style*="rgba(255,255,255"] > div:nth-child(2){
    font-size:clamp(12px,4.2vw,15px) !important;line-height:1.35 !important;margin-bottom:8px !important
  }
}
@media (max-width:640px){
  .section-eyebrow{font-size:1.05rem}
  .section-title{font-size:2.2rem}
  .top-contact{gap:8px !important;justify-content:center;width:100%;margin-left:0}
  .btn-contact{padding:7px 10px;font-weight:600}
  .btn-contact .i{font-size:1.2em}
}
@media (min-width:768px){ .pc-only{display:inline} }
@media (min-width:1280px){ .section-title{font-size:3.2rem} }

/* ===== Responsive ===== */
@media (max-width:768px){
  /* 로고 크기 고정 */
  .logo-icon{width:50px !important;height:50px !important}
  .logo-main{font-size:1.4rem !important}
  
  /* Contact 중앙 정렬 */
  .contact-info{text-align:center}
  
  /* Language Switch */
  .lang-switch{margin:8px 0}
  
  /* 기존 코드들 */
  .hero-grid{grid-template-columns:1fr !important;gap:28px;min-height:auto}
  .hero-title{font-size:clamp(22px,6vw,28px);line-height:1.25;letter-spacing:-.02em}
  .section-title{font-size:clamp(22px,6vw,28px);line-height:1.3;letter-spacing:-.02em}
  /* ... 나머지 ... */
}

/* === Logo size hard lock (언어/레이아웃 무관 동일 크기) === */
.logo-icon{
  width:56px !important;
  height:56px !important;
  flex:0 0 56px !important;   /* 늘어나거나 줄지 않도록 고정 */
  align-self:center !important;
}
.logo-icon img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  display:block !important;   /* 이미지 주변 여백/줄바꿈 제거 */
}

/* 모바일 전용 크기(원하는 값으로 조정 가능) */
@media (max-width:768px){
  .logo-icon{
    width:50px !important;
    height:50px !important;
    flex-basis:50px !important;
  }
}

/* 여기부터 */
