/* ============================================================
   행집사 메인 CSS
   ============================================================ */
:root {
  --bg:         #FFFFFF;
  --bg-sub:     #F4F6F9;
  --accent:     #FFC107;
  --sub-accent: #0F2C59;
  --text:       #212529;
  --text-muted: #6C757D;
  --border:     #DEE2E6;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 2px 14px rgba(0,0,0,.08);
  --shadow-lg:  0 6px 28px rgba(0,0,0,.12);
  --transition: .25s ease;
  --container:  1160px;
  --gap:        24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.7; word-break: keep-all; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gap); }

/* ============================================================
   버튼
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: var(--radius); font-size: 15px; font-weight: 700;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-accent  { background: var(--accent); color: var(--sub-accent); }
.btn-accent:hover { background: #E6AC00; box-shadow: 0 4px 16px rgba(255,193,7,.4); }
.btn-sub     { background: var(--sub-accent); color: #fff; }
.btn-sub:hover { background: #0a1f3f; box-shadow: 0 4px 16px rgba(15,44,89,.3); }
.btn-outline { background: transparent; color: var(--sub-accent); border: 2px solid var(--sub-accent); }
.btn-outline:hover { background: var(--sub-accent); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline-white:hover { background: #fff; color: var(--sub-accent); }
.btn-gap { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   헤더
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--sub-accent);
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 8px; font-weight: 800;
  font-size: 22px; color: #fff; letter-spacing: -0.5px;
}
.logo-icon { width: 22px; height: 28px; flex-shrink: 0; }
.logo-text { line-height: 1; }

.pc-nav { display: flex; align-items: center; gap: 6px; }
.pc-nav a {
  color: rgba(255,255,255,.82); font-size: 14px; font-weight: 600;
  padding: 7px 14px; border-radius: 6px; transition: background var(--transition), color var(--transition);
}
.pc-nav a:hover, .pc-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.pc-nav .nav-cta {
  background: var(--accent); color: var(--sub-accent); padding: 7px 18px;
  border-radius: 6px; font-weight: 700; margin-left: 8px;
}
.pc-nav .nav-cta:hover { background: #E6AC00; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 8px; color: #fff;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; background: var(--sub-accent); padding: 0 var(--gap);
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; color: rgba(255,255,255,.86); font-size: 15px; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.nav-cta { color: var(--accent); }

/* ============================================================
   섹션 공통
   ============================================================ */
.section { padding: 72px 0; }
.section-sub { background: var(--bg-sub); }
.section-dark { background: var(--sub-accent); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--sub-accent); line-height: 1.3; }
.section-sub-dark .section-title { color: #fff; }
.section-sub-title { font-size: 16px; color: var(--text-muted); margin-top: 10px; font-weight: 400; }
.section-sub-dark .section-sub-title { color: rgba(255,255,255,.7); }
.accent-line { display: inline-block; width: 40px; height: 4px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; }

/* ============================================================
   히어로
   ============================================================ */
.hero {
  position: relative; min-height: 640px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(15,44,89,.82) 0%, rgba(15,44,89,.4) 55%, rgba(15,44,89,.08) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%; padding: 72px var(--gap) 64px;
}
.hero-eyebrow { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(28px, 4vw, 52px); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.hero-sub-desc { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 32px; }

/* ============================================================
   갤러리
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-sub); position: relative;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,44,89,.8)); color: #fff;
  font-size: 13px; font-weight: 600; padding: 24px 14px 12px; opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e8edf3 0%, #d0d8e4 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; color: #8fa3ba; font-size: 12px; font-weight: 500;
}

/* ============================================================
   걱정 해소 카드
   ============================================================ */
.worry-slider-outer { position: relative; }
.worry-dots { display: none; }
.worry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 28px;
  border-left: 4px solid var(--accent); box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.worry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.worry-icon { font-size: 28px; margin-bottom: 14px; }
.worry-q { font-size: 17px; font-weight: 800; color: var(--sub-accent); margin-bottom: 10px; line-height: 1.4; }
.worry-a { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ============================================================
   차별점
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.diff-card {
  background: rgba(255,255,255,.07); border-radius: var(--radius-lg); padding: 36px 28px;
  border: 1px solid rgba(255,255,255,.12); transition: background var(--transition);
}
.diff-card:hover { background: rgba(255,255,255,.12); }
.diff-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 2px; margin-bottom: 14px; }
.diff-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.35; }
.diff-body { font-size: 14px; color: rgba(255,255,255,.72); line-height: 1.8; }

/* ============================================================
   시공사례 카드 (케이스 카드)
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-thumb {
  aspect-ratio: 16/10; background: var(--bg-sub); overflow: hidden; position: relative;
}
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-thumb-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e0e8f4 0%, #c8d6e8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--sub-accent);
}
.case-thumb-icon { width: 44px; height: 44px; }
.case-body { padding: 22px 20px 26px; }
.case-tag { font-size: 11px; font-weight: 700; color: var(--accent); background: rgba(255,193,7,.12); padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.case-title { font-size: 18px; font-weight: 800; color: var(--sub-accent); margin-bottom: 8px; line-height: 1.4; }
.case-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; }
.case-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--sub-accent); }
.case-link svg { transition: transform var(--transition); }
.case-card:hover .case-link svg { transform: translateX(4px); }

/* ============================================================
   서비스 슬라이더
   ============================================================ */
.slider-wrap { overflow: hidden; position: relative; }
.slider-track { display: flex; gap: 20px; transition: transform .5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.service-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.service-slide-thumb {
  aspect-ratio: 16/10; background: var(--bg-sub); overflow: hidden;
}
.service-slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.service-slide-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e6eef7 0%, #d0ddf0 100%);
  display: flex; align-items: center; justify-content: center;
}
.service-slide-body { padding: 20px; }
.service-slide-icon { width: 36px; height: 36px; margin-bottom: 12px; }
.service-slide-title { font-size: 17px; font-weight: 800; color: var(--sub-accent); margin-bottom: 8px; }
.service-slide-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   회사 소개
   ============================================================ */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 0; }
