:root {
  --blue-950: #051329;
  --blue-900: #081e3d;
  --blue-700: #005aa8;
  --blue-500: #0878c9;
  --green-500: #5ea825;
  --green-600: #18a94a;
  --orange-500: #f26a21;
  --ink: #111827;
  --muted: #5d6878;
  --line: rgba(255, 255, 255, 0.22);
  --paper: #f6f8fb;
  --white: #ffffff;
  --shadow: 0 30px 60px rgba(4, 15, 33, 0.06);
  --shadow-hover: 0 40px 80px rgba(4, 15, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", "Pretendard", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
  background: var(--white);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.75;
  letter-spacing: -0.015em;
}

h1, h2, h3 {
  letter-spacing: -0.03em;
  font-weight: 800;
}

/* ===== Premium Scroll Animations (Samsung C&T style) ===== */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
    transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ===== Hero Entrance Animation ===== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-copy,
.hero-content .hero-actions {
  opacity: 0;
  animation: heroFadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-content .eyebrow   { animation-delay: 0.2s; }
.hero-content h1          { animation-delay: 0.5s; }
.hero-content .hero-copy  { animation-delay: 0.8s; }
.hero-content .hero-actions { animation-delay: 1.1s; }

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 28px clamp(22px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  padding-top: 18px;
  padding-bottom: 18px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(6, 27, 61, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(190px, 36vw);
  min-width: 148px;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3.6vw, 52px);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.desktop-nav a,
.language-set button {
  opacity: 0.78;
  transition: opacity 160ms ease, color 160ms ease;
}

.desktop-nav a:hover,
.language-set button:hover,
.language-set button[aria-current="true"] {
  color: var(--green-500);
  opacity: 1;
}

.language-set {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
}

.language-set button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.menu-toggle {
  display: inline-grid;
  width: 54px;
  height: 54px;
  padding: 9px 8px 5px;
  color: var(--white);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 31px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
}

.menu-toggle b {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-header.scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
  color: var(--blue-950);
}

.mobile-menu {
  position: fixed;
  z-index: 45;
  inset: 0 0 auto auto;
  display: grid;
  gap: 18px;
  width: min(360px, 100%);
  padding: 110px 34px 40px;
  color: var(--white);
  background: rgba(6, 27, 61, 0.97);
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 22px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 28vw);
  min-height: 100dvh;
  overflow: hidden;
  color: var(--white);
  background: var(--blue-950);
}

.hero-bg {
  position: absolute;
  inset: 0 max(310px, 28vw) 0 0;
  background:
    linear-gradient(90deg, rgba(6, 27, 61, 0.38), rgba(6, 27, 61, 0.08) 54%, rgba(6, 27, 61, 0.42)),
    linear-gradient(0deg, rgba(6, 27, 61, 0.22), rgba(6, 27, 61, 0.02)),
    url("/vietqs/images/gongsabi-market.jpg") center / cover;
  transition: filter 180ms ease, opacity 180ms ease;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 25vw 100%;
  opacity: 0.38;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 2;
  width: max(310px, 28vw);
  background: linear-gradient(180deg, rgba(4, 13, 31, 0.94), rgba(7, 29, 60, 0.86));
}

.section-rail {
  position: absolute;
  z-index: 5;
  top: 24%;
  left: clamp(20px, 6vw, 92px);
  display: grid;
  gap: 15px;
  align-items: center;
  color: var(--white);
  width: min(210px, 18vw);
}

.rail-line {
  width: 68px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.rail-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.rail-item i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 5px rgba(242, 106, 33, 0.15);
}

.rail-item b {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

.rail-item.active {
  color: var(--white);
}

.rail-item.active i {
  background: var(--green-500);
  box-shadow: 0 0 0 6px rgba(104, 189, 42, 0.16);
}

.hero-content {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 900px;
  margin-left: clamp(26px, 28vw, 440px);
  padding: 140px 40px 110px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.36);
}

.hero h1::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 28px 0 32px;
  background: var(--orange-500);
}

.hero-copy {
  max-width: 590px;
  margin: 0;
  font-size: clamp(16px, 1.38vw, 20px);
  line-height: 1.75;
  font-weight: 650;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.42);
}

/* ===== PPT-style Directional Slide Transition ===== */
.hero-bg {
  transition: none;
}

.hero-bg.slide-enter-from-bottom {
  transform: translateY(100%);
}

.hero-bg.slide-enter-from-top {
  transform: translateY(-100%);
}

.hero-bg.slide-enter-active {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translateY(0);
}

