/* ============================================================
   DESIGN TOKENS
   - on-dark-* : WCAG AA 검증된 다크 배경 텍스트 토큰
     primary  15.7:1 / secondary 13.5:1 / tertiary 6.3:1
     muted     5.7:1 / faint는 비텍스트(테두리·구분선) 전용
   ============================================================ */
:root {
  /* Brand */
  --navy:        #0A2540;
  --blue:        #1E5BA8;
  --gold:        #C9A24B;
  --red:         #C8352C;
  --gray-light:  #F5F7FA;
  --charcoal:    #2C2C2C;
  --white:       #FFFFFF;
  --footer-bg:   #050F1C;

  /* Text — light backgrounds (body default) */
  --text-primary:   var(--charcoal);   /* 12.6:1 on white */
  --text-secondary: #4B5563;           /* 7.2:1  — replaces #555 #666 */
  --text-caption:   #6B7280;           /* 4.6:1  — replaces #888 */
  --text-label:     #374151;           /* 9.0:1  — replaces #444 */
  --text-placeholder: #9CA3AF;         /* 2.9:1 — placeholder only, non-content */

  /* Text — dark backgrounds (WCAG AA compliant) */
  --on-dark-primary:   #FFFFFF;                 /* 15.7:1 */
  --on-dark-secondary: rgba(255,255,255,0.87);  /* 13.5:1 */
  --on-dark-tertiary:  rgba(255,255,255,0.70);  /*  6.3:1 */
  --on-dark-muted:     rgba(255,255,255,0.55);  /*  5.7:1 */

  /* Non-text (borders, dividers — contrast not required) */
  --on-dark-faint:     rgba(255,255,255,0.12);
  --on-dark-ghost:     rgba(255,255,255,0.08);

  /* Brand alpha — backgrounds & accents */
  --gold-a40:  rgba(201,162,75,0.40);
  --gold-a20:  rgba(201,162,75,0.20);
  --gold-a12:  rgba(201,162,75,0.12);
  --gold-a08:  rgba(201,162,75,0.08);
  --blue-a12:  rgba(30,91,168,0.12);
  --blue-a08:  rgba(30,91,168,0.08);
  --blue-a15:  rgba(30,91,168,0.15);
  --red-a12:   rgba(200,53,44,0.12);
  --red-a25:   rgba(200,53,44,0.25);

  /* Overlays */
  --overlay-dark-88:  rgba(10,37,64,0.88);
  --overlay-dark-85:  rgba(10,37,64,0.85);
  --overlay-dark-65:  rgba(10,37,64,0.65);
  --overlay-dark-96:  rgba(10,37,64,0.96);
  --overlay-dark-40:  rgba(30,91,168,0.40);

  /* Borders */
  --border-light:   #E5E8ED;
  --border-input:   #E0E4EA;
  --border-divider: #F0F2F5;

  /* Shadows — navy-tinted, more realistic than black */
  --shadow:    0 4px 24px rgba(10,37,64,0.10);
  --shadow-lg: 0 12px 40px rgba(10,37,64,0.18);

  /* Layout */
  --radius:     12px;
  --transition: 0.3s ease;
  --max-w:      1200px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.bg-light { background: var(--gray-light); }
.bg-dark  { background: var(--navy); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: #D4AE5C;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--gold-a40);
}
.btn-outline {
  background: transparent;
  color: var(--on-dark-primary);
  border: 2px solid var(--on-dark-tertiary);
}
.btn-outline:hover {
  background: var(--on-dark-faint);
  border-color: var(--on-dark-primary);
}
.btn-full { width: 100%; min-width: 0; justify-content: center; }
.btn-pulse { animation: pulse 2.5s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-a40); }
  50%       { box-shadow: 0 0 0 12px transparent; }
}

/* ============================================================
   SECTION HEADER
   - 색상을 여기서 선언하지 않고 컨텍스트(bg-light/bg-dark)에서 주입
   ============================================================ */
.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  background: var(--blue-a08);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-tag--gold {
  color: var(--gold);
  background: var(--gold-a12);
}

/* 라이트 배경 기본값 */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);   /* 특이성 버그 수정: .text-white 클래스와 충돌 제거 */
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* 다크 배경 컨텍스트 — 부모 선택자로 자동 적용 */
.bg-dark .section-tag {
  color: var(--on-dark-primary);
  background: var(--blue-a12);
  border: 1px solid var(--on-dark-faint); /* 색맹: 색+테두리 이중 단서 */
}
.bg-dark .section-tag--gold {
  color: var(--on-dark-primary);   /* 15.7:1 — 색맹 무관하게 최고 대비 */
  background: var(--gold-a12);
  border: 1px solid var(--gold-a40);
  border-left: 3px solid var(--gold); /* 골드 액센트: 색 외 형태 단서 */
}
.bg-dark .section-title { color: var(--on-dark-primary); }
.bg-dark .section-desc  { color: var(--on-dark-tertiary); }