.about-card {
  text-align: center; padding: 40px 24px 36px;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,193,7,.12); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.about-icon { width: 30px; height: 30px; color: var(--sub-accent); }
.about-title { font-size: 18px; font-weight: 800; color: var(--sub-accent); margin-bottom: 12px; }
.about-body { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 15px; font-weight: 700; color: var(--sub-accent);
  cursor: pointer; user-select: none; transition: background var(--transition);
}
.faq-q:hover { background: var(--bg-sub); }
.faq-item.open .faq-q { background: var(--sub-accent); color: #fff; }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); transition: transform var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .2s ease;
  font-size: 14px; color: var(--text-muted); line-height: 1.8;
}
.faq-a-inner { padding: 16px 22px 20px; }
.faq-item.open .faq-a { max-height: 400px; }

/* ============================================================
   상담 CTA 섹션
   ============================================================ */
.cta-section {
  background: var(--accent);
  text-align: center; padding: 72px var(--gap);
}
.cta-label { font-size: 13px; font-weight: 700; color: var(--sub-accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.cta-title { font-size: clamp(22px, 3vw, 34px); font-weight: 900; color: var(--sub-accent); margin-bottom: 12px; }
.cta-sub { font-size: 16px; color: rgba(15,44,89,.72); margin-bottom: 36px; }

/* ============================================================
   푸터
   ============================================================ */
.site-footer { background: #212529; color: rgba(255,255,255,.65); padding: 44px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.footer-brand .logo { font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer-info { font-size: 13px; line-height: 1.9; }
.footer-info strong { color: rgba(255,255,255,.86); }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; transition: color var(--transition); }
.footer-nav a:hover { color: var(--accent); }
.footer-nav svg { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; font-size: 12px; text-align: center; color: rgba(255,255,255,.35); }
.footer-area { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 6px; }

/* ============================================================
   서비스 세부 페이지
   ============================================================ */
.service-hero {
  background: var(--sub-accent); padding: 72px 0 64px; position: relative; overflow: hidden;
}
.service-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 440px; height: 440px; border-radius: 50%;
  background: rgba(255,193,7,.06); pointer-events: none;
}
.service-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.service-hero-tag { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.service-hero h1 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; color: #fff; line-height: 1.25; margin-bottom: 16px; }
.service-hero-desc { font-size: 16px; color: rgba(255,255,255,.78); line-height: 1.8; margin-bottom: 28px; }
.service-hero-img {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,.08);
}
.service-hero-img img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.service-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; border-radius: var(--radius-lg); border: 1px dashed rgba(255,255,255,.2);
  color: rgba(255,255,255,.3); font-size: 13px;
}

