/* ==========================================================================
   VAREUN 바른정보기술 — Renewal Design System
   ==========================================================================
   공통 변수 → 리셋 → 레이아웃 → 컴포넌트 → 섹션 → 반응형 순서로 구성
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #061229;
  --navy-800: #0a1c3d;
  --navy-700: #12294f;
  --navy-600: #1c3a68;
  --brand-600: #1657e0;
  --brand-500: #2b6ef5;
  --brand-100: #e6efff;
  --accent-500: #00c2b2;
  --accent-400: #22d3c4;
  --accent-100: #e0faf7;

  /* Neutrals */
  --ink-900: #0d1526;
  --ink-700: #2f3b52;
  --ink-500: #5b6980;
  --ink-400: #8694ab;
  --ink-200: #dbe2ec;
  --ink-100: #eef2f8;
  --white: #ffffff;

  /* Semantic */
  --bg: #ffffff;
  --bg-alt: #f5f8fd;
  --border: #e3e9f2;

  /* Type */
  --font-sans: "Pretendard", "Pretendard Variable", -apple-system,
    BlinkMacSystemFont, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic",
    system-ui, sans-serif;

  /* Spacing / Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(13, 21, 38, 0.05);
  --shadow-md: 0 10px 30px rgba(13, 21, 38, 0.08);
  --shadow-lg: 0 24px 60px rgba(13, 21, 38, 0.12);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--bg);
  word-break: keep-all;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  color: var(--ink-900);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

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

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* 화면 낭독기 전용 텍스트 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding: 110px 0;
}
.section--tight {
  padding: 80px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
}
.section--dark .eyebrow {
  color: var(--accent-400);
}

h2.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--ink-500);
  max-width: 660px;
}
.section-head--center .section-desc {
  margin-inline: auto;
}
.section--dark .section-desc {
  color: rgba(255, 255, 255, 0.66);
}

.grid {
  display: grid;
  gap: 28px;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn i {
  font-size: 0.9em;
}
.btn--primary {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 87, 224, 0.28);
}
.btn--primary:hover {
  background: var(--brand-500);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(22, 87, 224, 0.34);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.btn--outline {
  border: 1.5px solid var(--ink-200);
  color: var(--ink-900);
  background: #fff;
}
.btn--outline:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
  transform: translateY(-2px);
}
.btn--sm {
  padding: 11px 22px;
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand-600);
}
.text-link i {
  transition: transform 0.25s var(--ease);
}
.text-link:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
/* 페이지 상단(히어로 위)에서는 투명 + 흰색 텍스트 */
.site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.is-transparent .logo-text,
.site-header.is-transparent .logo-sub,
.site-header.is-transparent .nav-link,
.site-header.is-transparent .header-tel,
.site-header.is-transparent .nav-toggle span {
  color: #fff;
}
.site-header.is-transparent .nav-toggle span {
  background: #fff;
}
/* 투명 헤더에서도 선택/호버된 메뉴는 연한 배경 위 → 글자를 진하게 유지 */
.site-header.is-transparent .nav-link:hover,
.site-header.is-transparent .nav-link[aria-current="page"] {
  color: var(--brand-600);
  background: var(--brand-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  box-shadow: 0 6px 16px rgba(22, 87, 224, 0.3);
}

/* 회사 로고 (실제 VAREUN 로고 이미지) */
.logo-img {
  display: block;
  height: 34px;
  width: auto;
}
/* 다크 배경 위에서는 흰색으로 반전 */
.site-header.is-transparent .logo-img,
.site-footer .logo-img {
  filter: brightness(0) invert(1);
}
.site-footer .logo-img {
  height: 38px;
}
.logo-text {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.logo-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-400);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-700);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand-600);
  background: var(--brand-100);
}
.nav-link i {
  font-size: 10px;
  transition: transform 0.25s var(--ease);
}
.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.dropdown a:hover {
  background: var(--bg-alt);
  color: var(--brand-600);
}
.dropdown .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-500);
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-900);
}
.header-tel i {
  color: var(--accent-500);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #fff;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav a {
  display: block;
  padding: 15px 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .sub a {
  padding-left: 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-500);
}
.mobile-nav .mobile-cta {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-nav .btn {
  display: inline-flex;
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 0;
}
.mobile-nav .btn--primary {
  color: #fff;
}
.mobile-nav .btn--outline {
  color: var(--ink-900);
  border-bottom: 1.5px solid var(--ink-200);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 80px) 0 90px;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      115deg,
      rgba(6, 18, 41, 0.96) 0%,
      rgba(10, 28, 61, 0.86) 42%,
      rgba(6, 18, 41, 0.72) 100%
    ),
    radial-gradient(
      circle at 88% 22%,
      rgba(0, 194, 178, 0.34),
      transparent 46%
    );
}
.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 28px;
}
.hero-badge .pill {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-500);
  color: var(--navy-900);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(32px, 5.2vw, 62px);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent-400), #7cc9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin-top: 26px;
  font-size: clamp(15.5px, 1.5vw, 18px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 44px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-stat strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.hero-stat strong em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--accent-400);
  margin-left: 3px;
}
.hero-stat span {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.scroll-cue .bar {
  width: 1px;
  height: 44px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* --------------------------------------------------------------------------
   7. Page banner (sub pages)
   -------------------------------------------------------------------------- */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 74px) 0 74px;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      circle at 82% 18%,
      rgba(0, 194, 178, 0.3),
      transparent 48%
    ),
    linear-gradient(120deg, rgba(6, 18, 41, 0.96), rgba(12, 32, 68, 0.9));
}
.page-banner .crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.page-banner .crumb a:hover {
  color: var(--accent-400);
}
.page-banner h1 {
  font-size: clamp(28px, 4vw, 46px);
  color: #fff;
}
.page-banner p {
  margin-top: 16px;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--brand-100);
  color: var(--brand-600);
  margin-bottom: 22px;
}
.card--teal .card-icon {
  background: var(--accent-100);
  color: #019b8f;
}
.card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.8;
}
.card-tag {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-500);
}

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-600));
  overflow: hidden;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .thumb img {
  transform: scale(1.06);
}
/* `hidden` 속성을 author display 규칙이 덮어쓰지 않도록 명시 */
.product-card .thumb .fallback[hidden],
.news-card .thumb .fallback[hidden] {
  display: none;
}
.product-card .thumb .fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 26px;
}
.product-card .body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.product-card .kr {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-500);
  margin-bottom: 14px;
}
.product-card p {
  font-size: 14.5px;
  color: var(--ink-500);
  flex: 1;
}
.product-card .foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.model-chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-400);
  letter-spacing: 0.02em;
}