/* ============================================================
   NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: var(--overlay-dark-96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 54px;
  width: 54px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 50%;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-logo-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav-logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  letter-spacing: 0.01em;
  line-height: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-link {
  color: var(--on-dark-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  background: var(--gold-a12);
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.nav-phone:hover { color: #D4AE5C; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--on-dark-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    var(--overlay-dark-88) 0%,
    var(--overlay-dark-65) 60%,
    var(--overlay-dark-40) 100%
  );
}
.hero-badge {
  position: absolute;
  top: 90px; right: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--gold-a20);
  border: 1px solid var(--gold-a40);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 24px;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 760px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--on-dark-primary);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--on-dark-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--navy); padding: 60px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--on-dark-faint);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  font-family: 'Inter', 'Manrope', sans-serif;
}
.trust-plus {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  vertical-align: super;
  line-height: 1;
}
.trust-text { font-size: 2.2rem; }
.trust-label {
  display: block;
  font-size: 0.85rem;
  color: var(--on-dark-tertiary);
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   SERVICES
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-icon { padding: 32px 28px 0; color: var(--blue); }
.service-name { font-size: 1.2rem; font-weight: 700; padding: 16px 28px 8px; }
.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0 28px 24px;
  line-height: 1.65;
}
.service-thumb { height: 200px; overflow: hidden; }
.service-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-thumb img { transform: scale(1.05); }

/* ============================================================
   EQUIPMENT
   ============================================================ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.equip-card {
  background: var(--on-dark-faint);
  border: 1px solid var(--on-dark-faint);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.equip-card:hover {
  border-color: var(--gold-a40);
  transform: translateY(-4px);
}
.equip-img-wrap { height: 240px; overflow: hidden; }
.equip-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.equip-card:hover .equip-img-wrap img { transform: scale(1.04); }
.equip-info { padding: 24px; }
.equip-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--on-dark-primary);
  margin-bottom: 8px;
}
.equip-desc {
  font-size: 0.88rem;
  color: var(--on-dark-tertiary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.equip-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.75rem;
  color: var(--gold);
  border: 1px solid var(--gold-a40);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step {
  flex: 1;
  text-align: center;
  padding: 40px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.process-arrow { padding: 0 8px; color: var(--blue); flex-shrink: 0; }
.process-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 16px;
}
.process-icon {
  width: 64px; height: 64px;
  background: var(--blue-a08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}
.process-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-desc  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.55; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: block;
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-dark-85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-info { display: flex; flex-direction: column; gap: 4px; }
.portfolio-tag { font-size: 0.8rem; font-weight: 700; color: var(--gold); }
.portfolio-loc { font-size: 0.75rem; color: var(--on-dark-tertiary); }

/* ============================================================
   CEO
   ============================================================ */