.content-section { padding: 64px 0; }
.content-section-sub { background: var(--bg-sub); padding: 64px 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col-reverse { direction: rtl; }
.two-col-reverse > * { direction: ltr; }
.content-img {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-sub);
}
.content-img img { width: 100%; height: 100%; object-fit: cover; }
.content-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e0e8f4 0%, #c8d6ea 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: #8fa3be; font-size: 12px;
}
.content-badge { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.content-title { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: var(--sub-accent); margin-bottom: 14px; line-height: 1.35; }
.content-body { font-size: 15px; color: var(--text); line-height: 1.85; }
.content-body p + p { margin-top: 12px; }

.check-list { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.65; }
.check-list li::before {
  content: ''; display: block; flex-shrink: 0; margin-top: 4px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 8l3.5 3.5 6.5-7' stroke='%230F2C59' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.caution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.caution-card {
  background: #fff; border-radius: var(--radius); padding: 22px 20px;
  border-top: 3px solid var(--sub-accent); box-shadow: var(--shadow);
}
.caution-num { font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 1px; margin-bottom: 8px; }
.caution-title { font-size: 15px; font-weight: 800; color: var(--sub-accent); margin-bottom: 8px; }
.caution-body { font-size: 13px; color: var(--text-muted); line-height: 1.75; }

.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strength-card {
  text-align: center; padding: 32px 20px;
  background: rgba(255,255,255,.07); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
}
.strength-icon-wrap { width: 54px; height: 54px; background: rgba(255,193,7,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.strength-icon { width: 26px; height: 26px; color: var(--accent); }
.strength-title { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.strength-body { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.75; }

.mini-faq { max-width: 720px; }

/* ============================================================
   상담안내 페이지
   ============================================================ */
.contact-hero { background: var(--sub-accent); padding: 64px 0; text-align: center; }
.contact-hero h1 { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; color: #fff; margin-bottom: 12px; }
.contact-hero p { font-size: 16px; color: rgba(255,255,255,.72); }

.contact-wrap { max-width: 680px; margin: 0 auto; }
.contact-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 36px;
  box-shadow: var(--shadow-lg); text-align: center; margin-bottom: 20px;
}
.contact-card h2 { font-size: 20px; font-weight: 800; color: var(--sub-accent); margin-bottom: 16px; }
.contact-card p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.contact-hours { font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.contact-hours strong { color: var(--sub-accent); }

/* ============================================================
   사이트맵 페이지
   ============================================================ */
.sitemap-wrap { max-width: 900px; margin: 0 auto; }
.sitemap-section { margin-bottom: 40px; }
.sitemap-h2 { font-size: 18px; font-weight: 800; color: var(--sub-accent); border-left: 4px solid var(--accent); padding-left: 14px; margin-bottom: 16px; }
.sitemap-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sitemap-links a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px;
  background: var(--bg-sub); border-radius: 6px; font-size: 14px; color: var(--sub-accent); font-weight: 600;
  transition: background var(--transition), color var(--transition);
}
.sitemap-links a:hover { background: var(--sub-accent); color: #fff; }

/* ============================================================
   반응형
   ============================================================ */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .service-slide { flex: 0 0 calc((100% - 20px) / 2); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .caution-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pc-nav { display: none; }
  .hamburger { display: flex; }

  .section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }

  .hero { min-height: 480px; }
  .hero-content { padding: 48px 24px 52px; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .worry-slider-outer { overflow: hidden; }
  .worry-grid { display: flex; gap: 0; transition: transform .4s cubic-bezier(.4,0,.2,1); }
  .worry-card { flex: 0 0 100%; padding: 28px 20px; }
  .worry-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
  .worry-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--border); padding: 0; transition: background .2s, transform .2s;
  }
  .worry-dot.active { background: var(--sub-accent); transform: scale(1.3); }
  .diff-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .caution-grid { grid-template-columns: 1fr; }

  .service-slide { flex: 0 0 100%; }

  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col-reverse { direction: ltr; }
  .service-hero-inner { grid-template-columns: 1fr; gap: 24px; }

  .footer-inner { flex-direction: column; gap: 24px; }

  .contact-card { padding: 28px 20px; }

  .btn-gap { gap: 10px; }
  .btn { padding: 12px 22px; font-size: 14px; }
}

@media (max-width: 480px) {
  :root { --gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   사진 슬라이더 (히어로 하단)
   ============================================================ */
.photo-slider-section { padding: 64px 0; background: var(--bg-sub); }
.photo-slider-outer { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); position: relative; }
.photo-slider-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); will-change: transform; }
.photo-slide { flex: 0 0 100%; position: relative; aspect-ratio: 16/7; overflow: hidden; }
.photo-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,44,89,.75));
  padding: 40px 32px 24px;
  display: flex; align-items: flex-end; gap: 14px;
}
.photo-slide-caption-tag {
  font-size: 11px; font-weight: 700; color: var(--accent);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px;
}
.photo-slide-caption-title {
  font-size: clamp(18px, 2.5vw, 28px); font-weight: 900; color: #fff; line-height: 1.3;
}

@media (max-width: 768px) {
  .photo-slide { aspect-ratio: 4/3; }
  .photo-slide-caption { padding: 28px 16px 16px; }
  .photo-slider-section { padding: 40px 0; }
}

/* ============================================================
   SVG 아이콘 공통
   ============================================================ */
.icon { display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
