/* ===================================================================
   Mediglo — Corporate Site
   =================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.css');

:root {
  --navy-900: #071A2B;
  --navy-800: #0B2A44;
  --navy-700: #0F3A5C;
  --navy-600: #14507E;
  --teal-500: #2FA98A;
  --teal-400: #3FC79F;
  --teal-100: #E6F6F0;
  --ink-900: #0C1620;
  --ink-700: #33455A;
  --ink-500: #5C7086;
  --ink-300: #8FA1B3;
  --line-200: #E4E9EF;
  --line-100: #EEF2F6;
  --bg-000: #FFFFFF;
  --bg-050: #F7F9FB;
  --bg-tint: #F2F6F8;

  --container: 1180px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 9px;

  --shadow-soft: 0 20px 50px -22px rgba(7, 26, 43, 0.28);
  --shadow-card: 0 14px 34px -18px rgba(7, 26, 43, 0.22);

  --ease: cubic-bezier(.16, .84, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  color: var(--ink-900);
  background: var(--bg-000);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-500);
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 52px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

.section-head .en {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-500);
}

section { position: relative; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(47, 169, 138, 0.55);
}

.btn-primary:hover {
  background: var(--teal-400);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -12px rgba(47, 169, 138, 0.62);
}

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-900);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 8px 24px -18px rgba(7,26,43,0.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color .35s var(--ease);
}

.site-header.scrolled .brand { color: var(--navy-900); }

.brand .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.brand .sub {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-top: 1px;
}

.brand .kr {
  display: inline;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.75;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.86);
  transition: color .3s var(--ease);
  position: relative;
}

.site-header.scrolled .nav-links a { color: var(--ink-700); }

.nav-links a:hover { color: var(--teal-400); }
.site-header.scrolled .nav-links a:hover { color: var(--teal-500); }

.nav-links a.active,
.mobile-nav a.active {
  color: var(--teal-400);
}

.site-header.scrolled .nav-links a.active { color: var(--teal-500); }

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

.header-actions .btn-primary {
  padding: 11px 24px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-header.scrolled .nav-toggle { background: var(--bg-tint); color: var(--navy-900); }

.mobile-nav { display: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 168px 0 0;
  background: radial-gradient(120% 100% at 15% 0%, #123B5C 0%, #0B2A44 42%, #071A2B 100%);
  overflow: hidden;
  color: #fff;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-glow .g1 {
  width: 520px; height: 520px;
  background: var(--teal-500);
  top: -160px; right: -120px;
  opacity: 0.28;
}

.hero-glow .g2 {
  width: 420px; height: 420px;
  background: #1E6FA8;
  bottom: -180px; left: -100px;
  opacity: 0.4;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 78%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 84px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
}

.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 4px rgba(63,199,159,0.25);
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.28;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal-400);
}

.hero .en-line {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  max-width: 480px;
  line-height: 1.6;
}

.hero .kr-sub {
  margin-top: 10px;
  font-size: 16.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 34px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.hero-stats .stat b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-stats .stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.hero-panel {
  position: relative;
  border-radius: 26px;
  padding: 30px;
  background: linear-gradient(160deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
}

.hero-panel .panel-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(63,199,159,0.16);
  color: var(--teal-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.device-card {
  margin-top: 18px;
  background: rgba(7,26,43,0.55);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.device-card + .device-card { margin-top: 12px; }

.device-card--media {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.device-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.device-card .icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(63,199,159,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-400);
}

.device-card .icon svg { width: 22px; height: 22px; }

.device-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

.device-card p {
  margin-top: 4px;
  font-size: 12.8px;
  color: rgba(255,255,255,0.58);
  line-height: 1.55;
}

/* ---------- Device photo slider ---------- */

.device-slider {
  position: relative;
  height: 168px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,0.25);
}

.slider-track {
  display: flex;
  width: 500%;
  height: 100%;
  transition: transform .6s var(--ease);
}

.slider-track img {
  width: 20%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
  -webkit-user-drag: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(7,26,43,0.6);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .25s var(--ease), background .25s var(--ease);
}

.slider-arrow svg { width: 15px; height: 15px; }
.slider-arrow.prev { left: 8px; }
.slider-arrow.next { right: 8px; }

.device-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow:hover { background: var(--teal-500); }

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.slider-dots .dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.42);
  cursor: pointer;
  transition: width .25s var(--ease), background .25s var(--ease);
}