.ceo-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}
.ceo-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.ceo-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
}
.ceo-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--on-dark-primary);
  line-height: 1.2;
  margin: 16px 0 20px;
}
.ceo-profile { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ceo-profile span {
  font-size: 0.85rem;
  color: var(--gold);
  background: var(--gold-a12);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.ceo-desc {
  color: var(--on-dark-tertiary);
  line-height: 1.75;
  margin-bottom: 24px;
}
.ceo-achievements { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.achievement {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--on-dark-secondary);
  font-size: 0.9rem;
}

/* ============================================================
   AREA
   ============================================================ */
.area-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}
.area-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.area-map img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.6);
}
.area-markers { position: absolute; inset: 0; }
.area-marker { position: absolute; display: flex; align-items: center; gap: 8px; }
.marker-yongin  { top: 45%; left: 48%; }
.marker-suwon   { top: 35%; left: 28%; }
.marker-hwaseong{ top: 60%; left: 22%; }
.marker-dot {
  width: 14px; height: 14px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 4px var(--gold-a40);
  flex-shrink: 0;
}
.marker-label {
  background: var(--overlay-dark-85);
  color: var(--on-dark-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.3;
  text-align: center;
}
.area-info { display: flex; flex-direction: column; gap: 16px; }
.area-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.area-icon {
  width: 44px; height: 44px;
  background: var(--blue-a08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.area-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.area-card p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.area-card small { color: var(--text-caption); font-size: 0.78rem; }
.area-emergency {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--red-a12);
  border: 1px solid var(--red-a25);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.faq-highlight { border-color: var(--blue-a15); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
}
.faq-q:hover               { color: var(--blue); }
.faq-q[aria-expanded="true"] { color: var(--blue); }
.faq-chevron { flex-shrink: 0; transition: transform var(--transition); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a.open { max-height: 300px; }
.faq-a p {
  padding: 16px 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-divider);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-heading {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 16px 0;
  color: var(--on-dark-primary);
}
.contact-intro {
  color: var(--on-dark-tertiary);
  line-height: 1.7;
  margin-bottom: 32px;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-phone {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--on-dark-ghost);
  border: 1px solid var(--gold-a20);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.contact-phone:hover { border-color: var(--gold); background: var(--gold-a08); }
.contact-phone-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--on-dark-primary);
}
.contact-phone-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--on-dark-muted);
}
.contact-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--on-dark-muted);  /* SVG stroke="currentColor" 이 이 값을 상속 */
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-label); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-input);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
  background: var(--white);
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-a12);
}
.form-group textarea { resize: vertical; }
.form-notice { font-size: 0.75rem; color: var(--text-caption); text-align: center; }
.form-success { text-align: center; padding: 40px; }
.form-success-icon { color: var(--gold); }  /* stroke="currentColor" 이 이 값을 상속 */
.form-success h3 { font-size: 1.2rem; font-weight: 700; margin: 16px 0 8px; }
.form-success p  { color: var(--text-secondary); font-size: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer-bg); padding: 64px 0 0; }
.footer-wrap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--on-dark-ghost);
}
.footer-logo {
  height: 80px;
  width: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 12px;
}
.footer-tagline { color: var(--gold); font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.footer-desc { color: var(--on-dark-muted); font-size: 0.82rem; line-height: 1.6; }
.footer-info-title { color: var(--on-dark-primary); font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer-info-list { display: flex; flex-direction: column; gap: 8px; }
.footer-info-list li {
  font-size: 0.82rem;
  color: var(--on-dark-muted);
  display: flex;
  gap: 8px;
}
.footer-info-list li span { color: var(--on-dark-tertiary); font-size: 0.78rem; min-width: 70px; }
.footer-info-list li a { color: var(--gold); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 0.85rem; color: var(--on-dark-muted); transition: var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--on-dark-tertiary);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--charcoal);
  color: var(--on-dark-primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 100px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   FLOATING CTA (mobile)
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  display: none;
}
.floating-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--on-dark-primary);
}
.floating-call    { background: var(--red); }
.floating-consult { background: var(--blue); }

/* ============================================================
   PC QUICK BUTTONS
   ============================================================ */
.quick-btns {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.quick-btns.visible { opacity: 1; pointer-events: all; }
.quick-btn {
  width: 52px; height: 52px;
  background: var(--navy);
  border: 1px solid var(--on-dark-faint);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--on-dark-primary);
  transition: var(--transition);
  font-size: 0;
}
.quick-btn span { font-size: 0.6rem; font-weight: 600; }
.quick-btn:hover { background: var(--blue); border-color: var(--blue); }
#toTop:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .nav-menu { display: none; }
  .nav-phone { font-size: 0.85rem; }
  .hamburger { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 4px;
    border-top: 1px solid var(--on-dark-faint);
  }
  .ceo-wrap      { grid-template-columns: 1fr; gap: 40px; }
  .ceo-photo     { max-width: 320px; margin: 0 auto; }
  .contact-wrap  { grid-template-columns: 1fr; gap: 40px; }
  .area-wrap     { grid-template-columns: 1fr; gap: 40px; }
  .footer-wrap   { grid-template-columns: 1fr 1fr; }
  .quick-btns    { display: none; }
  .process-flow  { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); padding: 4px 0; }
  .process-step  { width: 100%; max-width: 400px; }
}

@media (max-width: 767px) {
  .section         { padding: 72px 0; }
  .section-title   { font-size: 1.6rem; }
  .section-header  { margin-bottom: 40px; }
  .trust-grid      { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-right: none; border-top: 1px solid var(--on-dark-faint); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--on-dark-faint); }
  .service-grid    { grid-template-columns: 1fr; }
  .equipment-grid  { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: repeat(2, 1fr); }
  .portfolio-overlay { opacity: 1; }
  .hero-badge      { display: none; }
  .hero-cta .btn   { width: 100%; justify-content: center; }
  .form-row        { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .footer-wrap     { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .floating-cta    { display: flex; }
  body             { padding-bottom: 56px; }
  .nav-logo img    { height: 44px; width: 44px; border-radius: 50%; }
  .nav-logo-brand  { font-size: 1.05rem; }
  .nav-logo-sub    { display: none; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .ceo-title      { font-size: 1.7rem; }
}

@media (max-width: 360px) {
  .container          { padding: 0 16px; }
  .contact-form-wrap  { padding: 20px 16px; }
  .form-row           { grid-template-columns: 1fr; }
}
