/* =========================================================
   Tenagent — tg-eyeVision  |  new_homepage
   ========================================================= */
:root {
  /* service/css/style.css 와 동일한 팔레트 */
  --brand: #22d3ee;
  --brand-600: #38bdf8;
  --brand-50: rgba(34, 211, 238, .12);
  --blue: #2563eb;
  --ink: #f4f7fb;
  --ink-2: #d6dee9;
  --muted: #8894a8;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --bg: #070a12;
  --bg-soft: #070a12;
  --navy: #070a12;
  --navy-2: #141b2c;
  --surface: #0e1420;
  --surface-2: #141b2c;
  --on-light: #070a12;
  --accent: #22d3ee;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .45);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 24px 48px rgba(0, 0, 0, .6);
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(37, 99, 235, .16), transparent 60%),
    radial-gradient(700px 420px at 0% 0%, rgba(34, 211, 238, .10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-x: hidden;
}
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid,
.site-header.is-open {
  background: rgba(7, 10, 18, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .06);
}
.site-header .container { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; flex-shrink: 0; }
.brand img { width: 34px; height: 34px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 10px;
  color: rgba(255, 255, 255, .78); font-weight: 600; font-size: 15px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-left: 2px; }
.nav-link .chev { width: 10px; height: 10px; transition: transform .2s; opacity: .7; }
.has-sub:hover .chev, .has-sub.open .chev { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 6px);
  min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: all .2s var(--ease);
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; font-weight: 500; }
.submenu a:hover { background: var(--bg-soft); color: var(--brand-600); }
.submenu a.active { color: var(--brand-600); font-weight: 700; }

.header-cta { margin-left: 12px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; border-radius: 10px; }
.menu-toggle svg { width: 24px; height: 24px; }
.nav .mobile-cta { display: none; }