.slider-dots .dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--teal-400);
}

.hero-wave {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  margin-top: -2px;
}

/* ---------- Page hero (subpage banner) ---------- */

.page-hero {
  position: relative;
  padding: 168px 0 78px;
  background: radial-gradient(120% 100% at 15% 0%, #123B5C 0%, #0B2A44 42%, #071A2B 100%);
  overflow: hidden;
  color: #fff;
}

.page-hero-inner { position: relative; z-index: 2; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.crumbs a { color: rgba(255,255,255,0.8); }
.crumbs a:hover { color: var(--teal-400); }

.page-hero h1 {
  margin-top: 6px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-hero .en {
  margin-top: 16px;
  font-size: 15.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.65;
}

.page-hero .kr {
  margin-top: 8px;
  font-size: 16.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  line-height: 1.75;
}

.page-hero .hero-wave { margin-top: 56px; }

/* ---------- Stat row (about page) ---------- */

.stat-row {
  padding: 90px 0 20px;
  background: var(--bg-000);
}

.stat-row-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 34px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-050);
  border: 1px solid var(--line-200);
}

.stat-card b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-500);
}

/* ---------- Live public-data stat (동물병원 조회서비스 연동) ---------- */

.live-stat {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-200);
  background: var(--bg-050);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.live-stat .live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--teal-100);
  color: #1B6F58;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.live-stat .live-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(47,169,138,0.25);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.live-stat .live-body { flex: 1; min-width: 220px; }

.live-stat .live-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}

.live-stat .live-label {
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
}

.live-stat .live-caption {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* dark variant, used on the navy-themed competitive page */

.live-stat--dark {
  background: rgba(255,255,255,0.045);
  border-color: rgba(255,255,255,0.14);
}

.live-stat--dark .live-badge {
  background: rgba(63,199,159,0.16);
  color: var(--teal-400);
}

.live-stat--dark .live-number { color: #fff; }
.live-stat--dark .live-label { color: rgba(255,255,255,0.82); }
.live-stat--dark .live-caption { color: rgba(255,255,255,0.5); }

/* ---------- Product showcase (products page) ---------- */

.product-showcase {
  padding: 100px 0 30px;
  background: var(--bg-000);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.showcase-card {
  background: var(--bg-050);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.showcase-card .device-slider { height: 280px; border-radius: var(--radius-md); }

.showcase-card .showcase-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
}

.showcase-card .icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--teal-400);
  display: flex; align-items: center; justify-content: center;
}

.showcase-card .icon svg { width: 22px; height: 22px; }

.showcase-card h3 { font-size: 19px; font-weight: 800; color: var(--navy-900); }
.showcase-card .en { margin-top: 3px; font-size: 12.5px; font-weight: 700; color: var(--ink-300); }
.showcase-card p.desc { margin-top: 10px; font-size: 14.5px; color: var(--ink-700); line-height: 1.7; }

/* ---------- Marquee strip ---------- */

.trust-strip {
  background: var(--bg-050);
  border-bottom: 1px solid var(--line-100);
  padding: 22px 0;
}

.trust-strip .container {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.trust-strip .label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-items {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  color: var(--ink-700);
  font-weight: 700;
  font-size: 14.5px;
}

.trust-items span { opacity: 0.55; }

/* ---------- About ---------- */

.about {
  padding: 120px 0 110px;
  background: var(--bg-000);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-copy .en {
  margin-top: 18px;
  font-size: 15.5px;
  color: var(--ink-500);
  line-height: 1.75;
}

.about-copy .kr {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-900);
  line-height: 1.85;
  font-weight: 500;
}

.about-figure {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(155deg, var(--teal-100), var(--bg-tint));
  border: 1px solid var(--line-200);
}

.about-figure-inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-figure-inner svg { width: 62%; height: 62%; opacity: 0.92; }

.about-badge {
  position: absolute;
  left: -22px;
  bottom: -22px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-200);
}

.about-badge .icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-500);
  display: flex; align-items: center; justify-content: center;
}

.about-badge .icon svg { width: 22px; height: 22px; }

.about-badge b { display: block; font-size: 18px; font-weight: 800; color: var(--navy-900); }
.about-badge span { font-size: 12.5px; color: var(--ink-500); font-weight: 600; }