.hero-bg-clone {
  position: absolute;
  inset: 0 max(310px, 28vw) 0 0;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-bg-clone.slide-exit-up {
  transform: translateY(-100%);
}

.hero-bg-clone.slide-exit-down {
  transform: translateY(100%);
}

/* Hero content slide transition */
.hero-content {
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero.is-sliding .hero-content {
  opacity: 0;
  transform: translateY(30px);
}

.hero-panel {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero.is-sliding .hero-panel {
  opacity: 0;
  transform: translateY(20px);
}

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

.primary-link,
.ghost-link,
.hero-panel a,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 4px;
  font-weight: 850;
}

.primary-link {
  color: var(--blue-950);
  background: var(--green-500);
}

.ghost-link {
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.hero-panel {
  position: relative;
  z-index: 4;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 146px clamp(32px, 4.3vw, 74px) 80px;
}

.panel-kicker {
  display: none;
}

.hero-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.16;
}

.hero-panel p:not(.panel-kicker) {
  min-height: 84px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

.hero-panel a {
  width: fit-content;
  margin-top: 28px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
}

/* ===== Lotte-style Mouse Scroll Indicator ===== */
.scroll-indicator {
  position: absolute;
  z-index: 6;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

.scroll-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.group-section,
.business-section,
.cad-section,
.projects-section,
.contact-section {
  padding: clamp(120px, 12vw, 180px) clamp(22px, 6vw, 88px);
  scroll-margin-top: 94px;
}

.section-heading {
  display: block;
  margin-bottom: 42px;
}

.section-heading h2,
.cad-content h2,
.contact-section h2 {
  margin: 0 0 24px;
  color: var(--blue-950);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: left;
}

.section-heading p:not(.eyebrow),
.cad-content p {
  margin: 0;
  max-width: 860px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  text-align: left;
}

.group-section {
  background: var(--white);
}

.group-section .section-heading {
  display: block;
  margin-bottom: 42px;
}

.group-section .section-heading .eyebrow {
  margin-bottom: 28px;
}

.group-section .section-heading h2 {
  max-width: none;
  text-align: left;
}

.group-section .section-heading p:not(.eyebrow) {
  max-width: none;
  margin-top: 28px;
}

html[lang="ko"] .group-section .section-heading p:not(.eyebrow) {
  font-size: 16px;
  white-space: nowrap;
}

.group-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: clamp(34px, 6vw, 76px);
}

.brand-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid #dfe6ef;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(6, 27, 61, 0.08);
}

.brand-card img {
  width: min(210px, 72%);
  height: 86px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 24px;
}

.brand-card.vietqs-card {
  color: var(--white);
  border-color: transparent;
  background:
    linear-gradient(145deg, rgba(25, 100, 180, 0.75), rgba(10, 140, 240, 0.7)),
    url("/vietqs/images/hero-construction.jpg") center / cover;
}

.brand-card.vietqs-card img {
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.18));
}

.brand-role {
  margin: 0 0 12px;
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-card h3 {
  margin: 0 0 16px;
  color: var(--blue-950);
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.18;
}

.brand-card.vietqs-card h3,
.brand-card.vietqs-card p:not(.brand-role) {
  color: var(--white);
}

.brand-card p:not(.brand-role) {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

.brand-card a {
  width: fit-content;
  margin-top: auto;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  border-radius: 4px;
  background: var(--blue-700);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-card.vietqs-card a {
  color: var(--blue-950);
  background: var(--green-500);
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(420px, 1.4fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  padding: clamp(30px, 5vw, 58px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 42, 99, 0.98), rgba(0, 90, 168, 0.88)),
    url("/vietqs/images/gongsabi-search.jpg") center / cover;
}

.platform-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.16;
}

.platform-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.78;
}

.platform-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.platform-services article {
  min-height: 250px;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(4, 17, 36, 0.16);
}

.platform-services img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.platform-services h4 {
  margin: 20px 20px 10px;
  color: var(--blue-950);
  font-size: 21px;
}

.platform-services p {
  margin: 0 20px 22px;
  color: var(--muted);
  line-height: 1.68;
}

.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tab-button {
  min-height: 46px;
  padding: 0 20px;
  color: var(--blue-900);
  border: 1px solid #dce4ef;
  border-radius: 4px;
  background: var(--white);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.tab-button.active {
  color: var(--white);
  border-color: var(--blue-700);
  background: var(--blue-700);
}

.service-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  margin-bottom: 32px;
}

.service-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 42, 99, 0.96), rgba(0, 90, 168, 0.84)),
    url("/vietqs/images/about-quantity.jpg") center / cover;
  box-shadow: var(--shadow);
}

.service-number {
  margin: 0 0 24px;
  color: var(--green-500);
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
}

.service-copy h3 {
  margin: 0 0 18px;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.12;
}

.service-copy p:not(.service-number) {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  line-height: 1.8;
}

.service-copy ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 750;
}

.service-copy li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
}