@media (max-width: 960px) {
  .menu-toggle { display: grid; place-items: center; order: 3; margin-right: -10px; }
  .site-header .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 32px; margin: 0;
    background: var(--navy); overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .site-header.is-open .nav { transform: none; }
  /* backdrop-filter 가 fixed .nav 의 기준 박스를 헤더(72px)로 바꿔 메뉴가 0 높이로 잘리므로, 열렸을 때는 끔 */
  .site-header.is-open { background: var(--navy); backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* 서비스 > 서비스(서비스 앱 링크)는 모바일 메뉴·탭에서 숨김 */
  .submenu a[href$="service/index.html"], .tabs a[href$="service/index.html"] { display: none; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 8px; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.06); border-radius: 0; }
  .nav-link.active::after { display: none; }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 0 0 8px 8px; display: none; min-width: 0; }
  .submenu::before { display: none; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { transform: none; }
  .has-sub.open .submenu { display: block; }
  .has-sub:hover .chev { transform: none; }
  .has-sub.open .chev { transform: rotate(180deg); }
  .submenu a { color: rgba(255,255,255,.7); padding: 12px 8px; }
  .submenu a:hover, .submenu a.active { background: transparent; color: #fff; }
  .nav .mobile-cta { display: block; margin-top: 24px; }
  .nav .mobile-cta .btn { width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; font-family: inherit;
  border: 1px solid transparent; cursor: pointer; transition: all .2s var(--ease); white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--blue)); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 8px 24px rgba(34, 211, 238, .3); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-outline { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-600); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: transparent;
  padding: calc(var(--header-h) + 72px) 0 104px;
}
.hero::before, .page-hero::before {
  content: none;
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 20%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(34, 211, 238, .10); border: 1px solid rgba(56, 189, 248, .35);
  color: #a5f3fc; font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(34, 211, 238, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); } }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin: 22px 0 18px; letter-spacing: -0.035em; }
.hero h1 .grad { background: linear-gradient(90deg, #fff 0%, #a5f3fc 55%, #38bdf8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.72); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin-top: 44px; max-width: 560px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.82); font-size: 15px; }
.hero-points svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 2px; }

.hero-visual { position: relative; }
.window {
  border-radius: 16px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.window-bar { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.window img { width: 100%; height: auto; }
.window video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #000; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(14, 20, 32, .92); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 700; line-height: 1.4;
  animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.float-card.a { left: -28px; bottom: 36px; }
.float-card.b { right: -20px; top: 70px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero { padding: calc(var(--header-h) + 48px) 0 80px; }
  .hero .container { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .float-card.a { left: 12px; bottom: -20px; }
  .float-card.b { right: 12px; top: -20px; }
}
@media (max-width: 480px) {
  .hero-points { grid-template-columns: 1fr; }
  .float-card { display: none; }
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: transparent;
  padding: calc(var(--header-h) + 64px) 0 56px;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; }
.page-hero .sub { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,.7); max-width: 760px; }
.page-hero .points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-hero .is-placeholder { visibility: hidden; }
.chip-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.88);
}
.chip-dark svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: 40px; padding-bottom: 2px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex-shrink: 0; padding: 10px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.12); transition: all .2s;
}
.tabs a:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.tabs a.active { background: #fff; color: var(--on-light); border-color: #fff; }
.tabs-sub { margin-top: 12px; }
.tabs-sub a { padding: 7px 14px; font-size: 13.5px; }
.tabs-sub a.active { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section.tight { padding: 72px 0; }
.section.soft { background: transparent; }
.section.dark { position: relative; background: transparent; color: #fff; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; color: var(--brand-600); font-weight: 700; font-size: 13.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.section.dark .kicker { color: var(--accent); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.section.dark .section-head p { color: rgba(255,255,255,.65); }
@media (max-width: 600px) { .section { padding: 72px 0; } .section.tight { padding: 56px 0; } }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px 24px; margin-bottom: 40px; border-radius: var(--radius-sm);
  background: var(--brand-50); color: var(--ink-2); font-size: 16px; border: 1px solid var(--line);
}
.callout svg { width: 22px; height: 22px; color: var(--brand-600); flex-shrink: 0; margin-top: 2px; }
.callout strong { color: var(--ink); }

/* ---------- Filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s;
}
.filters button:hover { color: var(--ink); border-color: var(--line-strong); }
.filters button.active { background: var(--ink); color: var(--on-light); border-color: var(--ink); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
@media (max-width: 1024px) { .grid, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid, .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(56, 189, 248, .35); }
.card.is-hidden { display: none; }
.card-media { position: relative; background: var(--surface-2); aspect-ratio: 4 / 3; overflow: hidden; }
.card-media.is-video { background: #000; }
.card-media.wide { aspect-ratio: 2 / 1; }
.card-media.auto { aspect-ratio: auto; }
.card-media img, .card-media video { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.card-media.cover img { object-fit: cover; }
.card-media.auto img { height: auto; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media .badge {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(7, 10, 18, .72); color: #fff; backdrop-filter: blur(6px); pointer-events: none;
}
.card-media .badge svg { width: 12px; height: 12px; }
.card-body { padding: 22px 24px 26px; flex: 1; }
.card-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--brand-600); margin-bottom: 8px; letter-spacing: .02em; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.card ul.checks { margin-top: 14px; }
.card-stack { display: grid; gap: 1px; background: var(--line); }
.card-stack img { width: 100%; height: auto; background: var(--surface-2); }
.card-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 24px 24px; }
.card-pair figure { margin: 0; }
.card-pair img { border-radius: 12px; width: 100%; height: auto; border: 1px solid var(--line); }
.card-pair figcaption, .fig-cap { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand-600); text-align: center; }

.zoomable { cursor: zoom-in; }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); gap: 32px; } .split.reverse > :first-child { order: 0; } }
.split h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; }
.num { font-size: 14px; font-weight: 700; color: var(--brand-600); margin-bottom: 12px; display: block; letter-spacing: .04em; }
.split p.desc { margin-top: 16px; color: var(--muted); font-size: 16.5px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface); }
.media-frame img, .media-frame video { width: 100%; height: auto; }
.media-frame img[src="img/tg-generation.jpg"] { aspect-ratio: 1187 / 680; object-fit: fill; }
.media-frame iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.media-caption { margin-top: 12px; font-size: 14px; color: var(--muted); }
/* 텍스트 아래 영상 | 이미지를 같은 행에 배치 — 열 비율 1 : 1.15 이므로 이미지 비율 = 1.15 × 16/9 이면 영상과 높이가 같음 */
.split-media { grid-template-areas: "text ." "video img" "cap ."; row-gap: 0; align-items: start; }
.split-media .sm-text { grid-area: text; margin-bottom: 28px; }
.split-media .sm-video { grid-area: video; }
.split-media .sm-img { grid-area: img; }
.split-media .sm-img img { aspect-ratio: 2.0444; object-fit: fill; }
.split-media .sm-cap { grid-area: cap; }
@media (max-width: 900px) {
  .split-media { grid-template-areas: "text" "video" "cap" "img"; }
  .split-media .sm-img { margin-top: 32px; }
  .split-media .sm-img img { aspect-ratio: auto; }
}
.feature-block + .feature-block { margin-top: 104px; }
@media (max-width: 600px) { .feature-block + .feature-block { margin-top: 72px; } }
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-grid .media-frame { box-shadow: none; }
@media (max-width: 520px) { .media-grid { grid-template-columns: 1fr; } }

/* ---------- Spec cards (product) ---------- */
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .specs { grid-template-columns: 1fr; } }
.spec { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.spec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.spec h4 { font-size: 18px; font-weight: 700; }
.speed { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-600); font-size: 13px; font-weight: 700; }
.spec dl { margin: 0; display: grid; grid-template-columns: 76px 1fr; gap: 10px 16px; font-size: 14.5px; }
.spec dt { color: var(--muted); font-weight: 500; }
.spec dd { margin: 0; color: var(--ink-2); }
.spec .fit { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--ink-2); font-weight: 600; }

