/*
Theme Name: 공주창호
Theme URI: https://example.com
Author: Claude
Author URI: https://claude.ai
Description: 공주창호 전용 워드프레스 테마. 시공 갤러리, 견적 문의, 회사 소개 등 창호 업체에 최적화된 기능을 제공합니다.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: changho-theme
Tags: business, portfolio, responsive-layout, custom-menu, custom-logo
*/

/* =====================================================
   CSS VARIABLES
===================================================== */
:root {
  --color-primary: #1a3a5c;
  --color-primary-dark: #0f2340;
  --color-accent: #e8841a;
  --color-accent-light: #f5a94e;
  --color-bg: #f8f7f4;
  --color-bg-alt: #ffffff;
  --color-text: #2c2c2c;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #e0ddd6;
  --color-dark: #111827;

  --font-heading: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --font-body: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --font-display: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
  --transition: 0.3s ease;

  --header-height: 80px;
  --container-max: 1280px;
  --section-pad: 100px;
}

/* =====================================================
   RESET & BASE
===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}

h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 500; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 600; }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

p:last-child { margin-bottom: 0; }

/* =====================================================
   LAYOUT
===================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* =====================================================
   HEADER
===================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* PC 로고: 44px 고정. WP 인라인 속성을 !important로 덮어씀 */
.site-logo .custom-logo-link img.custom-logo,
.site-logo img {
  display: block !important;
  height: 44px !important;
  width: auto !important;
  max-width: 220px !important;
  max-height: 44px !important;
  object-fit: contain;
}

.site-logo figure {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.logo-text-link {
  text-decoration: none;
}

/* 모바일 우측 그룹: 기본 숨김 */
.mobile-right {
  display: none;
}

/* 모바일 전용 전화번호: 기본 숨김 */
.header-tel-mobile {
  display: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.65rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav > ul > li {
  position: relative;
}

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: var(--header-height);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.current-menu-item > a,
.main-nav > ul > li.current-menu-ancestor > a {
  color: var(--color-accent);
}

.main-nav > ul > li > a:hover::after,
.main-nav > ul > li.current-menu-item > a::after,
.main-nav > ul > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border-top: 3px solid var(--color-accent);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}

.main-nav .menu-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu li a {
  display: block;
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition);
}

.main-nav .sub-menu li:last-child a {
  border-bottom: none;
}