/* Feature list (dark) */
.feature-list {
  display: grid;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-item i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(0, 194, 178, 0.15);
  color: var(--accent-400);
  font-size: 15px;
}
.feature-item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 14.5px;
  line-height: 1.75;
}

/* Value / philosophy */
.value-item {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  overflow: hidden;
}
.value-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.value-item:hover::before {
  transform: scaleX(1);
}
.value-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ink-400);
}
.value-item h3 {
  font-size: 21px;
  margin: 12px 0 14px;
}
.value-item h3 span {
  color: var(--brand-600);
}
.value-item p {
  font-size: 15px;
  color: var(--ink-500);
}

/* Spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table th,
.spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  width: 30%;
  background: var(--bg-alt);
  font-weight: 700;
  color: var(--ink-900);
  white-space: nowrap;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

/* --------------------------------------------------------------------------
   9. Client logos
   -------------------------------------------------------------------------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.logo-cell {
  position: relative;
  background: #fff;
  box-shadow: 0 0 0 1px var(--border);
  aspect-ratio: 2 / 1;
  display: grid;
  place-items: center;
  padding: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-500);
  letter-spacing: -0.01em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
  text-align: center;
}
.logo-cell:hover {
  background: var(--bg-alt);
  color: var(--brand-600);
}
.logo-cell--more {
  color: var(--ink-400);
  font-weight: 600;
}
/* 실제 파트너 로고 이미지 */
.logo-note {
  margin: 22px 0 0;
  text-align: center;
  font-size: 0.94rem;
  color: var(--muted);
}
/* 로고: 잘림 없이(contain) 박스에 최대한 꽉 차게 + 원본 색상 그대로 표시 */
.logo-cell img {
  position: absolute;
  inset: 16px 20px;
  width: calc(100% - 40px);
  height: calc(100% - 32px);
  object-fit: contain;
  transition: transform 0.25s var(--ease);
}
@media (max-width: 640px) {
  .logo-cell img {
    inset: 10px 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
  }
}
.logo-cell:hover img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   10. News
   -------------------------------------------------------------------------- */