.steps { counter-reset: s; display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); font-size: 15.5px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--on-light); font-size: 13px; font-weight: 700;
}
pre.code {
  margin: 20px 0 0; padding: 20px 22px; border-radius: var(--radius-sm); overflow-x: auto;
  background: var(--navy-2); color: #cfe9f1; border: 1px solid var(--line); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; line-height: 1.8;
}
pre.code .k { color: #7fa3c4; }
pre.code .hl { color: var(--brand); }
.panel { padding: 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
@media (max-width: 600px) { .panel { padding: 24px 20px; } }

/* ---------- Link tiles ---------- */
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 28px; border-radius: var(--radius); min-height: 220px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: #fff;
  transition: all .3s var(--ease); overflow: hidden;
}
.tile::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 80% at 100% 0%, rgba(34,211,238,.18), transparent 60%); opacity: 0; transition: opacity .3s; }
.tile:hover { border-color: rgba(56, 189, 248, .45); transform: translateY(-4px); }
.tile:hover::after { opacity: 1; }
.tile > * { position: relative; z-index: 1; }
.tile .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(34, 211, 238, .12); color: var(--brand); }
.tile .ic svg { width: 22px; height: 22px; }
.tile h3 { font-size: 20px; font-weight: 700; }
.tile p { margin-top: 6px; color: rgba(255,255,255,.6); font-size: 14.5px; }
.tile .go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); margin-top: 14px; }
.tile .go svg { width: 14px; height: 14px; transition: transform .2s; }
.tile:hover .go svg { transform: translateX(4px); }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .trust { grid-template-columns: 1fr; } }
.trust-item { display: flex; gap: 24px; align-items: center; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.trust-item img { width: 116px; height: auto; border-radius: 8px; box-shadow: var(--shadow); flex-shrink: 0; }
.trust-item .kicker { margin-bottom: 6px; }
.trust-item h3 { font-size: 20px; font-weight: 700; }
.trust-item p { margin-top: 6px; color: var(--muted); font-size: 15px; }
@media (max-width: 420px) { .trust-item { flex-direction: column; align-items: flex-start; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 64px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(37, 99, 235, .14)), var(--surface); color: #fff; border: 1px solid rgba(56, 189, 248, .3);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255,255,255,.08); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.cta p { margin-top: 10px; color: rgba(255,255,255,.85); font-size: 17px; }
.cta .btn { background: #fff; color: var(--on-light); }
.cta .btn:hover { box-shadow: 0 10px 30px rgba(34, 211, 238, .25); }
@media (max-width: 600px) { .cta { padding: 40px 24px; border-radius: 20px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: block; padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: all .3s var(--ease); }
a.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600); margin-bottom: 24px; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card .label { font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-card .value { margin-top: 6px; font-size: 20px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.contact-card .note { margin-top: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: transparent; border-top: 1px solid var(--line); color: rgba(255,255,255,.62); font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding: 72px 0 56px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }
.site-footer .brand { margin-bottom: 18px; }
.footer-about p { max-width: 360px; line-height: 1.75; }
.site-footer h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 18px; letter-spacing: .02em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.footer-contact a:hover { color: #fff; }
.footer-certs { display: flex; gap: 14px; margin-top: 24px; }
.footer-certs figure { margin: 0; max-width: 120px; }
.footer-certs img { width: 64px; height: 88px; object-fit: cover; border-radius: 6px; border: 1px solid rgba(255,255,255,.12); }
.footer-certs figcaption { font-size: 11.5px; margin-top: 6px; color: rgba(255,255,255,.5); line-height: 1.4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Misc ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: var(--on-light); display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); }
.to-top svg { width: 20px; height: 20px; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 48px 16px; background: rgba(7, 10, 18, .92); backdrop-filter: blur(6px); cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox button svg { width: 20px; height: 20px; }

.service-frame { width: 100%; height: 1250px; border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); display: block; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .eyebrow .dot { animation: none; }
}

::selection { background: rgba(56, 189, 248, .35); color: #fff; }