.main-nav .sub-menu li a:hover {
  background: var(--color-bg);
  color: var(--color-accent);
  padding-left: 28px;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-tel {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  transition: color var(--transition);
  white-space: nowrap;
}

.header-tel:hover {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
  background: var(--color-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f2340 0%, #1a3a5c 50%, #1e4976 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.04)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  z-index: 1;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,25,47,0.9) 0%, rgba(10,25,47,0.5) 60%, rgba(10,25,47,0.2) 100%);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  padding: 100px 0;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 132, 26, 0.15);
  border: 1px solid rgba(232, 132, 26, 0.4);
  color: var(--color-accent-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--color-accent);
  display: block;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  margin-bottom: 24px;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: var(--color-accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 132, 26, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =====================================================
   FEATURES / WHY US
===================================================== */
.features-section {
  background: var(--color-primary);
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
  transition: background var(--transition);
}

.feature-item:last-child {
  border-right: none;
}

.feature-item:hover {
  background: rgba(255,255,255,0.05);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  filter: grayscale(1) brightness(10);
  transition: border-color var(--transition);
}

.feature-item:hover .feature-icon {
  border-color: white;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* =====================================================
   SECTION HEADER
===================================================== */
.section-header {
  margin-bottom: 56px;
}

.section-header.center {
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-kicker::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.section-header.center .section-kicker::before {
  display: none;
}

.section-header.center .section-kicker::after {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
}

.section-title {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 560px;
  line-height: 1.8;
}

.section-header.center .section-desc {
  margin: 0 auto;
}

/* =====================================================
   SERVICES
===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  position: relative;
  padding-top: 62%;
  background: linear-gradient(135deg, #e8f4ff 0%, #d4e8f8 100%);
  overflow: hidden;
}

.service-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-image .category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-accent);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 2;
}

.service-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.service-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: gap var(--transition);
}

.service-card-link:hover {
  gap: 12px;
}

/* =====================================================
   PROCESS SECTION
===================================================== */
.process-section {
  background: var(--color-bg-alt);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 0;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: white;
  border: 3px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 20px;
  transition: all var(--transition);
}

.process-step:hover .step-number {
  background: var(--color-accent);
  color: white;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =====================================================
   GALLERY
===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

/* gallery-item: overflow 제거 → 제목이 잘리지 않음 */
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  cursor: pointer;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* 이미지 영역만 overflow hidden + 둥근 위쪽 모서리 */
.gallery-item .img-wrap {
  padding-top: 75%;
  position: relative;
  background: #e0e8f0;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
}

.gallery-item.featured .img-wrap {
  padding-top: 75%;
}

.gallery-item .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.35s ease;
}

/* 호버: 오버레이/그라디언트 없이 이미지 자체를 살짝 어둡게 */
.gallery-item:hover .img-wrap img {
  filter: brightness(0.82);
}

/* overlay 완전 제거 */
.gallery-item .overlay {
  display: none;
}

/* 제목: 이미지 아래 가운데 정렬, 절대 잘리지 않음 */
.gallery-item-title {
  padding: 9px 12px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
  background: white;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-radius: 0 0 5px 5px;
  border-top: 1px solid var(--color-border);
}

.gallery-item-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

.gallery-item-title a:hover {
  color: var(--color-accent);
}

/* Gallery View More */
.gallery-footer {
  text-align: center;
  margin-top: 48px;
}


/* =====================================================
   TESTIMONIALS
===================================================== */
.testimonials-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -60px;
  right: -40px;
  font-size: 400px;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  font-family: Georgia, serif;
}

.testimonials-section .section-title {
  color: white;
}

.testimonials-section .section-kicker {
  color: var(--color-accent-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--color-accent);
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.author-info .name {
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
}

.author-info .location {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}

/* =====================================================
   CONTACT / CTA BAND
===================================================== */
.cta-band {
  background: var(--color-accent);
  padding: 60px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band-text .title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: white;
  margin-bottom: 8px;
}

.cta-band-text .desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin: 0;
}

.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--color-accent);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.btn-white:hover {
  background: var(--color-primary);
  color: white;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

/* =====================================================
   CONTACT FORM
===================================================== */
.contact-section {
  background: var(--color-bg-alt);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail .content .label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-detail .content .value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  background: #d4dde8;
}

/* Form */
.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.form-title {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group .required {
  color: var(--color-accent);
  margin-left: 2px;
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(232, 132, 26, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--color-primary);
  color: white;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.04em;
}

.btn-submit:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(232, 132, 26, 0.4);
}

/* =====================================================
   NOTICE / BOARD
===================================================== */
.notice-section {
  background: var(--color-bg);
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.notice-table thead tr {
  background: var(--color-primary);
}

.notice-table thead th {
  padding: 16px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-align: left;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.notice-table tbody tr {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}

.notice-table tbody tr:last-child {
  border-bottom: none;
}

.notice-table tbody tr:hover {
  background: var(--color-bg);
}

.notice-table tbody td {
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.notice-table tbody td:nth-child(2) {
  white-space: normal;
}

.notice-table tbody td a {
  color: var(--color-text);
  font-weight: 500;
  transition: color var(--transition);
}

.notice-table tbody td a:hover {
  color: var(--color-accent);
}

.notice-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-accent);
  color: white;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  margin-right: 8px;
}

/* =====================================================
   FOOTER
===================================================== */
#site-footer {
  background: var(--color-dark);
  padding: 40px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}

.footer-brand .logo-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.02em;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: white;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-contact-item .icon {
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
}

.footer-contact-item .text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.footer-contact-item .text strong {
  display: inline;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  margin-right: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
  line-height: 1.6;
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.32);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: white;
}

/* =====================================================
   INNER PAGES
===================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: calc(var(--header-height) + 44px) 0 44px;
  text-align: center;
}

.page-hero h1 {
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: white; }
.breadcrumb span { color: var(--color-accent); }

/* About Page */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  border-radius: var(--radius-lg);
  width: 100%;
}

.about-image-wrap .badge-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: white;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.badge-overlay .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  display: block;
}

.badge-overlay .text {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

/* =====================================================
   WORDPRESS SPECIFIC
===================================================== */
.wp-pagenavi,
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.wp-pagenavi span,
.wp-pagenavi a,
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition);
}

.wp-pagenavi span.current,
.page-numbers.current {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: white;
}

.wp-pagenavi a:hover,
.page-numbers:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Gutenberg alignment */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.alignleft { float: left; margin-right: 24px; margin-bottom: 16px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 16px; }
.aligncenter { margin: 0 auto 24px; display: block; text-align: center; }

/* Entry content */
.entry-content {
  max-width: 760px;
  margin: 0 auto;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content ul, .entry-content ol {
  list-style: initial;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.entry-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 16px 24px;
  background: var(--color-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--color-text-light);
}

/* =====================================================
   MOBILE RESPONSIVE
===================================================== */
@media (max-width: 1100px) {
  :root { --section-pad: 80px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); text-align: center; align-items: center; }
  .feature-item:nth-child(even) { border-bottom: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-steps::before { display: none; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px;
    --header-height: 60px;
  }

  /* ── 헤더 ── */
  .header-inner { gap: 8px; }

  /* 로고: 35px (30px + 16%) */
  .site-logo .custom-logo-link img.custom-logo,
  .site-logo img {
    height: 39px !important;
    max-height: 39px !important;
    width: auto !important;
    max-width: 140px !important;
  }
  .logo-title { font-size: 0.88rem; }

  /* PC 전화번호 + 네비 숨김 */
  .header-tel { display: none; }
  .main-nav   { display: none; }

  /* 모바일 우측: 전화번호 + 햄버거를 하나의 그룹으로 */
  .mobile-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-tel-mobile {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-primary);
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: -0.02em;
  }

  /* 햄버거: simple, on top of everything */
  .menu-toggle {
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    padding: 12px;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    z-index: 9999;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .menu-toggle span {
    width: 28px;
    height: 2.5px;
  }

  /* 메뉴 오픈 패널 */
  .main-nav.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 24px;
    overflow-y: auto;
    z-index: 8000;
  }

  .main-nav.open > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .main-nav.open > ul > li > a {
    display: flex;
    height: auto;
    padding: 18px 0;
    font-size: 1.15rem;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    color: var(--color-text);
  }

  .main-nav.open > ul > li > a::after { display: none; }

  /* 슬라이더 */
  .hero { min-height: 600px; height: 600px; }
  .hero-slider, .hero-slide { height: 600px; }
  .hero-slide { background-size: cover; background-position: center; }
  .hero-content { padding: 40px 0; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat .number { font-size: 1.6rem; }

  /* 레이아웃 */
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.featured { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .cta-band-actions { flex-direction: column; width: 100%; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 28px 20px; }
}

/* =====================================================
   HERO SLIDER (커스텀 — 왼쪽 등장 → 전체 노출 → 왼쪽 퇴장)
===================================================== */

/* 슬라이더 컨테이너 */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

/* 개별 슬라이드 */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* 기본: 왼쪽 밖에 대기 */
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  will-change: clip-path, opacity;
}

/* ── 상태 0: 초기 노출 (첫 이미지 — 애니 없이 바로 전체 노출) ── */
.hero-slide.initial {
  clip-path: inset(0 0% 0 0);
  opacity: 1;
}

/* ── 상태 1: 활성 (왼쪽부터 펼쳐지며 등장) ── */
.hero-slide.active {
  opacity: 1;
  animation: slideReveal 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideReveal {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0% 0 0);   }
}

/* ── 상태 2: 퇴장 (왼쪽으로 닫히며 사라짐) ── */
.hero-slide.leaving {
  opacity: 1;
  animation: slideLeave 1.0s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideLeave {
  0%   { clip-path: inset(0 0% 0 0);    }
  100% { clip-path: inset(0 0% 0 100%); }
}

/* 슬라이드 오버레이 */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 47, 0.72) 0%,
    rgba(10, 25, 47, 0.38) 55%,
    rgba(10, 25, 47, 0.12) 100%
  );
}

