/* ===== Reset & base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', Arial, Helvetica, sans-serif;
  color: #111;
  background: #000;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { font-family: 'Pretendard', sans-serif; }
section { position: relative; }

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.92);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.site-header.header-solid {
  background-color: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.site-header.header-solid .main-nav > ul > li > a {
  color: #101828;
}
.site-header.header-solid .menu-toggle span {
  background: #101828;
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { height: 34px; width: auto; }

.main-nav { display: flex; align-items: stretch; }
.main-nav ul {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 40px;
}
.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > ul > li > a {
  position: relative;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 10px 0;
  display: inline-block;
  cursor: default;
}
.main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%;
  height: 2px;
  background: #E2140A;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.main-nav > ul > li:hover > a::after,
.main-nav > ul > li:focus-within > a::after {
  transform: scaleX(1);
}

/* Mega dropdown: full-width panel that drops below the fixed header */
.main-nav .dropdown {
  position: fixed;
  top: var(--header-h, 70px);
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  background: #ffffff;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  padding: 30px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .28s ease, transform .28s ease, visibility 0s linear .28s;
}
.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease, visibility 0s;
}
/* Simple dropdowns keep the full-width white panel, but the link group
   itself shifts to sit under its own trigger instead of the page center. */
.main-nav .dropdown .dropdown-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  transform: translateX(var(--dropdown-x, 0px));
}
.main-nav .dropdown li a {
  display: block;
  padding: 9px 0;
  font-size: 15px;
  color: #344054;
  white-space: nowrap;
  transition: color .18s ease, transform .18s ease;
}
.main-nav .dropdown li a:hover { color: #ef8b24; transform: translateX(4px); }
.main-nav .dropdown li.sub {
  padding: 6px 0 6px 16px;
  font-size: 12px;
  color: #98A2B3;
}
.main-nav .dropdown li.dropdown-heading {
  padding: 0 0 10px;
}
.main-nav .dropdown li.dropdown-heading a {
  display: inline-block;
  padding: 0;
  font-family: 'Pretendard', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ef8b24;
}
.main-nav .dropdown li.dropdown-heading a:hover { color: #c96d10; transform: none; }
.main-nav .dropdown.dropdown--grid .dropdown-inner > ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-toggle {
  display: none;
  width: 32px; height: 24px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.25);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(37px, 6vw, 69px);
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.hero-title-light {
  font-weight: 300;
  color: rgba(255,255,255,0.88);
}
.hero-title-bold {
  font-weight: 700;
}
.hero-divider {
  display: block;
  width: 48px;
  height: 1px;
  margin: 26px auto 22px;
  background: rgba(255,255,255,0.5);
  transform: scaleX(0);
  transform-origin: center;
}
.hero-content p {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(13px, 1.5vw, 17px);
  font-weight: 300;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.8);
}
.hero-content h1,
.hero-content .hero-divider,
.hero-content p {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 1s cubic-bezier(.16,.84,.44,1) forwards;
}
.hero-content .hero-divider { transform: scaleX(0); }
.hero-content h1 { animation-delay: .15s; }
.hero-content .hero-divider {
  animation-name: heroDividerIn;
  animation-delay: .55s;
}
.hero-content p { animation-delay: .75s; }
@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDividerIn {
  to { opacity: 1; transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content h1,
  .hero-content .hero-divider,
  .hero-content p {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .floating-inquiry { animation: none; }
}

/* ===== iw-menu-solution (space solutions) ===== */
.iw-menu-solution.solution-page {
  padding-top: 150px;
}
.iw-menu-solution {
  --color-surface: #F4F7FC;
  --color-card: #FFFFFF;
  --color-title: #101828;
  --color-body: #475467;
  --color-accent: #E2140A;
  --color-muted: #98A2B3;
  --color-line: #D7DEEA;
  --color-photo-bg: #FDECEB;
  width: 100%;
  background: #fff;
  color: var(--color-title);
  font-family: 'Pretendard', sans-serif;
  padding: 90px 0;
}
.iw-menu-solution .iw-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px;
}
.iw-menu-solution .iw-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.iw-menu-solution .iw-main-title { width: 100%; max-width: 900px; }
.iw-menu-solution .iw-main-title p {
  font-family: 'Pretendard', sans-serif;
  color: var(--color-title);
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.iw-menu-solution .iw-main-desc { width: 100%; max-width: 720px; }
.iw-menu-solution .iw-main-desc p {
  color: var(--color-body);
  font-size: 17px;
  line-height: 1.75;
}
.iw-menu-solution .iw-tablist-wrap {
  display: flex;
  justify-content: center;
  margin-top: 38px;
  border-bottom: 1px solid var(--color-line);
}
.iw-menu-solution .iw-tablist {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.iw-menu-solution .iw-tab {
  display: flex;
  align-items: baseline;
  gap: 9px;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: var(--color-muted);
  padding: 16px 24px 13px;
  font-family: 'Pretendard', sans-serif;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.iw-menu-solution .iw-tab-num { font-size: 12px; font-weight: 700; color: var(--color-line); transition: color .2s ease; }
.iw-menu-solution .iw-tab:hover { color: var(--color-title); }
.iw-menu-solution .iw-tab[data-state='active'] { background: none; color: var(--color-title); border-bottom-color: var(--color-accent); }
.iw-menu-solution .iw-tab[data-state='active'] .iw-tab-num { color: var(--color-accent); }
.iw-menu-solution .iw-panel-stage { margin-top: 34px; }
.iw-menu-solution .iw-panel {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
  padding: 36px;
  border-radius: 32px;
  background: var(--color-card);
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.08);
}
.iw-menu-solution .iw-panel[hidden] { display: none; }
.iw-menu-solution .iw-panel-media {
  flex: 0 0 auto;
  width: min(100%, 360px);
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-photo-bg);
  border: 1px solid var(--color-line);
}
.iw-menu-solution .iw-photo {
  display: block; width: 100%; height: 100%; object-fit: cover;
}
.iw-menu-solution .iw-panel-copy {
  flex: 1 1 50%; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding-left: 24px;
  border-left: 3px solid var(--color-accent);
}
.iw-menu-solution .iw-panel-kicker {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.iw-menu-solution .iw-panel-title p {
  font-family: 'Pretendard', sans-serif;
  color: var(--color-title);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.iw-menu-solution .iw-panel-desc p { color: var(--color-body); font-size: 17px; line-height: 1.78; }
.iw-menu-solution .iw-panel-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 6px;
  color: var(--color-accent); font-size: 18px; font-weight: 700;
  transition: gap .2s ease, opacity .2s ease;
}
.iw-menu-solution .iw-panel-link:hover { gap: 14px; opacity: .82; }

/* ===== iw-display-grid ===== */
.iw-display-grid {
  --color-overlay: rgba(0,0,0,0.32);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #000;
}
.iw-display-grid.services-page { padding-top: 70px; }
.iw-display-grid .iw-display-card {
  position: relative;
  flex: 1 1 calc(50% - 2px);
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #29334a, #111827);
  color: inherit;
  text-decoration: none;
}
.iw-display-grid .iw-display-image {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.iw-display-grid .iw-display-card:hover .iw-display-image { transform: scale(1.05); }
.iw-display-grid .iw-display-shade {
  position: absolute; z-index: 2; inset: 0;
  background: linear-gradient(110deg, var(--color-overlay), rgba(0,0,0,0.05));
  pointer-events: none;
}
.iw-display-grid .iw-display-copy { position: absolute; z-index: 3; top: 17%; left: 8%; right: 8%; }
.iw-display-grid .iw-display-title p {
  color: #fff; font-size: 34px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em;
  font-family: 'Pretendard', sans-serif;
}
/* Hover overlay — short description + link, filled in later */
.iw-display-grid .iw-display-hover {
  position: absolute; z-index: 4; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.82) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.iw-display-grid .iw-display-card:hover .iw-display-hover {
  opacity: 1;
  transform: translateY(0);
}
.iw-display-grid .iw-display-hover-text {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  line-height: 1.6;
  min-height: 1em;
}
.iw-display-grid .iw-display-hover-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.iw-display-grid .iw-display-subtitle p {
  margin-top: 13px; color: rgba(255,255,255,0.85);
  font-size: 16px; font-weight: 700; letter-spacing: 0.02em;
  font-family: 'Pretendard', sans-serif;
}

/* ===== Tagline band ===== */
.tagline {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tagline-bg {
  position: absolute; inset: 0;
  background-position: 50% 50%;
  background-size: cover;
  filter: grayscale(1);
}
.tagline-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.tagline-text {
  position: relative; z-index: 1;
  color: #fff;
  text-align: center;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.5;
  padding: 0 24px;
}

/* ===== Home business-area cards ===== */
.home-business { background: #F0F1F3; padding: 90px 24px; }
.home-business-head { max-width: 1240px; margin: 0 auto; }
.home-business-eyebrow {
  display: flex; align-items: center; gap: 12px;
  color: #E2140A; font-family: 'Pretendard', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em;
}
.home-business-eyebrow span { display: inline-block; width: 28px; height: 3px; background: #E2140A; }
.home-business-title-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: 14px; flex-wrap: wrap; gap: 10px;
}
.home-business-title-row h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800; letter-spacing: -0.02em; color: #111;
}
.home-business-tagline { font-family: 'Pretendard', sans-serif; font-size: 18px; color: #A9ABB0; font-weight: 300; }
.home-business-grid {
  max-width: 1240px; margin: 40px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.home-business-card {
  display: block; background: #fff; border-radius: 6px; padding-bottom: 26px;
  overflow: hidden; box-shadow: 0 4px 16px rgba(17,17,17,0.05); color: inherit; text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.home-business-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(17,17,17,0.1); }
.home-business-card img { width: 100%; aspect-ratio: 5/3; object-fit: cover; display: block; }
.home-card-num { display: block; margin: 20px 24px 0; font-family: 'Pretendard', sans-serif; font-size: 15px; color: #C6C7CB; }
.home-card-title {
  display: flex; align-items: center; gap: 8px; margin: 10px 24px 0;
  font-family: 'Pretendard', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: 0.01em;
}
.home-card-title svg { width: 22px; height: 22px; flex: 0 0 auto; }
.home-card-title--red { color: #E2140A; }
.home-card-title--orange { color: #F97E06; }
.home-business-card h4 { margin: 12px 24px 0; font-size: 21px; font-weight: 800; color: #111; }
.home-business-card p { margin: 14px 24px 0; font-size: 14px; line-height: 1.7; color: #A0A1A5; }
@media (max-width: 900px) {
  .home-business-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .home-business { padding: 60px 20px; }
  .home-business-grid { grid-template-columns: 1fr; gap: 18px; }
  .home-business-title-row { flex-direction: column; align-items: flex-start; }
}

/* ===== Home stats strip ===== */

/* ===== Featured Case ===== */
.featured-case {
  background: #fff;
  padding: 100px 24px;
  text-align: center;
}
.featured-case h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
  margin-bottom: 44px;
}
.case-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  height: clamp(440px, 46vw, 620px);
}
.case-grid .case-feature,
.case-grid .case-secondary {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
  color: inherit;
}
.case-grid figure { margin: 0; height: 100%; }
.case-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-grid .case-feature:hover img,
.case-grid .case-secondary:hover img { transform: scale(1.06); }
.case-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.72));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.case-grid .case-feature figcaption { padding: 28px 26px; font-size: 17px; }
.case-secondary-col { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; height: 100%; }

@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; height: auto; }
  .case-grid .case-feature { aspect-ratio: 4 / 3; height: auto; }
  .case-secondary-col { grid-template-rows: none; gap: 20px; height: auto; }
  .case-grid .case-secondary { aspect-ratio: 4 / 3; height: auto; }
}

/* ===== Contact ===== */
.contact {
  height: 56vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0;
  background-position: 50% 50%;
  background-size: cover;
}
.contact-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.contact-content { position: relative; z-index: 1; text-align: center; color: #fff; }
.contact-content h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 24px;
}
.contact-content p { margin-top: 10px; font-size: 16px; }
.contact-content a:hover { text-decoration: underline; }

/* ===== Location page ===== */
.location-page {
  background: #fff;
  padding: 130px 24px 60px;
}
.location-page picture,
.location-page img {
  display: block;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  border-radius: 12px;
}

/* ===== About page ===== */
.about-page {
  background: #fff;
  padding-top: 110px;
}

/* Intro: logo + heading + hero photo */
.about-intro {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-intro-logo { height: 64px; width: auto; margin-bottom: 32px; }
.about-intro-copy h1 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: #111;
}
.about-intro-copy h1 span { color: #E2140A; }
.about-intro-copy p {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.75;
  color: #8F8F91;
}
.about-intro-media { border-radius: 4px; overflow: hidden; }
.about-intro-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Business area cards */
.about-business {
  background: #F0F1F3;
  margin-top: 70px;
  padding: 70px 24px 90px;
}
.about-business-head { max-width: 1240px; margin: 0 auto; }
.about-business-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E2140A;
  font-family: 'Pretendard', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.about-business-eyebrow span { display: inline-block; width: 28px; height: 3px; background: #E2140A; }
.about-business-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.about-business-title-row h2 {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111;
}
.about-business-tagline {
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  color: #A9ABB0;
  font-weight: 300;
}
.about-business-grid {
  max-width: 1240px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-business-card {
  background: #fff;
  border-radius: 6px;
  padding-bottom: 26px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17,17,17,0.05);
}
.about-business-card img { width: 100%; aspect-ratio: 5/3; object-fit: cover; display: block; }
.about-card-num {
  display: block;
  margin: 20px 24px 0;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  color: #C6C7CB;
}
.about-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 24px 0;
  font-family: 'Pretendard', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.about-card-title svg { width: 22px; height: 22px; flex: 0 0 auto; }
.about-card-title--red { color: #E2140A; }
.about-card-title--orange { color: #F97E06; }
.about-business-card h4 {
  margin: 12px 24px 0;
  font-size: 21px;
  font-weight: 800;
  color: #111;
}
.about-business-card p {
  margin: 14px 24px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #A0A1A5;
}

/* Closing band */
.about-closing {
  position: relative;
  padding: 110px 24px;
  overflow: hidden;
  background: #fff;
}
.about-closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/wave-pattern.svg');
  background-size: 900px auto;
  background-repeat: repeat;
  background-position: center;
}
.about-closing-inner { position: relative; max-width: 800px; margin: 0 auto; text-align: center; }
.about-closing-inner h2 {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}
.about-closing-inner h2 span { color: #E2140A; }
.about-closing-inner > p {
  margin-top: 20px;
  font-size: 15px;
  color: #A0A1A5;
}
.about-closing-divider {
  display: block;
  width: 36px;
  height: 2px;
  background: #E2140A;
  margin: 32px auto;
}
.about-closing-inner strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #111;
}
.about-closing-en {
  display: block;
  margin-top: 8px;
  font-family: 'Pretendard', sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #C6C7CB;
}

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; padding: 40px 20px 0; }
  .about-intro-logo { height: 48px; margin-bottom: 20px; }
  .about-intro-copy h1 { font-size: 22px; }
  .about-business { padding: 50px 20px 60px; margin-top: 50px; }
  .about-business-title-row { flex-direction: column; align-items: flex-start; }
  .about-business-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-closing { padding: 70px 20px; }
}

/* ===== Showcase (SOLUTION page) ===== */
.showcase {
  --color-bg: #FFFFFF;
  --color-title: #111111;
  --color-subtext: #666666;
  --color-body: #5E5E5E;
  --color-line: #E7E7E3;
  width: 100%;
  background: #fff;
  color: var(--color-title);
  font-family: 'Pretendard', sans-serif;
}
.showcase-wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 150px 24px 60px;
  background: var(--color-bg);
}
.showcase-menu-rail { display: flex; justify-content: center; margin-bottom: 72px; border-bottom: 1px solid #E3E7EE; }
.showcase-menu {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.showcase-menu::-webkit-scrollbar { display: none; }
.showcase-tab {
  flex: 0 0 auto;
  appearance: none;
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: inherit;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #98A2B3;
  padding: 18px 26px 15px;
  margin-bottom: -1px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.showcase-tab-num { font-size: 13px; font-weight: 700; color: #D7DEEA; transition: color 0.2s ease; }
.showcase-tab:hover { color: #101828; }
.showcase-tab[data-state='active'] { color: #101828; border-bottom-color: #E2140A; }
.showcase-tab[data-state='active'] .showcase-tab-num { color: #E2140A; }
.showcase-panel { display: none; }
.showcase-panel[data-state='active'] { display: block; }
.showcase-hero-copy { display: flex; align-items: flex-start; gap: 20px; text-align: left; }
.showcase-hero-index { flex: none; width: 118px; font-size: 84px; font-weight: 800; line-height: 0.8; letter-spacing: -0.02em; color: #FDECEB; }
.showcase-hero-text { display: flex; flex-direction: column; gap: 14px; }
.showcase-hero-title { font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; color: var(--color-title); }
.showcase-hero-desc { max-width: 480px; min-height: 58px; font-size: 17px; line-height: 1.7; letter-spacing: -0.02em; color: var(--color-subtext); }
.showcase-media { position: relative; display: block; width: 100%; margin-top: 54px; overflow: hidden; border-radius: 16px; border: 1px solid var(--color-line); }
.showcase-image { display: block; width: 100%; height: auto; aspect-ratio: 1120 / 536; object-fit: cover; }
.frame-corner { position: absolute; z-index: 2; width: 22px; height: 22px; pointer-events: none; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.45)); }
.frame-corner.tl { top: 16px; left: 16px; border-top: 2px solid #fff; border-left: 2px solid #fff; }
.frame-corner.tr { top: 16px; right: 16px; border-top: 2px solid #fff; border-right: 2px solid #fff; }
.frame-corner.bl { bottom: 16px; left: 16px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; }
.frame-corner.br { bottom: 16px; right: 16px; border-bottom: 2px solid #fff; border-right: 2px solid #fff; }
.frame-caption { margin: 14px 2px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-subtext); }
.showcase-detail { max-width: 640px; margin-top: 56px; padding-left: 28px; border-left: 3px solid #E2140A; }
.detail-lead { margin: 0 0 20px; font-size: 28px; font-weight: 800; line-height: 1.45; letter-spacing: -0.02em; color: var(--color-title); }
.detail-lead em { font-style: normal; color: #E2140A; }
.detail-body { margin: 0; font-size: 16px; line-height: 1.85; letter-spacing: -0.01em; color: var(--color-body); }

.showcase-extra { margin-top: 64px; }
.sx-eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-subtext); margin-bottom: 16px; }
.sx-title { margin: 0; font-size: 38px; font-weight: 800; line-height: 1.22; letter-spacing: -0.03em; color: var(--color-title); }
.sx-title em { font-style: normal; color: #E2140A; }
.sx-lead { margin-top: 16px; margin-bottom: 40px; font-size: 17px; line-height: 1.7; color: var(--color-subtext); }

.sx-ruler { position: relative; height: 16px; margin: 0 0 40px; }
.sx-ruler::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-line); }
.sx-ruler::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background-image:
    repeating-linear-gradient(to right, #E2140A 0, #E2140A 2px, transparent 2px, transparent 120px),
    repeating-linear-gradient(to right, var(--color-line) 0, var(--color-line) 1px, transparent 1px, transparent 24px);
  background-position: bottom, bottom;
  background-size: 100% 14px, 100% 8px;
  background-repeat: repeat-x, repeat-x;
}

/* corner tick — echoes the frame-corner marks on the hero image, marking this as an instrument reading */
.sx-readout, .sx-tw { position: relative; }
.sx-readout::before, .sx-tw::before {
  content: "";
  position: absolute; top: -1px; left: -1px;
  width: 16px; height: 16px;
  border-top: 2px solid #E2140A; border-left: 2px solid #E2140A;
  border-top-left-radius: 6px;
  pointer-events: none;
}

.sx-readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--color-line); border-radius: 6px; overflow: hidden; background: #fff; }
.sx-readout.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx-readout-item { padding: 30px 26px; border-right: 1px solid var(--color-line); transition: background-color 0.2s ease; }
.sx-readout-item:last-child { border-right: 0; }
.sx-readout-item:hover { background: #FDF4F3; }
.sx-readout-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-subtext); margin-bottom: 12px; }
.sx-readout-value { display: block; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--color-title); margin-bottom: 14px; transition: color 0.2s ease; }
.sx-readout-item:hover .sx-readout-value { color: #E2140A; }
.sx-readout-desc { margin: 0; font-size: 14px; line-height: 1.65; color: var(--color-body); }

.sx-tw { margin-top: 56px; border: 1px solid var(--color-line); border-radius: 6px; overflow: hidden; }
.sx-tt { padding: 20px 26px; border-bottom: 1px solid var(--color-line); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-subtext); }
.sx-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sx-table th, .sx-table td { padding: 16px 26px; text-align: left; border-bottom: 1px solid var(--color-line); }
.sx-table thead th { background: #FAFBFC; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-subtext); }
.sx-table thead th.best { color: var(--color-title); background: #FAFBFC; box-shadow: inset 0 -2px 0 0 #E2140A; }
.sx-table tbody td { color: var(--color-body); }
.sx-table tbody th { font-weight: 600; color: var(--color-title); }
.sx-table tr:last-child th, .sx-table tr:last-child td { border-bottom: 0; }
.sx-o { color: #E2140A; font-weight: 700; }
.sx-x { color: #C4CBD4; }
.sx-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 32px; background: var(--color-line); border: 1px solid var(--color-line); border-radius: 6px; overflow: hidden; }
.sx-spec { padding: 26px; background: #fff; }
.sx-spec.best { background: #FAFBFC; }
.sx-spec h5 { margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-subtext); }
.sx-spec.best h5 { color: var(--color-title); }
.sx-spec p { margin: 0 0 8px; font-size: 14px; color: var(--color-body); }

.solution-3d {
  width: 100%;
  background: #FFFFFF;
}
.solution-3d-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 100px;
}
.solution-3d-inner iframe {
  display: block;
  width: 100%;
  height: 860px;
  border: 1px solid var(--color-line);
  border-radius: 24px;
}

@media (max-width: 860px) {
  .solution-3d-inner iframe { height: 1320px; }
}

@media (max-width: 768px) {
  .solution-3d-inner { padding: 0 16px 60px; }
  .solution-3d-inner iframe { border-radius: 16px; }

  .showcase-wrap { padding: 110px 16px 28px; }
  .showcase-menu-rail { margin-bottom: 36px; border-bottom: none; }
  .showcase-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: none;
    overflow: visible;
  }
  .showcase-tab {
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
    padding: 14px 8px;
    font-size: 14px;
    gap: 5px;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    border: 1px solid #E3E7EE;
    border-radius: 12px;
    background: #F7F8FA;
  }
  .showcase-tab-num { font-size: 11px; }
  .showcase-tab[data-state='active'] { background: #FDECEB; border-color: #E2140A; }
  .showcase-hero-copy { flex-direction: column; align-items: flex-start; gap: 2px; }
  .showcase-hero-index { width: auto; font-size: 26px; line-height: 1; }
  .showcase-hero-text { gap: 6px; }
  .showcase-hero-title { font-size: 20px; }
  .showcase-hero-desc { max-width: none; font-size: 13px; }
  .showcase-media { margin-top: 28px; border-radius: 12px; }
  .frame-corner { width: 18px; height: 18px; }
  .frame-corner.tl, .frame-corner.tr { top: 12px; }
  .frame-corner.bl, .frame-corner.br { bottom: 12px; }
  .frame-corner.tl, .frame-corner.bl { left: 12px; }
  .frame-corner.tr, .frame-corner.br { right: 12px; }
  .frame-caption { font-size: 10px; letter-spacing: 0.02em; margin-top: 10px; }
  .showcase-image { aspect-ratio: 16 / 10; }
  .showcase-detail { margin-top: 28px; padding-left: 18px; }
  .detail-lead { font-size: 19px; margin-bottom: 12px; }
  .detail-body { font-size: 14px; line-height: 1.75; }
  .showcase-extra { margin-top: 40px; }
  .sx-eyebrow { font-size: 11px; margin-bottom: 10px; }
  .sx-title { font-size: 22px; }
  .sx-lead { font-size: 14px; margin-bottom: 24px; }
  .sx-ruler { margin-bottom: 24px; }
  .sx-readout, .sx-readout.four { grid-template-columns: 1fr; }
  .sx-readout-item { padding: 22px 20px; border-right: 0; border-bottom: 1px solid var(--color-line); }
  .sx-readout-item:last-child { border-bottom: 0; }
  .sx-readout-value { font-size: 22px; }
  .sx-specs { grid-template-columns: 1fr; }
  .sx-tw { overflow-x: auto; }
  .sx-table { min-width: 560px; }
  .sx-table th, .sx-table td { padding: 14px 18px; font-size: 13px; }
}

/* ===== Portfolio list ===== */
.portfolio-list { background: #F4F7FC; padding: 150px 24px 100px; min-height: 60vh; }
.portfolio-list--continued { padding-top: 64px; }
.portfolio-list-head { max-width: 1240px; margin: 0 auto 48px; text-align: center; }
.portfolio-list-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.portfolio-list-head .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: transparent; border: 1.5px solid #E2140A; color: #101828; font-size: 13px; font-weight: 700;
}
.portfolio-list-head h1 {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #101828;
}
.portfolio-list-head p { color: #475467; font-size: 15px; }
.portfolio-list-head h1 + .portfolio-list-head-row { margin-top: 12px; }
.portfolio-list-head-row--search { position: relative; justify-content: flex-end; }
.portfolio-list-head-row--search p {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  margin: 0; text-align: center; white-space: nowrap;
}
.portfolio-category-group { margin-bottom: 56px; }
.portfolio-category-group:last-child { margin-bottom: 0; }
.portfolio-category-heading {
  max-width: 1240px;
  margin: 0 auto 20px;
  font-family: 'Pretendard', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #101828;
  text-align: left;
}
.portfolio-category-count { margin-left: 4px; font-weight: 700; }
.portfolio-search-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.portfolio-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E4E7EC;
  min-width: 220px;
}
.portfolio-search svg { width: 16px; height: 16px; color: #98A2B3; flex: none; }
.portfolio-search button {
  display: flex;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: #98A2B3;
}
.portfolio-search button:hover { color: #475467; }
.portfolio-search-input,
.portfolio-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  color: #101828;
}
.portfolio-search-input::placeholder,
.portfolio-search input::placeholder { color: #98A2B3; }
.portfolio-search-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #98A2B3;
  padding: 60px 0;
}
.portfolio-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.overview-group-links {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.overview-group-card {
  position: relative;
  display: block;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
}
.overview-group-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.overview-group-card:hover img { transform: scale(1.06); }
.overview-group-card-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.7) 100%);
}
.overview-group-card-title {
  position: absolute; left: 20px; bottom: 16px; z-index: 1;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
@media (max-width: 640px) {
  .overview-group-card { height: 160px; }
  .overview-group-card-title { font-size: 16px; left: 16px; bottom: 12px; }
}
.portfolio-card {
  display: block;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(17, 24, 39, 0.1); }
.portfolio-card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.portfolio-card-media .portfolio-card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.portfolio-card-image--hover {
  opacity: 0;
  transition: opacity .4s ease;
}
.portfolio-card:hover .portfolio-card-image--hover { opacity: 1; }
.portfolio-card-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.portfolio-card-body { padding: 20px 22px 24px; }
.portfolio-card-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.portfolio-card-location {
  font-size: 13px;
  font-weight: 600;
  color: #667085;
}
.portfolio-card-category {
  display: inline-block;
  margin-left: auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: #F2F4F7;
  color: #475467;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.portfolio-card-title {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  line-height: 1.4;
}
.portfolio-card-date { display: block; margin-top: 10px; color: #98A2B3; font-size: 13px; }
.portfolio-empty { grid-column: 1 / -1; text-align: center; color: #98A2B3; padding: 60px 0; }

.portfolio-pagination {
  max-width: 1240px;
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.portfolio-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 8px;
  border: 1px solid #E3E7EE;
  background: #fff;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.portfolio-page-btn:hover { border-color: #2156E8; color: #2156E8; }
.portfolio-page-btn.is-active {
  background: #2156E8;
  border-color: #2156E8;
  color: #fff;
}

@media (max-width: 900px) {
  .portfolio-list { padding: 110px 20px 60px; }
  .portfolio-list--continued { padding-top: 50px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 20px; }
  .portfolio-list-head-row { flex-wrap: nowrap; }
  .portfolio-search { min-width: 0; flex: 1; max-width: 200px; padding: 8px 12px; }
  .portfolio-search-input,
  .portfolio-search input { min-width: 0; }
}
@media (max-width: 640px) {
  /* Too narrow for the tagline to float centered without colliding
     with the search box — stack it above instead. */
  .portfolio-list-head-row--search { position: static; justify-content: space-between; flex-wrap: wrap; }
  .portfolio-list-head-row--search p {
    position: static; transform: none; text-align: left; white-space: normal;
    flex: 1 1 100%; margin: 0 0 10px;
  }
}

/* ===== Portfolio detail ===== */
.portfolio-detail { background: #fff; padding: 150px 24px 100px; }
.portfolio-detail-head { max-width: 900px; margin: 0 auto; text-align: center; }
.portfolio-detail-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-detail-category {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: #F2F4F7;
  color: #475467;
  font-size: 13px;
  font-weight: 700;
}
.portfolio-detail-head h1 {
  margin-top: 18px;
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  color: #101828;
  line-height: 1.3;
}
.portfolio-detail-location {
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #667085;
}
.portfolio-detail-meta {
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
  color: #98A2B3;
  font-size: 14px;
}
.portfolio-detail-cover {
  max-width: 1080px;
  margin: 48px auto 0;
}
.portfolio-detail-cover img { width: 100%; display: block; }
.portfolio-detail-body {
  max-width: 760px;
  margin: 48px auto 0;
  color: #344054;
  font-size: 17px;
  line-height: 1.85;
}
.portfolio-detail-body p { margin-bottom: 22px; }
.portfolio-detail-body img { width: 100%; border-radius: 16px; margin: 24px 0; }
.yt-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 24px 0; border-radius: 16px; overflow: hidden; background: #000; }
.yt-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.portfolio-detail-gallery {
  max-width: 1080px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: 16px;
}
.portfolio-detail-gallery img { width: 100%; height: auto; display: block; }
.portfolio-detail-back {
  display: block;
  max-width: 760px;
  margin: 56px auto 0;
  text-align: center;
  color: #2156E8;
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 900px) {
  .portfolio-detail { padding: 110px 20px 60px; }
  .portfolio-detail-body { font-size: 15px; }
  .portfolio-detail-gallery { grid-template-columns: 1fr; }
}

/* ===== Service detail (사업영역 카드 상세 페이지) ===== */
.service-hero {
  position: relative;
  height: 46vh;
  min-height: 340px;
  max-height: 520px;
  overflow: hidden;
  background: #0A0A0C;
}
.service-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: .82;
}
.service-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.8) 100%);
}
.service-hero-inner {
  position: relative; z-index: 2; height: 100%;
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 130px 24px 48px; color: #fff;
}
.service-hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .28em;
  color: rgba(255,255,255,.72); text-transform: uppercase;
}
.service-hero-title {
  margin-top: 14px; font-family: 'Pretendard', sans-serif; font-weight: 800;
  font-size: clamp(32px, 5vw, 54px); letter-spacing: -.02em; line-height: 1.1;
}
.service-hero-subtitle { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.78); }

.service-page-body { background: #fff; }
.service-page-body.no-hero { padding-top: 150px; }
.service-body-band { background: #F4F7FC; }
.service-body { max-width: 720px; margin: 0 auto; padding: 72px 24px 0; color: #344054; font-size: 17px; line-height: 1.85; }
.service-body p { margin-bottom: 22px; }
.service-body p:last-child { margin-bottom: 0; }

.service-gallery { max-width: 1240px; margin: 88px auto 0; padding: 0 24px 110px; }
.service-gallery-head { text-align: center; margin-bottom: 36px; }
.service-gallery-head .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: #EAF0FF; color: #2156E8; font-size: 13px; font-weight: 700;
}
.service-gallery-head h2 {
  margin-top: 16px; font-family: 'Pretendard', sans-serif; font-weight: 700;
  font-size: clamp(24px, 3vw, 32px); color: #101828;
}
.service-gallery-more {
  display: block; text-align: center; margin-top: 40px;
  color: #2156E8; font-weight: 700; font-size: 15px;
}

.service-cta { max-width: 720px; margin: 0 auto; padding: 0 24px 110px; text-align: center; }
.service-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 32px; border-radius: 999px;
  background: #101828; color: #fff; font-weight: 700; font-size: 15px;
  transition: background-color .2s ease;
}
.service-cta-btn:hover { background: #000; }
.service-cta-back {
  display: block; margin-top: 20px; color: #98A2B3; font-size: 14px; font-weight: 600;
}
.service-cta-back:hover { color: #475467; }

@media (max-width: 640px) {
  .service-hero { height: 40vh; min-height: 260px; }
  /* Fixed px stops instead of % — a percentage gradient compresses into
     what reads as a flat block on this much shorter mobile hero height. */
  .service-hero::after {
    background: linear-gradient(180deg,
      rgba(0,0,0,.35) 0px,
      rgba(0,0,0,.1) 60px,
      rgba(0,0,0,.1) calc(100% - 100px),
      rgba(0,0,0,.6) 100%
    );
  }
  .service-hero-inner { padding: 104px 20px 36px; }
  .service-body { margin-top: 52px; font-size: 15.5px; }
  .service-gallery { margin-top: 60px; padding: 0 20px 80px; }
  .service-page-body.no-hero { padding-top: 110px; }
}

/* ===== Contact CTA (home) ===== */
.contact-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 30px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #fff;
  transition: background-color .2s ease, color .2s ease;
}
.contact-cta:hover { background: #fff; color: #000; }

/* ===== Page banner (contact.html) ===== */
.page-banner {
  padding: 180px 24px 70px;
  background: #000;
  color: #fff;
  text-align: center;
}
.page-banner h1 {
  font-family: 'Pretendard', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-banner p {
  margin-top: 14px;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
}

/* ===== Quote form section ===== */
.quote-section { background: #F4F7FC; padding: 80px 24px 120px; }
.quote-wrap {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: start;
}
.quote-form {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.06);
}
.quote-form .form-group { margin-bottom: 22px; }
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.quote-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #101828;
  margin-bottom: 8px;
}
.quote-form .required { color: #E8322A; margin-left: 3px; font-style: normal; }
.quote-form select,
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #D7DEEA;
  border-radius: 10px;
  font-family: 'Pretendard', sans-serif;
  font-size: 15px;
  color: #101828;
  background: #fff;
  transition: border-color .2s ease;
}
.quote-form select:focus,
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #2156E8;
}
.quote-form textarea { resize: vertical; min-height: 120px; }
.quote-form .consent-box {
  max-height: 70px;
  overflow-y: auto;
  padding: 14px 16px;
  border: 1px solid #D7DEEA;
  border-radius: 10px;
  background: #F8FAFC;
  font-size: 13px;
  line-height: 1.7;
  color: #475467;
}
.quote-form .consent-box p { margin: 0 0 6px; }
.quote-form .consent-box p:last-child { margin-bottom: 0; }
.quote-form .consent-box strong { color: #101828; }
.quote-form .consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 500;
  color: #101828;
  cursor: pointer;
}
.quote-form .consent-check input[type="checkbox"] {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: #2156E8;
  cursor: pointer;
}
.phone-wrap { display: flex; align-items: center; gap: 10px; }
.phone-wrap input { width: 84px; text-align: center; }
.phone-wrap span { color: #98A2B3; }
.form-hint { margin: -6px 0 22px; font-size: 13px; color: #667085; }

.btn-submit {
  width: 100%;
  padding: 16px;
  border: 0;
  border-radius: 10px;
  background: #2156E8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, opacity .2s ease;
}
.btn-submit:hover { background: #1a45c0; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.form-status { margin-top: 14px; font-size: 14px; text-align: center; min-height: 20px; }
.form-status.error { color: #E8322A; }
.form-status.sending { color: #98A2B3; }

.quote-side {
  background: #101828;
  border-radius: 24px;
  padding: 40px 32px;
  color: #fff;
}
.quote-side h2 {
  font-family: 'Pretendard', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 28px;
}
.quote-side ul { list-style: none; }
.quote-side li {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.quote-side li:first-child { border-top: 0; }
.quote-side .icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(33, 86, 232, 0.16);
  color: #6E9BFF;
}
.quote-side .icon svg { width: 17px; height: 17px; }
.quote-side .text { display: flex; flex-direction: column; }
.quote-side .label { font-size: 12px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.quote-side a { font-size: 16px; font-weight: 600; }
.quote-side a:hover { color: #6E9BFF; }

@media (max-width: 860px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-form { padding: 28px; }
}

/* ===== Success modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: center;
  max-width: 320px;
  width: 100%;
}
.modal-box p { font-size: 16px; color: #101828; margin-bottom: 20px; }
.modal-box button {
  padding: 11px 28px;
  border: 0;
  border-radius: 999px;
  background: #101828;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ===== Floating quick menu ===== */
.floating-menu {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.floating-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none !important;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.25);
}
.floating-circle svg { width: 27px; height: 27px; display: block; }
.floating-naver {
  background-color: #03c75a;
  color: #fff !important;
  font-family: 'Pretendard', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.floating-kakao {
  background-color: #fee500;
  color: #191919 !important;
}
.floating-instagram {
  color: #fff !important;
  background: radial-gradient(circle at 30% 105%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.floating-phone {
  display: none;
  background-color: #2156E8;
  color: #fff !important;
}
.floating-inquiry {
  width: 56px;
  height: 56px;
  min-width: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  position: relative;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8231f, #ef8b24);
  color: #fff !important;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
.floating-inquiry::after {
  content: '';
  position: absolute;
  right: 14px;
  bottom: -7px;
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 9px solid #ef8b24;
}
.floating-circle, .floating-inquiry { transition: transform 0.2s ease; }
.floating-circle:hover, .floating-inquiry:hover { transform: translateY(-3px); }

/* Draw the eye: a gentle bob + glow pulse so 문의 stands out from the
   other, static icons. Pauses on hover so the lift transition above
   still reads cleanly, and is switched off for reduced-motion users. */
@keyframes inquiryFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes inquiryGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(216, 35, 31, 0.35); }
  50% { box-shadow: 0 10px 30px rgba(216, 35, 31, 0.7); }
}
.floating-inquiry {
  animation: inquiryFloat 2.6s ease-in-out infinite, inquiryGlow 2.6s ease-in-out infinite;
}
.floating-inquiry:hover { animation-play-state: paused; }

/* Mobile-only collapse: a single black toggle FAB stands in for the whole
   group so the icon cluster doesn't sit on top of page content until
   the visitor asks for it. Desktop keeps everything always visible. */
.floating-toggle {
  display: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: #101828;
  color: #fff;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.25);
}
.floating-toggle svg { width: 24px; height: 24px; transition: transform 0.25s ease; }
.floating-menu.is-open .floating-toggle svg { transform: rotate(45deg); }

@media (max-width: 640px) {
  .floating-menu { right: 15px; bottom: 15px; gap: 10px; }
  .floating-circle { width: 48px; height: 48px; }
  .floating-circle svg { width: 23px; height: 23px; }
  .floating-naver { font-size: 15px; }
  .floating-inquiry { width: 48px; height: 48px; font-size: 15px; }
  .floating-inquiry::after { right: 12px; }
  .floating-phone { display: flex; order: -1; }

  .floating-toggle { display: flex; }
  .floating-menu .floating-circle,
  .floating-menu .floating-inquiry {
    opacity: 0;
    transform: translateY(10px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .floating-menu.is-open .floating-circle,
  .floating-menu.is-open .floating-inquiry {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* ===== Footer ===== */
.site-footer { background: #000; padding: 48px 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.footer-info { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.9; }
.footer-info .footer-company { color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.footer-lang-row { display: flex; align-items: stretch; gap: 80px; }
.footer-lang-col { flex: 0 1 auto; min-width: 0; }
.footer-lang-col p { white-space: nowrap; }
.footer-lang-divider { width: 1px; background: rgba(255,255,255,0.15); align-self: stretch; }
.footer-info .footer-divider { border: 0; border-top: 1px solid rgba(255,255,255,0.12); margin: 16px 0 12px; }
.footer-info .copyright { margin-top: 0; color: rgba(255,255,255,0.35); }
.footer-links a { font-family: 'Pretendard', sans-serif; font-size: 13px; letter-spacing: 0.1em; color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: #fff; }

/* ===== Responsive ===== */
.mobile-only { display: none; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.97);
    padding: 24px;
    overflow-y: auto;
  }
  .main-nav.open ul { flex-direction: column; gap: 0; align-items: stretch; }
  .main-nav.open > ul > li {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .main-nav.open > ul > li > a { padding: 16px 0; font-size: 16px; }
  .site-header.header-solid .main-nav.open > ul > li > a,
  .main-nav.open > ul > li > a {
    color: #E2140A;
  }
  .main-nav.open .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    padding: 0 0 12px 12px;
  }
  .main-nav.open .dropdown.dropdown--grid {
    flex-direction: column;
    gap: 0;
  }
  .main-nav.open .dropdown-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    transform: none;
  }
  .main-nav.open .dropdown li a { color: rgba(255,255,255,0.75); }
  .main-nav.open .dropdown li a:hover { color: #fff; }
  .main-nav.open .dropdown li.sub { color: rgba(255,255,255,0.4); }
  .main-nav.open .dropdown li.dropdown-heading a { color: #ef8b24; }
  .menu-toggle { display: flex; }
  .iw-menu-solution .iw-tablist-wrap { display: block; margin-top: 28px; border-bottom: none; }
  .iw-menu-solution .iw-tablist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .iw-menu-solution .iw-tab {
    justify-content: center;
    width: 100%;
    margin-bottom: 0;
    padding: 13px 8px;
    font-size: 14px;
    gap: 5px;
    text-align: center;
    word-break: keep-all;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-surface);
  }
  .iw-menu-solution .iw-tab-num { font-size: 10px; }
  .iw-menu-solution .iw-tab[data-state='active'] { background: var(--color-photo-bg); border-color: var(--color-accent); }
  .iw-menu-solution .iw-panel { flex-direction: column; align-items: stretch; gap: 24px; padding: 24px; border-radius: 24px; }
  .iw-menu-solution .iw-panel-media { width: 100%; max-width: none; margin: 0 auto; }
  .iw-menu-solution .iw-main-title p { font-size: 28px; }
  .iw-menu-solution .iw-panel-title p { font-size: 26px; }
  .iw-display-grid .iw-display-card { flex-basis: 100%; aspect-ratio: 4 / 3; }
  .case-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-lang-row { flex-direction: column; gap: 12px; }
  .footer-lang-divider { width: 100%; height: 1px; }
  .footer-lang-col p { white-space: normal; }
  .mobile-only { display: inline; }
}
