:root {
  --brand: #0756b5;
  --brand-deep: #063d84;
  --brand-bright: #1b73d1;
  --ink: #0f2138;
  --muted: #5f6f82;
  --line: #dfe6ee;
  --soft: #f4f7fb;
  --white: #ffffff;
  --dark: #07192d;
  --shadow: 0 22px 60px rgba(14, 42, 75, 0.14);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #69aefa; outline-offset: 4px; border-radius: 4px; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 51, 87, .08);
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -.04em;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  color: #34485d;
  font-size: .94rem;
  font-weight: 700;
}
.desktop-nav a { position: relative; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  font-weight: 850;
  letter-spacing: -.02em;
  box-shadow: 0 10px 24px rgba(7,86,181,.2);
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-media,
.hero-overlay { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(.86) contrast(1.04);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(3,25,53,.95) 0%, rgba(3,25,53,.82) 38%, rgba(3,25,53,.34) 66%, rgba(3,25,53,.12) 100%),
    linear-gradient(0deg, rgba(2,20,43,.34), transparent 48%);
}
.hero-content { position: relative; z-index: 2; padding: 92px 0; }
.hero-copy { max-width: 720px; color: var(--white); }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 1.08;
  letter-spacing: -.065em;
  font-weight: 900;
}
.hero p {
  margin: 0;
  color: rgba(255,255,255,.83);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 620;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btn {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 850;
  letter-spacing: -.02em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: var(--brand);
  box-shadow: 0 14px 32px rgba(3, 76, 163, .28);
}
.btn-primary:hover { background: #0962c8; }
.btn-ghost {
  color: var(--white);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-outline { border: 1px solid #bdc9d6; background: #fff; color: var(--ink); }
.section { padding: 118px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: var(--white); }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading.light p { color: rgba(255,255,255,.65); }
.section-heading h2,
.about-copy h2,
.location-copy h2,
.final-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -.055em;
  font-weight: 900;
}
.section-heading p,
.about-copy > p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.service-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  right: -40px;
  top: -40px;
  background: rgba(7,86,181,.06);
}
.service-card:hover { transform: translateY(-5px); border-color: #afc9e7; box-shadow: var(--shadow); }
.service-num { position: absolute; top: 25px; left: 28px; color: #8aa8c9; font-weight: 900; font-size: .8rem; letter-spacing: .08em; }
.service-card h3 { margin: 0 0 6px; font-size: 1.45rem; letter-spacing: -.045em; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.service-areas { padding-top: 0; }
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.area-item { padding: 26px 24px; border-right: 1px solid var(--line); }
.area-item:last-child { border-right: 0; }
.area-item h3 { margin: 0 0 5px; font-size: 1.2rem; letter-spacing: -.035em; }
.area-item p { margin: 0; color: var(--muted); font-size: .94rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: 78px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #d7dee7;
  aspect-ratio: 4 / 5;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 12px 16px;
  color: #fff;
  background: rgba(5,39,81,.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
}
.photo-badge strong { font-size: 1.3rem; }
.photo-badge span { font-weight: 800; }
.about-copy > p { margin-top: 20px; line-height: 1.9; }
.business-info { margin: 34px 0 0; border-top: 1px solid #d7e0e9; }
.business-info div { padding: 16px 0; display: grid; grid-template-columns: 160px 1fr; gap: 18px; border-bottom: 1px solid #d7e0e9; }
.business-info dt { font-weight: 850; }
.business-info dd { margin: 0; color: var(--muted); }
.business-info dd a { color: var(--brand); font-weight: 850; }

.process-list {
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.process-list li {
  min-height: 160px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.process-list li:last-child { border-right: 0; }
.process-list li > span { color: var(--brand); font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.process-list strong { display: block; margin-top: 16px; font-size: 1.22rem; letter-spacing: -.04em; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 16px;
}
.gallery-column { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gallery-item { margin: 0; position: relative; overflow: hidden; border-radius: 20px; background: #0a2748; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-photo img { height: auto; object-fit: contain; }
.gallery-logo { background: #fff; }
.gallery-logo img { object-fit: contain; padding: 48px; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,13,31,.56), transparent 45%); pointer-events: none; }
.gallery-item figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #fff; font-weight: 800; font-size: .92rem; }

@media (min-width: 761px) {

  .gallery-grid {
    display: grid;
    grid-template-columns: 1.12fr .88fr;

    grid-template-areas:
      "logo     interior-one"
      "exterior interior-one"
      "exterior interior-two"
      "exterior interior-two";

    /* 갤러리 전체 높이 */
    height: 720px;

    /* 위 로고는 짧게, 외관은 길게 */
    grid-template-rows:
      190px
      150px
      150px
      182px;

    gap: 16px;
  }

  /* 모든 카드가 grid 크기를 억지로 밀어내지 못하도록 */
  .gallery-item {
    min-width: 0;
    min-height: 0;
  }


  /* --------------------
     좌측 상단 로고
  -------------------- */

  .gallery-logo {
    grid-area: logo;

    /* ★ 기존 aspect-ratio: 1.6 해제 */
    aspect-ratio: auto;

    width: 100%;
    height: 100%;
  }

.gallery-logo img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
}


  /* --------------------
     좌측 외관
  -------------------- */

  .gallery-main {
    grid-area: exterior;

    width: 100%;
    height: 100%;
  }

  .gallery-main img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    /* 간판을 최대한 살림 */
    object-position: center top;
  }


  /* --------------------
     우측 상단
  -------------------- */

  .gallery-grid > .gallery-item:nth-child(3) {
    grid-area: interior-one;

    width: 100%;
    height: 100%;
  }

  .gallery-grid > .gallery-item:nth-child(3) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }


  /* --------------------
     우측 하단
  -------------------- */

  .gallery-grid > .gallery-item:nth-child(4) {
    grid-area: interior-two;

    width: 100%;
    height: 100%;
  }

  .gallery-grid > .gallery-item:nth-child(4) img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.location-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 74px;
  align-items: center;
}
.info-list { margin: 34px 0; border-top: 1px solid var(--line); }
.info-list div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-weight: 850; }
.info-list dd { margin: 0; color: var(--muted); }
.info-list dd a { color: var(--brand); font-weight: 850; }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(20, 51, 86, .1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.map-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.map-visual {
  height: 370px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(35deg, transparent 44%, rgba(142,168,194,.34) 44%, rgba(142,168,194,.34) 48%, transparent 48%),
    linear-gradient(118deg, transparent 38%, rgba(142,168,194,.32) 38%, rgba(142,168,194,.32) 43%, transparent 43%),
    #edf3f7;
}
.map-visual::before,
.map-visual::after {
  content: "";
  position: absolute;
  border-radius: 18px;
  background: rgba(129, 177, 130, .24);
}
.map-visual::before { width: 42%; height: 30%; left: 8%; top: 12%; transform: rotate(-10deg); }
.map-visual::after { width: 34%; height: 24%; right: 8%; bottom: 10%; transform: rotate(8deg); }
.map-pin {
  position: absolute;
  z-index: 2;
  left: 52%;
  top: 46%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 8px;
  transform: translate(-50%, -50%) rotate(-45deg);
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 24px rgba(7,86,181,.3);
  font-size: 0;
}
.map-pin::after { content: ""; width: 13px; height: 13px; border-radius: 50%; background: white; }
.map-card-footer { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.map-card-footer div { display: flex; flex-direction: column; }
.map-card-footer strong { font-size: 1.08rem; }
.map-card-footer span { color: var(--muted); font-size: .9rem; }
.map-card-footer .map-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-size: 1.15rem; }

.final-cta {
  padding: 80px 0;
  background: var(--brand);
  color: #fff;
}
.final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.final-cta h2 { margin: 0 0 10px; }
.final-cta p { color: rgba(255,255,255,.76); }
.cta-phone {
  flex: 0 0 auto;
  min-width: 285px;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.1);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.cta-phone strong { font-size: 1.25rem; letter-spacing: -.03em; }

.site-footer { padding: 34px 0 44px; background: #041222; color: #fff; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.footer-brand { display: flex; align-items: flex-start; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer-brand div { display: flex; flex-direction: column; }
.footer-brand span,
.footer-meta { color: rgba(255,255,255,.55); font-size: .84rem; }
.footer-meta { display: flex; gap: 22px; }
.mobile-call-bar { display: none; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { min-height: 650px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,25,53,.94), rgba(3,25,53,.58)); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .location-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { aspect-ratio: 16/10; }
  .about-photo img { object-position: center 58%; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li { border-bottom: 1px solid var(--line); }
  .process-list li:nth-child(2n) { border-right: 0; }
  .process-list li:last-child { grid-column: span 2; border-bottom: 0; }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .nav-wrap { height: 68px; }
  .brand img { width: 42px; height: 42px; }
  .brand span { font-size: 1rem; }
  .header-call { font-size: .85rem; min-height: 40px; padding: 0 13px; }

  .hero { min-height: 700px; align-items: end; }
  .hero-media img { object-position: 58% center; }
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(2,22,48,.98) 0%, rgba(2,22,48,.88) 37%, rgba(2,22,48,.38) 73%, rgba(2,22,48,.2) 100%);
  }
  .hero-content { padding: 120px 0 54px; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.7rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2,
  .about-copy h2,
  .location-copy h2,
  .final-cta h2 { font-size: 2.15rem; }

  .service-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .service-card { min-height: 175px; padding: 20px; border-radius: 16px; }
  .service-num { top: 18px; left: 20px; }
  .service-card h3 { font-size: 1.18rem; }
  .service-card p { font-size: .82rem; }

  .area-grid { grid-template-columns: 1fr; }
  .area-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .area-item:last-child { border-bottom: 0; }

  .about-grid { gap: 38px; }
  .about-photo { aspect-ratio: 4/5; border-radius: 20px; }
  .about-photo img { object-position: center center; }
  .photo-badge { left: 14px; bottom: 14px; }
  .about-copy > p { font-size: .97rem; }
  .business-info div { grid-template-columns: 112px 1fr; gap: 10px; }
  .business-info dt,
  .business-info dd { font-size: .92rem; }

  .process-list { grid-template-columns: 1fr; border-radius: 16px; }
  .process-list li,
  .process-list li:last-child { grid-column: auto; min-height: 128px; border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; }
  .process-list li:last-child { border-bottom: 0; }
  .process-list strong { margin-top: 12px; }

  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-column { gap: 16px; }
  .gallery-item { border-radius: 16px; }
  .gallery-logo { aspect-ratio: 1; }
  .gallery-logo img { padding: 36px; }

  .location-grid { gap: 38px; }
  .info-list div { grid-template-columns: 112px 1fr; gap: 12px; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; }
  .map-visual { height: 270px; }

  .final-cta { padding: 64px 0; }
  .final-cta-inner { align-items: stretch; flex-direction: column; gap: 28px; }
  .cta-phone { min-width: 0; width: 100%; }

  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-meta { flex-direction: column; gap: 5px; }

  .mobile-call-bar {
    display: block;
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(14,42,75,.12);
  }
  .mobile-call-bar a {
    min-height: 54px;
    border-radius: 14px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(7,86,181,.25);
  }
  .mobile-call-bar span { font-size: .9rem; font-weight: 750; }
  .mobile-call-bar strong { font-size: 1.06rem; }
}

@media (max-width: 380px) {
  .header-call { font-size: .78rem; padding-inline: 10px; }
  .brand span { display: none; }
  .service-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(15, 45, 78, .08);
}

.reveal-ready {
  opacity: 1;
  transform: translateY(0);
}
.reveal-ready.is-visible {
  animation: rise-in .5s ease both;
}
@keyframes rise-in {
  from { opacity: .72; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