/* ---------- Solutions ---------- */

.solutions {
  padding: 110px 0;
  background: var(--bg-050);
  border-top: 1px solid var(--line-100);
  border-bottom: 1px solid var(--line-100);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.sol-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(47,169,138,0.35);
}

.sol-card .num {
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-500);
  letter-spacing: 0.04em;
}

.sol-card .icon {
  margin-top: 16px;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--teal-400);
  display: flex; align-items: center; justify-content: center;
}

.sol-card .icon svg { width: 26px; height: 26px; }

.sol-card h3 {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
}

.sol-card .en {
  font-size: 12.5px;
  color: var(--ink-300);
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.01em;
}

.sol-card p.desc {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.7;
}

/* ---------- Competitiveness ---------- */

.competitive {
  padding: 120px 0;
  background: linear-gradient(180deg, #071A2B 0%, #0B2A44 100%);
  color: #fff;
}

.competitive .section-head h2 { color: #fff; }
.competitive .section-head .en { color: rgba(255,255,255,0.55); }

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

.comp-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
}

.comp-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(63,199,159,0.4);
}

.comp-card .icon {
  width: 50px; height: 50px;
  border-radius: 13px;
  background: rgba(63,199,159,0.14);
  color: var(--teal-400);
  display: flex; align-items: center; justify-content: center;
}

.comp-card .icon svg { width: 24px; height: 24px; }

.comp-card .big-num {
  margin-top: 22px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.comp-card .big-num span { color: var(--teal-400); }

.comp-card h3 {
  margin-top: 10px;
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
}

.comp-card .en {
  margin-top: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.comp-card p.desc {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

/* ---------- Contact ---------- */

.contact {
  padding: 120px 0;
  background: var(--bg-000);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info .en {
  margin-top: 18px;
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.75;
}

.contact-info .kr {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-900);
  font-weight: 500;
  line-height: 1.8;
}

.contact-channel {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-050);
  border: 1px solid var(--line-200);
}

.contact-channel .icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--navy-900);
  color: var(--teal-400);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}

.contact-channel .icon svg { width: 22px; height: 22px; }

.contact-channel span { display: block; font-size: 12.5px; color: var(--ink-500); font-weight: 600; }
.contact-channel a { display: block; font-size: 16.5px; font-weight: 700; color: var(--navy-900); margin-top: 2px; }
.contact-channel a:hover { color: var(--teal-500); }

.contact-points {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-700);
  font-weight: 500;
}

.contact-points li svg {
  width: 18px; height: 18px;
  color: var(--teal-500);
  flex: none;
}

.contact-form {
  background: var(--bg-050);
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.form-row .req { color: var(--teal-500); }

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-200);
  background: #fff;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(47,169,138,0.14);
}

.form-row textarea { resize: vertical; min-height: 120px; }

.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form .btn-dark {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  margin-top: 6px;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-500);
  text-align: center;
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--teal-100);
  color: #1B6F58;
  font-size: 13.5px;
  font-weight: 600;
}

.form-success.show { display: flex; }
.form-success svg { width: 18px; height: 18px; flex: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 52px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
}

.footer-brand .mark { width: 30px; height: 30px; border-radius: 8px; }

.footer-desc {
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  max-width: 320px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 14px;
}

.footer-col li { margin-bottom: 10px; }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--teal-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in .r-item { opacity: 1; transform: translateY(0); }
.r-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-stagger.in .r-item:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.in .r-item:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.in .r-item:nth-child(3) { transition-delay: .25s; }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow-card);
}

.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--teal-500); }
.to-top svg { width: 20px; height: 20px; }

/* ===================================================================
   Responsive
   =================================================================== */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { max-width: 480px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { order: -1; max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .comp-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .header-actions .btn-primary { display: none; }
  .nav-toggle { display: flex; }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--navy-900);
    display: flex;
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 6px;
    transform: translateX(100%);
    transition: transform .4s var(--ease);
  }

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

  .mobile-nav a {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-nav .btn-primary { margin-top: 24px; }

  .hero { padding-top: 130px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .comp-grid { grid-template-columns: 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .trust-strip .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about-badge { position: static; margin-top: -30px; margin-left: 16px; margin-right: 16px; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 36px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat b { font-size: 20px; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; gap: 14px; }
  .contact-form { padding: 26px; }
}
