:root {
  --bg: #f5f6f8;
  --ink: #15171c;
  --muted: #667085;
  --line: #dce1e8;
  --dark: #101216;
  --dark-2: #1c2027;
  --surface: #ffffff;
  --accent: #f5b700;
  --accent-2: #dd8d00;
  --danger: #b63c3c;
  --shadow: 0 20px 50px rgba(12, 17, 29, .14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
}

body.is-menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  background: rgba(10, 12, 16, .78);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #111;
  font-size: 16px;
  line-height: 1;
}

.brand-text {
  font-size: 19px;
}

.brand-text strong,
.hero-brand-line > span,
.section-copy span {
  color: var(--danger);
}

.desktop-nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  font-weight: 700;
}

.desktop-nav a,
.text-link {
  transition: color .18s ease;
}

.desktop-nav a:hover,
.text-link:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.text-link {
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 700;
}

.call-button,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 900;
}

.call-button,
.primary-action {
  background: var(--accent);
  color: #111;
}

.call-button {
  padding: 0 16px;
  font-size: 14px;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, .6);
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.secondary-action.dark {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  border-radius: 999px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #05070a;
  color: #fff;
}

.hero-media,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 4800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .92) 0%, rgba(5, 7, 10, .62) 42%, rgba(5, 7, 10, .18) 100%),
    linear-gradient(0deg, rgba(5, 7, 10, .88) 0%, rgba(5, 7, 10, .1) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 118px;
}

.hero-domain {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-brand-line,
.hero-place-line {
  display: block;
}

.hero-brand-line {
  white-space: nowrap;
}

.hero-copy {
  max-width: 580px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions a {
  min-width: 148px;
  padding: 0 24px;
}

.hero-card {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  width: min(620px, calc(100% - 48px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(13, 16, 21, .84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card div {
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.hero-card div:last-child {
  border-right: 0;
}

.hero-card span,
.hero-card small {
  display: block;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
}

.hero-card strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1.2;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(var(--max), calc(100% - 48px));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.quick-info article {
  min-height: 230px;
  padding: 30px;
  background: #fff;
}

.quick-info h2 {
  margin: 0 0 18px;
  color: var(--accent-2);
  font-size: 19px;
}

.quick-info p {
  margin: 0 0 9px;
  color: #566173;
  line-height: 1.6;
}

.quick-info a {
  display: inline-block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
}

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 110px auto;
  scroll-margin-top: 112px;
}

.split-section,
.service-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: center;
}

.section-copy,
.service-copy {
  max-width: 430px;
}

.section-number {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 900;
}

.section h2,
.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-copy p:not(.section-number),
.section-heading p:not(.section-number),
.service-copy p:not(.section-number) {
  margin: 0 0 14px;
  color: #566173;
  font-size: 18px;
  line-height: 1.78;
}

.image-panel,
.service-section > img,
.location-card,
.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
}

.map-card {
  position: relative;
  min-height: 520px;
  background: #e7ebf0;
}

.map {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.map-fallback {
  position: absolute;
  inset: auto 20px 20px 20px;
  display: none;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(12, 17, 29, .15);
}

.map-fallback.is-visible {
  display: block;
}

.map-fallback strong,
.map-fallback span {
  display: block;
}

.location-card {
  padding: 18px;
}

.location-card img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.location-card dl,
.location-card dd {
  margin: 0;
}

.location-card div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.location-card dt {
  margin-bottom: 6px;
  color: var(--accent-2);
  font-weight: 900;
}

.location-card dd {
  color: #3c4655;
  line-height: 1.65;
  font-weight: 700;
}

.full {
  width: 100%;
  margin-top: 18px;
}

.featured-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.featured-gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(12, 17, 29, .12);
}

.featured-gallery img:first-child {
  grid-row: span 2;
  height: 494px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gallery-grid button {
  aspect-ratio: 202 / 150;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #d8dde6;
  cursor: pointer;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease, filter .2s ease;
}

.gallery-grid button:hover img {
  transform: scale(1.05);
  filter: brightness(1.06);
}

.service-section {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
}

.service-section.reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, .72fr);
}

.service-section.reverse .service-copy {
  order: 2;
}

.service-section > img {
  width: 100%;
}

.service-copy .secondary-action {
  min-width: 140px;
  margin-top: 16px;
  padding: 0 20px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
}

.footer strong {
  color: #fff;
  font-size: 19px;
}

.footer p {
  margin: 8px 0 0;
}

.footer a {
  color: #fff;
  font-weight: 700;
}

.mobile-actions {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 24px;
  background: rgba(0, 0, 0, .86);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-height: 82vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  min-width: 72px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .desktop-nav,
  .text-link {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 24px 24px;
    background: rgba(10, 12, 16, .96);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .mobile-menu.is-open {
    display: grid;
    gap: 8px;
  }

  .mobile-menu a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 800;
  }

  .hero-card {
    grid-template-columns: 1fr;
    width: 310px;
  }

  .hero-card div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .quick-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid,
  .split-section,
  .service-section,
  .service-section.reverse {
    grid-template-columns: 1fr;
  }

  .service-section.reverse .service-copy {
    order: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text {
    font-size: 16px;
  }

  .call-button {
    display: none;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    top: 64px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(5, 7, 10, .94) 0%, rgba(5, 7, 10, .6) 56%, rgba(5, 7, 10, .1) 100%);
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-bottom: 238px;
  }

  .hero-domain {
    font-size: 14px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .hero-copy {
    font-size: 16px;
    margin: 18px 0 22px;
  }

  .hero-actions a {
    flex: 1 1 130px;
    min-width: 0;
    padding: 0 12px;
  }

  .hero-card {
    left: 16px;
    right: 16px;
    bottom: 26px;
    width: auto;
    grid-template-columns: 1fr 1fr;
  }

  .hero-card div {
    padding: 16px;
  }

  .hero-card div:nth-child(2) {
    border-right: 0;
  }

  .hero-card div:last-child {
    grid-column: span 2;
    border-bottom: 0;
  }

  .hero-card strong {
    font-size: 20px;
  }

  .quick-info,
  .section {
    width: calc(100% - 32px);
  }

  .quick-info {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }

  .quick-info article {
    min-height: auto;
    padding: 24px;
  }

  .section {
    margin: 78px auto;
  }

  .section h2,
  .section-heading h2 {
    font-size: 34px;
  }

  .section-copy p:not(.section-number),
  .section-heading p:not(.section-number),
  .service-copy p:not(.section-number) {
    font-size: 16px;
  }

  .split-section,
  .service-section,
  .location-grid {
    gap: 24px;
  }

  .map-card,
  .map {
    min-height: 360px;
  }

  .featured-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .featured-gallery img,
  .featured-gallery img:first-child {
    grid-row: auto;
    height: 160px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer {
    display: block;
    padding: 34px 16px 92px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 28px rgba(12, 17, 29, .12);
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    min-height: 58px;
    border-right: 1px solid var(--line);
    color: #2b3441;
    font-size: 13px;
    font-weight: 900;
  }

  .mobile-actions a:first-child {
    background: var(--accent);
    color: #111;
  }

  .mobile-actions a:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