/* 이미지 없을 때 기본 오버레이 */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

.hero:not(:has(.hero-slider)) .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 25, 47, 0.88) 0%,
    rgba(10, 25, 47, 0.55) 60%,
    rgba(10, 25, 47, 0.22) 100%
  );
}

/* ── 페이지네이션 점 ── */
.hero-pagination {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.4s ease;
}

.hero-dot.active {
  background: var(--color-accent);
  width: 48px;
}

@media (max-width: 768px) {
  .hero-pagination { bottom: 20px; }
}

/* =====================================================
   PROCESS TIMELINE
===================================================== */
.process-timeline {
  max-width: 720px;
  margin: 0 auto;
}

.process-timeline-item {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.ptl-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 56px;
}

.ptl-num {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(232,132,26,0.3);
}

.ptl-line {
  width: 2px;
  flex: 1;
  min-height: 32px;
  background: var(--color-border);
  margin: 6px 0;
}

.ptl-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 8px;
  flex: 1;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.ptl-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.ptl-desc {
  font-size: 0.87rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}

.ptl-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ptl-sub li {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ptl-sub li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =====================================================
   FAQ LIST
===================================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: white;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: left;
  gap: 16px;
}

.faq-arr {
  color: var(--color-accent);
  font-size: 1rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-a {
  display: none;
  padding: 16px 24px 20px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  font-size: 0.87rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .ptl-card { padding: 20px; }
  .process-timeline-item { gap: 16px; }
  .ptl-left { width: 44px; }
  .ptl-num { width: 44px; height: 44px; font-size: 0.82rem; }
}

/* =====================================================
   MOBILE SLIDE PANEL
===================================================== */
.mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 88vw);
  height: 100%;
  background: linear-gradient(160deg, #0f2340 0%, #1a3a5c 60%, #1e4976 100%);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-panel.open {
  right: 0;
}

