/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, ul, ol, li, figure, figcaption { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg, #F7F8F6);
  color: var(--text, #1B2426);
  font-family: var(--font-body, "Pretendard", sans-serif);
  line-height: 1.7;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--secondary, #7FD4C1);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg, #F7F8F6);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
  overflow-x: auto;
}
.site-logo {
  font-family: var(--font-display, "Pretendard", sans-serif);
  font-weight: 600;
  font-size: 1.15rem;
  white-space: nowrap;
  color: var(--primary, #0F3D45);
}
.site-nav {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  font-size: 0.92rem;
}
.site-nav a:hover { color: var(--primary, #0F3D45); }
.btn-header {
  white-space: nowrap;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--primary, #0F3D45);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- hero skeleton ---- */
.hero {
  padding-block: 56px 40px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display, "Pretendard", sans-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--primary, #0F3D45);
  margin-bottom: 14px;
}
.hero .lead {
  font-size: 1.02rem;
  color: var(--text, #1B2426);
  opacity: 0.85;
  max-width: 46em;
  margin-inline: auto;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- hero with background photo (services / areas) ---- */
.hero-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  padding-block: 88px 64px;
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,16,15,0.55) 0%, rgba(10,16,15,0.82) 100%);
}
.hero-photo .container { position: relative; z-index: 1; }
.hero-photo h1 { color: #fff; }
.hero-photo .lead { color: #fff; opacity: 0.92; }
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
}
.btn-primary {
  background: var(--primary, #0F3D45);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary, #0F3D45);
  color: var(--primary, #0F3D45);
}

/* ---- hero video ---- */
.hero-video {
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 20px;
  margin-bottom: 48px;
}
.hero-video video {
  width: 100%;
  border-radius: 12px;
}

/* ---- shot grid (photo blocks) ---- */
.shot-grid {
  margin-inline: auto;
  max-width: 960px;
}
.shot-grid figcaption {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.65;
  margin-top: 12px;
}

/* ---- quick contact (contact page) ---- */
.quick-contact {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding-top: 28px;
  flex-wrap: wrap;
}
.quick-contact a {
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
}
.quick-contact a:first-child { background: var(--primary, #0F3D45); color: #fff; }
.quick-contact a:last-child { border: 1.5px solid var(--primary, #0F3D45); color: var(--primary, #0F3D45); }

/* ---- CTA band ---- */
.cta-band {
  text-align: center;
  padding: 48px 20px;
  margin-top: 64px;
  background: var(--primary, #0F3D45);
  color: #fff;
}
.cta-band p {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.cta-band a {
  display: inline-block;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 6px;
}
.cta-band a:first-of-type { background: #fff; color: var(--primary, #0F3D45); }
.cta-band a:last-of-type { border: 1.5px solid #fff; color: #fff; }

/* ---- footer ---- */
.site-footer {
  background: #10171A;
  color: #C7CDCB;
  padding: 36px 20px 28px;
  font-size: 0.86rem;
  line-height: 1.9;
}
.site-footer .container { max-width: 1280px; }
.site-footer nav {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.site-footer nav a { opacity: 0.85; }
.site-footer nav a:hover { opacity: 1; }

/* ---- simple list pages (services / areas / sitemap) ---- */
.link-list { max-width: 640px; margin: 0 auto; padding: 48px 20px 0; }
.link-list li { border-bottom: 1px solid rgba(0,0,0,0.08); }
.link-list a { display: block; padding: 16px 4px; font-weight: 600; }
.link-list a:hover { color: var(--primary, #0F3D45); }

/* ---- breakpoints ---- */
@media (max-width: 640px) {
  .site-nav { gap: 12px; font-size: 0.85rem; }
  .hero { padding-block: 40px 28px; }
}