.news-toolbar[hidden] {
  display: none;
}
.news-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 34px;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  transition: all 0.22s var(--ease);
}
.filter-btn:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}
.filter-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}
.search-field {
  position: relative;
  margin-left: auto;
  min-width: 260px;
}
.search-field i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-400);
  font-size: 14px;
}
.search-field input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font: inherit;
  font-size: 14.5px;
  color: var(--ink-900);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.search-field input::placeholder {
  color: var(--ink-400);
}
.search-field input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(43, 110, 245, 0.12);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.news-card .thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  position: relative;
  overflow: hidden;
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card .thumb .fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 22px;
}
.news-card .body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-400);
  margin-bottom: 12px;
}
.news-source {
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--brand-100);
  color: var(--brand-600);
  font-weight: 700;
}
.news-card h3 {
  font-size: 16.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}
.news-card p {
  font-size: 14px;
  color: var(--ink-500);
  flex: 1;
}
.news-card .foot {
  margin-top: 20px;
}

.empty-state {
  text-align: center;
  padding: 70px 24px;
  border: 1px dashed var(--ink-200);
  border-radius: var(--radius-lg);
  color: var(--ink-400);
  background: #fff;
}
.empty-state i {
  font-size: 30px;
  margin-bottom: 14px;
  display: block;
  color: var(--ink-200);
}
.loading-state {
  text-align: center;
  padding: 70px 24px;
  color: var(--ink-400);
  font-size: 15px;
}
.spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 16px;
  border: 3px solid var(--ink-100);
  border-top-color: var(--brand-600);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-500);
  transition: all 0.2s var(--ease);
}
.pagination button:hover:not(:disabled) {
  border-color: var(--brand-500);
  color: var(--brand-600);
}
.pagination button.is-active {
  background: var(--brand-600);
  border-color: var(--brand-600);
  color: #fff;
}
.pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   11. Contact / Form
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-block + .contact-block {
  margin-top: 30px;
}
.contact-block h3 {
  font-size: 17px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-block h3 i {
  color: var(--accent-500);
  font-size: 15px;
}
.address-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.address-item:last-child {
  border-bottom: 0;
}
.address-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 6px;
}
.address-item p {
  font-size: 15px;
  color: var(--ink-700);
  line-height: 1.7;
}
.address-item .en {
  display: block;
  font-size: 13.5px;
  color: var(--ink-400);
  margin-top: 4px;
}
.contact-quick {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.contact-quick a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 700;
  color: var(--ink-900);
  font-size: 15px;
  transition: all 0.24s var(--ease);
}
.contact-quick a:hover {
  border-color: var(--brand-500);
  transform: translateX(4px);
}
.contact-quick a span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-400);
  margin-left: auto;
}
.contact-quick i {
  color: var(--accent-500);
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.form-card > p {
  font-size: 14.5px;
  color: var(--ink-500);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.field label .req {
  color: #e5484d;
  margin-left: 3px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.7;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6980' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(43, 110, 245, 0.12);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-400);
}
.field--error input,
.field--error select,
.field--error textarea {
  border-color: #e5484d;
}
.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e5484d;
}
.field--error .field-error {
  display: block;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 22px;
  line-height: 1.6;
}
.consent input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--brand-600);
}
.form-status {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.7;
}
.form-status.is-visible {
  display: block;
}
.form-status.is-success {
  background: #e8f8f2;
  color: #06694f;
  border: 1px solid #b8e8d8;
}
.form-status.is-error {
  background: #fdeceb;
  color: #9b2c2c;
  border: 1px solid #f6cfcc;
}