.service-image {
  margin: 0;
  overflow: hidden;
  background: #dfe8f2;
  border-radius: 6px;
}

.service-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 6px;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: #dfe4ec;
}

.business-grid article {
  min-height: 230px;
  padding: 32px;
  background: var(--paper);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.business-grid article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.business-grid span {
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 900;
}

.business-grid h3 {
  margin: 18px 0 12px;
  color: var(--blue-950);
  font-size: 24px;
}

.business-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.cad-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: var(--paper);
}

.cad-visual {
  box-shadow: var(--shadow);
}

.cad-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.cad-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.cad-features span {
  padding: 20px;
  color: var(--blue-950);
  border-left: 4px solid var(--green-500);
  background: var(--white);
  font-weight: 850;
  box-shadow: 0 12px 34px rgba(6, 27, 61, 0.08);
}

.projects-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 27, 61, 0.94), rgba(6, 27, 61, 0.76)),
    url("/vietqs/images/project-towers.jpg") center / cover fixed;
}

.section-heading.light h2,
.section-heading.light p:not(.eyebrow) {
  color: var(--white);
}

.section-heading.light p:not(.eyebrow) {
  opacity: 0.78;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 44px 0;
  background: rgba(255, 255, 255, 0.2);
}

.metrics strong {
  display: grid;
  gap: 10px;
  min-height: 150px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  font-size: 16px;
}

.metrics span {
  color: var(--green-500);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.project-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project-panels article {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 210px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.project-panels article:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.project-panels img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-panels div {
  padding: 30px;
  color: var(--ink);
}

.project-panels h3 {
  margin: 0 0 12px;
  color: var(--blue-900);
  font-size: 25px;
}

.project-panels p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 40px;
  align-items: center;
  color: var(--white);
  background: var(--blue-950);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 90, 168, 0.2), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(104, 189, 42, 0.08), transparent 50%);
  pointer-events: none;
}

.contact-section h2 {
  color: var(--white);
  max-width: none;
  position: relative;
  white-space: pre-line;
  font-size: clamp(16px, 2vw, 28px);
  line-height: 1.5;
  word-break: keep-all;
}

.contact-actions {
  display: grid;
  gap: 14px;
  position: relative;
}

.contact-actions a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition: all 280ms ease;
  backdrop-filter: blur(4px);
}

.contact-actions a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-actions a::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}

.contact-actions a[href^="mailto"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E");
}

.contact-actions a[href^="tel"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 44px 22px;
  color: #d7e0ee;
  text-align: center;
  background: #041124;
}

.site-footer img {
  width: min(190px, 54vw);
  filter: brightness(1.18);
}

.site-footer p,
.site-footer small {
  margin: 0;
}

.site-footer small {
  color: #91a4be;
}


/* ==========================================================================
   Swipe Indicator (데스크탑에서는 기본 숨김)
   ========================================================================== */
.swipe-indicator {
  display: none; /* 데스크탑에서는 숨김 — 모바일 미디어 쿼리에서 활성화 */
}

/* ==========================================================================
   Responsive Web — Tablet & Mobile Media Queries
   ========================================================================== */

/* 1. 태블릿 해상도 (1024px 이하) */
@media screen and (max-width: 1024px) {
  .site-header {
    display: flex;
    justify-content: space-between;
  }
  .desktop-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }
  .hero::after {
    display: none;
  }
  .hero-bg, .hero-bg-clone {
    inset: 0;
  }
  .hero-panel {
    display: none;
  }
  .hero-content {
    margin-left: 0;
    padding: 120px clamp(20px, 5vw, 40px) 100px;
    align-self: center;
  }

  .group-map {
    grid-template-columns: repeat(2, 1fr);
  }
  .platform-band,
  .service-showcase {
    grid-template-columns: 1fr;
  }
}