.mobile-panel-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.mobile-panel-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-panel-inner {
  padding: 0 0 40px;
}

/* 패널 상단 */
.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  min-height: 60px;
}

.mp-logo .custom-logo-link img,
.mp-logo img {
  height: 32px !important;
  width: auto !important;
  max-width: 120px !important;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.mp-site-name {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mp-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

/* 연락처 카드 */
.mp-contact-card {
  margin: 16px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-phone,
.mp-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.mp-phone-icon,
.mp-hours-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.mp-phone div,
.mp-hours div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mp-phone-label,
.mp-hours-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.mp-phone-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.01em;
}

.mp-hours-val {
  font-size: 0.82rem;
  color: var(--color-accent-light, #f5a94e);
  font-weight: 600;
}

/* 빠른 버튼 3개 */
.mp-quick-btns {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  padding: 0 20px;
  margin-bottom: 6px;
}

.mp-qbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.mp-qbtn--call { background: rgba(232,132,26,0.25); border: 1px solid rgba(232,132,26,0.4); }
.mp-qbtn--sms  { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.mp-qbtn--blog { background: rgba(3,199,90,0.18); border: 1px solid rgba(3,199,90,0.35); }

.mp-qbtn:active { transform: scale(0.95); opacity: 0.85; }

.mp-qbtn-icon {
  font-size: 1.3rem;
  line-height: 1;
}

/* 네비게이션 */
.mp-nav {
  padding: 6px 0;
}

.mp-nav-list,
.mp-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mp-nav-list li a,
.mp-nav ul li a {
  display: flex;
  align-items: center;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all 0.2s ease;
  gap: 10px;
}

.mp-nav-list li a::before,
.mp-nav ul li a::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.mp-nav-list li a:active,
.mp-nav ul li a:active {
  background: rgba(255,255,255,0.06);
  color: white;
  padding-left: 30px;
}

.mp-nav-list li.current-menu-item a,
.mp-nav ul li.current-menu-item a {
  color: var(--color-accent-light, #f5a94e);
}

/* CTA 버튼 */
.mp-cta {
  padding: 16px 20px 0;
}

.mp-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  background: var(--color-accent);
  color: white;
  text-decoration: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.mp-cta-btn:active { opacity: 0.85; transform: scale(0.98); }

.mp-cta-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.8;
}

/* =====================================================
   MOBILE GLOBAL FIXES (모바일 최적화)
===================================================== */
@media (max-width: 768px) {
  /* 패널만 display:block 허용 (overlay는 JS가 직접 제어) */
  .mobile-panel { display: block; }

  /* 회사소개 about-intro 1컬럼 */
  .about-intro { grid-template-columns: 1fr !important; gap: 32px !important; }
  .about-image-wrap .badge-overlay { position: static; margin-top: 16px; display: inline-block; }

  /* 핵심가치 2컬럼 */
  .about-intro + div > div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* 자격증 2컬럼 */
  div[style*="repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }

  /* 시공절차 timeline */
  .process-timeline { padding: 0 4px; }
  .ptl-card { padding: 18px 16px; }
  .ptl-num { width: 40px; height: 40px; font-size: 0.82rem; }
  .ptl-left { width: 40px; }
  .process-timeline-item { gap: 14px; }

  /* FAQ */
  .faq-q { font-size: 0.88rem; padding: 14px 16px; }
  .faq-a  { padding: 12px 16px 16px; }

  /* 갤러리 1컬럼 (스크린샷에서 2컬럼이 좁아 보임) */
  .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: 10px; }
  .gallery-item.featured { grid-column: span 2; }
  .gallery-item-title { font-size: 0.75rem; padding: 7px 8px; }

  /* 서비스 카드 */
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card-image { padding-top: 55% !important; }

  /* features 바 (4개 → 2컬럼) */
  .features-grid { grid-template-columns: 1fr 1fr !important; }
  .feature-item { padding: 24px 16px !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; }
  .feature-item:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,0.1) !important; }
  .feature-item:nth-child(3),
  .feature-item:nth-child(4)    { border-bottom: none !important; }

  /* 히어로 텍스트 */
  .hero-title    { font-size: 1.7rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-desc     { font-size: 0.85rem; margin-bottom: 28px; }
  .hero-content  { padding: 32px 0; }
  .hero-stats    { gap: 16px; }
  .hero-stat .number { font-size: 1.5rem; }
  .hero-stat .label  { font-size: 0.68rem; }

  /* Process steps (홈) */
  .process-steps { grid-template-columns: 1fr !important; }
  .process-steps::before { display: none; }

  /* 섹션 패딩 */
  .section { padding: 48px 0; }

  /* 섹션 헤더 */
  .section-title { font-size: 1.25rem; }
  .section-desc  { font-size: 0.85rem; }

  /* CTA 밴드 */
  .cta-band { padding: 40px 0; }
  .cta-band-text .title { font-size: 1.2rem; }
  .btn-white, .btn-outline-white { padding: 12px 20px; font-size: 0.88rem; }

  /* 연락처 폼 */
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form  { padding: 24px 16px; }
  .form-row      { grid-template-columns: 1fr; }

  /* 공지사항 테이블 */
  .notice-table thead th:last-child,
  .notice-table tbody td:last-child { display: none; }
  .notice-table tbody td { padding: 12px 14px; }

  /* 푸터 */
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .footer-bottom p { font-size: 0.7rem; }
  #site-footer { padding: 32px 0 0; }

  /* 컨테이너 패딩 */
  .container { padding: 0 16px; }

  /* 페이지 히어로 */
  .page-hero { padding: calc(var(--header-height) + 28px) 0 28px; }
  .page-hero h1 { font-size: 1.2rem; }

  /* 갤러리 상세 */
  .single-gallery-grid { grid-template-columns: 1fr !important; }
}

/* 회사소개 핵심가치: 모바일 1컬럼 */
@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* 모바일 공지사항 제목 1줄 제한 */
@media (max-width: 768px) {
  .notice-table tbody td:nth-child(2) {
    max-width: 0;
  }
  .notice-table tbody td:nth-child(2) a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .notice-table tbody td .notice-badge {
    display: none;
  }
}

/* 온라인 견적문의 버튼 모바일 수정 */
@media (max-width: 768px) {
  .btn-submit {
    position: relative;
    z-index: 1;
    -webkit-appearance: none;
    touch-action: manipulation;
  }
  .contact-form {
    overflow: visible;
  }
}