/* Map */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700) 70%);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle at 88% 30%,
    rgba(0, 194, 178, 0.32),
    transparent 46%
  );
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 {
  color: #fff;
  font-size: clamp(24px, 3.2vw, 38px);
  margin-bottom: 12px;
}
.cta-inner p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16px;
  max-width: 56ch;
}
.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 74px 0 30px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand .logo-text {
  color: #fff;
}
.footer-brand .logo-sub {
  color: rgba(255, 255, 255, 0.45);
}
.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.85;
  max-width: 34ch;
}
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col li {
  margin-bottom: 12px;
}
.footer-col a {
  font-size: 14.5px;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover {
  color: var(--accent-400);
}
.footer-sns {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.footer-sns a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
  transition: all 0.24s var(--ease);
}
.footer-sns a:hover {
  background: var(--accent-500);
  border-color: var(--accent-500);
  color: var(--navy-900);
  transform: translateY(-3px);
}
.footer-address li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-address i {
  color: var(--accent-400);
  margin-top: 4px;
  flex-shrink: 0;
  font-size: 13px;
}
.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--brand-500);
}

/* --------------------------------------------------------------------------
   14. Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   15. Content blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split-media {
  order: 2;
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-body h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 20px;
}
.split-body p {
  font-size: 16px;
  color: var(--ink-500);
  margin-bottom: 16px;
}
.lead-em {
  font-size: 17.5px !important;
  color: var(--ink-700) !important;
  font-weight: 500;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-700);
}
.check-list i {
  color: var(--accent-500);
  margin-top: 5px;
  flex-shrink: 0;
  font-size: 14px;
}

.quote {
  padding: 26px 28px;
  border-left: 3px solid var(--accent-500);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.7;
}

.identity-band {
  text-align: center;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
}
.identity-band .en {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-400);
  display: block;
  margin-bottom: 18px;
}
.identity-band h3 {
  color: #fff;
  font-size: clamp(20px, 2.6vw, 30px);
  max-width: 34ch;
  margin-inline: auto;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .header-tel {
    display: none;
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .grid--3 {
    grid-template-columns: 1fr;
  }
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split--reverse .split-media {
    order: 0;
  }
  .section {
    padding: 76px 0;
  }
  .section--tight {
    padding: 58px 0;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }
  .container,
  .header-inner,
  .hero-inner {
    padding-inline: 20px;
  }
  .grid--2,
  .grid--4,
  .news-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 56px) 0 72px;
  }
  .hero-stats {
    gap: 22px 30px;
    margin-top: 44px;
  }
  .scroll-cue {
    display: none;
  }
  .card,
  .value-item {
    padding: 28px 24px;
  }
  .form-card {
    padding: 28px 22px;
  }
  .search-field {
    margin-left: 0;
    min-width: 100%;
  }
  .identity-band {
    padding: 40px 24px;
  }
  .spec-table th,
  .spec-table td {
    padding: 13px 14px;
    font-size: 14px;
  }
  .spec-table th {
    width: 34%;
  }
  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* Leadership */
.team-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
}
.team-avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
}
.team-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}
.team-card p {
  font-size: 14px;
  color: var(--ink-500);
}


/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 1000;
  transform: translate(-50%, 20px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--navy-900);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(6, 18, 41, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* Hero video player */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-video {
  width: 100%;
  max-width: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.video-card {
  margin: 0;
  min-width: 0;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.05);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #000;
}
.video-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
  opacity: 0.92;
}
.video-play:hover img {
  transform: scale(1.04);
  opacity: 1;
}
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-600);
  color: #fff;
  font-size: 26px;
  padding-left: 4px;
  box-shadow: 0 10px 30px rgba(22, 87, 224, 0.55);
  transition: transform 0.25s var(--ease);
}
.video-play:hover .video-play-btn {
  transform: scale(1.1);
}
.video-play:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: -3px;
}
.video-caption {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.66);
}
.video-caption strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: #fff;
}
.video-caption span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card:nth-child(2) {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.video-card:nth-child(2) .video-frame {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.video-card:nth-child(2) .video-caption {
  margin-top: 0;
}
.video-card:nth-child(2) .video-play-btn {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  font-size: 15px;
}
@media (max-width: 560px) {
  .video-card:nth-child(2) {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    padding: 10px;
  }
  .video-card:nth-child(2) .video-play-btn {
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    font-size: 12px;
  }
}
@media (min-width: 1000px) {
  .hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 40px;
  }
  .hero-video {
    justify-self: end;
  }
}

.pagination .page-gap {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  color: var(--ink-400);
  user-select: none;
}