/* 2. 모바일 해상도 (768px 이하) */
@media screen and (max-width: 768px) {

  /* ── 글로벌 오버플로우 방지 ── */
  html, body {
    overflow-x: hidden;
  }
  body {
    line-height: 1.65;
  }
  * {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* ── 모든 섹션 컨테이너 좌우 안전 여백 ── */
  .group-section,
  .business-section,
  .cad-section,
  .projects-section,
  .contact-section {
    padding: 72px 20px calc(36px + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }

  /* ── 헤더 & 로고 ── */
  .site-header {
    padding: 14px 16px;
  }
  .brand {
    min-width: 120px;
    width: 140px;
  }
  .language-set {
    gap: 8px;
    font-size: 11px;
  }

  /* ── 히어로 배너 타이포그래피 ── */
  .hero h1 {
    font-size: clamp(24px, 7.5vw, 34px);
    line-height: 1.35;
  }
  .hero h1::after {
    width: 40px;
    height: 2px;
    margin: 18px 0 20px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
  }
  .hero-copy {
    font-size: 14px;
    line-height: 1.7;
  }
  .hero-content {
    padding: 110px 20px 100px;
  }

  /* ── 히어로 배너 버튼 터치 최적화 ── */
  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }
  .primary-link,
  .ghost-link {
    min-height: 48px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 6px;
  }

  /* ── 마우스 스크롤 안내 숨김 + 스와이프 안내 표시 ── */
  .scroll-indicator {
    display: none !important;
  }
  .swipe-indicator {
    display: flex !important;
    position: absolute;
    z-index: 6;
    bottom: calc(28px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .swipe-hand {
    display: flex;
    align-items: center;
    gap: 6px;
    animation: swipeHint 2.4s ease-in-out infinite;
  }
  .swipe-arrows {
    display: flex;
    gap: 2px;
  }
  .swipe-arrow-left,
  .swipe-arrow-right {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
  }
  .swipe-arrow-left {
    animation: arrowLeft 2.4s ease-in-out infinite;
  }
  .swipe-arrow-right {
    animation: arrowRight 2.4s ease-in-out infinite;
  }
  .swipe-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
  }

  @keyframes swipeHint {
    0%, 100% { transform: translateX(0); }
    30%      { transform: translateX(12px); }
    60%      { transform: translateX(-12px); }
  }
  @keyframes arrowLeft {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    60%      { opacity: 1;   transform: translateX(-6px); }
  }
  @keyframes arrowRight {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    30%      { opacity: 1;   transform: translateX(6px); }
  }

  /* ── 섹션 제목 & 본문 타이포그래피 ── */
  .section-heading h2,
  .cad-content h2,
  .contact-section h2 {
    font-size: clamp(22px, 6.5vw, 28px);
    line-height: 1.35;
  }
  .section-heading p:not(.eyebrow),
  .cad-content p,
  .platform-copy p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.75;
  }
  html[lang="ko"] .group-section .section-heading p:not(.eyebrow) {
    white-space: normal;
  }

  /* ── 그룹 섹션 카드 1열 ── */
  .group-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .brand-card {
    min-height: auto;
    padding: 24px 20px;
  }
  .brand-card h3 {
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .brand-card p:not(.brand-role) {
    font-size: 14px;
  }
  .brand-card a {
    min-height: 44px;
    font-size: 14px;
  }

  /* ── 플랫폼 밴드 1열 ── */
  .platform-band {
    grid-template-columns: 1fr;
    padding: 32px 20px;
  }
  .platform-copy h3 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .platform-services {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .platform-services article {
    min-height: auto;
  }
  .platform-services h4 {
    font-size: 18px;
    margin: 16px 16px 8px;
  }
  .platform-services p {
    font-size: 13px;
    margin: 0 16px 16px;
  }

  /* ── 비즈니스 섹션 ── */
  .service-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .service-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .service-showcase {
    grid-template-columns: 1fr;
  }
  .service-copy {
    padding: 28px 20px;
  }
  .service-number {
    font-size: 42px;
    margin-bottom: 16px;
  }
  .service-copy h3 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .service-copy p:not(.service-number) {
    font-size: 14px;
  }
  .business-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .business-grid article {
    padding: 24px 20px;
  }
  .business-grid article h3 {
    font-size: 18px;
  }
  .business-grid article p {
    font-size: 14px;
  }

  /* ── CAD 섹션 1열 ── */
  .cad-section {
    display: flex;
    flex-direction: column;
  }
  .cad-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .cad-features span {
    font-size: 14px;
    padding: 10px 14px;
  }

  /* ── 프로젝트 섹션 ── */
  .metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .metrics strong {
    font-size: 15px;
  }
  .metrics span {
    font-size: clamp(28px, 8vw, 40px);
  }
  .project-panels {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .project-panels article {
    grid-template-columns: 1fr;
  }
  .project-panels img {
    height: 200px;
  }

  /* ── Contact 섹션 ── */
  .contact-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
    padding: 60px 20px;
  }
  .contact-section h2 {
    font-size: clamp(18px, 5.5vw, 23px);
    text-align: center;
    margin: 0;
  }
  .contact-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .contact-actions a {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 14px;
    box-sizing: border-box;
  }

  /* ── 이미지 모바일 높이 ── */
  .service-image img,
  .cad-visual img {
    min-height: 240px;
  }

  /* ── 좌측 레일 & 모바일 불필요 요소 숨김 ── */
  .section-rail {
    display: none;
  }

  /* ── 모든 인터랙티브 요소 터치 타겟 확보 ── */
  .menu-toggle {
    min-height: 44px;
    min-width: 44px;
  }

  /* ── 푸터 ── */
  .site-footer {
    padding: 36px 20px calc(20px + env(safe-area-inset-bottom));
  }
}
