:root {
  --font-display: "Outfit", sans-serif;
  --font-body: "Sora", sans-serif;
  --accent: #00d4c8;
  --accent-2: #3b82f6;
  --accent-text: #00d4c8;
  --accent-glow: rgba(0, 212, 200, 0.35);
  --radius: 14px;
  --nav-h: 92px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  --glow-1: rgba(0, 212, 200, 0.12);
  --glow-2: rgba(59, 130, 246, 0.1);
}

[data-theme="dark"] {
  --bg: #070b14;
  --bg-elevated: #0d1526;
  --bg-soft: #121c31;
  --text: #e8eefc;
  --text-muted: #93a4c7;
  --border: rgba(148, 175, 220, 0.14);
  --accent: #00d4c8;
  --accent-text: #2ee6db;
  --accent-glow: rgba(0, 212, 200, 0.35);
  --glow-1: rgba(0, 212, 200, 0.12);
  --glow-2: rgba(59, 130, 246, 0.1);
  --hero-overlay: linear-gradient(120deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.55) 55%, rgba(7, 11, 20, 0.35) 100%);
  --card-bg: rgba(13, 21, 38, 0.72);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --hero-brand-mix: color-mix(in srgb, var(--accent) 70%, white);
}

[data-theme="light"] {
  --bg: #c5d0e0;
  --bg-elevated: #d5dfeb;
  --bg-soft: #b4c3d6;
  --text: #0b1730;
  --text-muted: #2a3f5c;
  --border: rgba(15, 40, 80, 0.2);
  --accent: #00c4b8;
  --accent-text: #0b7f78;
  --accent-2: #2563eb;
  --accent-glow: rgba(11, 127, 120, 0.22);
  --glow-1: rgba(11, 127, 120, 0.1);
  --glow-2: rgba(37, 99, 235, 0.1);
  --hero-overlay: linear-gradient(120deg, rgba(150, 168, 190, 0.78) 0%, rgba(150, 168, 190, 0.46) 50%, rgba(150, 168, 190, 0.2) 100%);
  --card-bg: rgba(213, 223, 235, 0.94);
  --shadow: 0 18px 40px rgba(20, 40, 70, 0.16);
  --hero-brand-mix: #0b7f78;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(1200px 600px at 85% -10%, var(--glow-1), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, var(--glow-2), transparent 55%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }
.container-wide { width: min(1280px, calc(100% - 2.5rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav > .brand { flex-shrink: 0; }
.nav > .nav-links { flex: 1; justify-content: center; min-width: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo .logo-theme {
  display: none;
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

[data-theme="dark"] .brand-logo .logo-theme--dark { display: block; }
[data-theme="light"] .brand-logo .logo-theme--light { display: block; }

.brand-logo--nav .logo-theme {
  height: auto;
  width: min(390px, 58vw);
  max-width: none;
}
.brand-logo--footer .logo-theme { height: 40px; max-width: 200px; margin-bottom: 0.65rem; }
.brand-logo--sidebar .logo-theme { height: 42px; max-width: 100%; }
.brand--login { width: 100%; justify-content: center; }
.brand-logo--login { width: 100%; justify-content: center; }
.brand-logo--login .logo-theme {
  height: auto;
  width: 100%;
  max-width: 100%;
}
.brand-logo--hero .logo-theme {
  height: clamp(96px, 16vw, 168px);
  max-width: min(760px, 94vw);
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.brand--sidebar {
  display: block;
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #041018;
  box-shadow: 0 0 24px var(--accent-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.icon-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 12px;
  flex-shrink: 0;
}
.btn:hover, .icon-btn:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #12b8e8);
  color: #041018;
  border: none;
  font-weight: 600;
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn-ghost { background: transparent; }
.btn-solid {
  background: var(--accent);
  color: #041018;
  border: none;
  font-weight: 600;
}
.btn-solid:hover { filter: brightness(1.08); }
.btn-sm {
  height: 40px;
  padding: 0 1rem;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: 12px;
  height: 40px;
  padding: 0 2rem 0 0.85rem;
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2393a4c7' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media-img {
  position: absolute;
  inset: -4%;
  background:
    url("../img/hero-datawave.jpg") center 42% / cover no-repeat,
    linear-gradient(135deg, #0a1628, #12304f 40%, #0c4a4a);
  animation: heroKen 28s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 38%, rgba(7, 11, 20, 0.15) 0%, rgba(7, 11, 20, 0.72) 70%, rgba(7, 11, 20, 0.92) 100%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.55) 0%, rgba(7, 11, 20, 0.2) 35%, rgba(7, 11, 20, 0.75) 100%);
}

[data-theme="light"] .hero-veil {
  background:
    radial-gradient(ellipse 58% 46% at 50% 46%, rgba(214, 224, 234, 0.72) 0%, rgba(160, 178, 198, 0.34) 58%, rgba(118, 140, 166, 0.28) 100%),
    linear-gradient(180deg, rgba(168, 186, 206, 0.38) 0%, rgba(148, 168, 190, 0.14) 46%, rgba(126, 148, 174, 0.46) 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.55;
}

.hero-glow--a {
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  left: 8%;
  top: 18%;
  background: rgba(0, 212, 200, 0.28);
  animation: heroFloatA 9s ease-in-out infinite;
}

.hero-glow--b {
  width: min(42vw, 460px);
  height: min(42vw, 460px);
  right: 6%;
  bottom: 12%;
  background: rgba(59, 130, 246, 0.28);
  animation: heroFloatB 11s ease-in-out infinite;
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.015) 3px,
    rgba(255, 255, 255, 0.015) 4px
  );
  opacity: 0.35;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.hero-wave-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  width: 100%;
  height: clamp(70px, 12vw, 140px);
  fill: var(--bg);
  z-index: 2;
}

.hero-stage {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 2rem));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3.5rem 0 5.5rem;
}

.hero-content {
  position: relative;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-brand-logo {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.6vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
  margin: 0 0 0.9rem;
  max-width: 16ch;
  text-wrap: balance;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  max-width: 34rem;
  margin: 0;
  color: color-mix(in srgb, var(--text) 78%, var(--text-muted));
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn-hero {
  min-height: 52px;
  padding: 0.9rem 1.55rem;
  font-size: 1rem;
  font-weight: 700;
}

.btn-hero-ghost {
  min-height: 52px;
  padding: 0.9rem 1.45rem;
  font-size: 1rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--text) 35%, transparent);
  background: color-mix(in srgb, var(--bg-elevated) 35%, transparent);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.btn-hero-ghost:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  z-index: 4;
  width: 28px;
  height: 44px;
  margin-left: -14px;
  border: 1.5px solid color-mix(in srgb, var(--text) 35%, transparent);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.hero-scroll:hover { opacity: 1; }

.hero-scroll span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: heroScrollPulse 1.6s ease-in-out infinite;
}

.hero-anim {
  opacity: 0;
  transform: translateY(22px);
  animation: heroRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-anim--1 { animation-delay: 0.08s; }
.hero-anim--2 { animation-delay: 0.22s; }
.hero-anim--3 { animation-delay: 0.36s; }
.hero-anim--4 { animation-delay: 0.5s; }

@keyframes heroKen {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); }
}

@keyframes heroFloatA {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(4%, 6%, 0); }
}

@keyframes heroFloatB {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-5%, -4%, 0); }
}

@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroScrollPulse {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0.15; }
  100% { transform: translateY(12px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-img,
  .hero-glow--a,
  .hero-glow--b,
  .hero-scroll span { animation: none; }
  .hero-anim {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.section { padding: 5rem 0; }
.section-alt {
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
  border-block: 1px solid var(--border);
}
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section-cta { margin-top: 2rem; }

.results-band {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
}
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.result-stat { text-align: center; padding: 0.5rem; }
.result-n {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent-text);
  letter-spacing: -0.02em;
}
.result-l { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.25rem; }

.check-list { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.45rem 0;
  color: var(--text-muted);
}
.check-list i { color: var(--accent-text); margin-top: 0.25rem; }

.process-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.process-item {
  padding-top: 0.5rem;
  border-top: 2px solid color-mix(in srgb, var(--accent) 45%, var(--border));
}
.process-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 0.6rem;
}
.process-item h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

.industry-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text);
  font-size: 0.95rem;
}
.industry-chip i { color: var(--accent-text); }

.review-rotator { position: relative; }
.review-viewport { overflow: hidden; }
.review-track {
  display: flex;
  gap: 1.25rem;
}
.review-track .review {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  min-width: 0;
}
.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.35rem;
}
.review-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  cursor: pointer;
}
.review-nav:hover { border-color: var(--accent-text); color: var(--accent-text); }
.review-dots { display: flex; align-items: center; gap: 0.4rem; }
.review-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
}
.review-dots button[aria-current="true"] {
  width: 18px;
  background: var(--accent-text);
}
.review {
  margin: 0;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
}
.review-stars { color: #f5b301; margin-bottom: 0.8rem; font-size: 0.85rem; letter-spacing: 0.08em; }
.review p {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.review footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--accent-text);
}
.review strong { display: block; color: var(--text); font-size: 0.95rem; }
.review small { color: var(--text-muted); font-size: 0.82rem; }

.split-home { align-items: center; }
.split-media--listed {
  background:
    linear-gradient(160deg, rgba(0, 212, 200, 0.18), transparent 45%),
    url("../img/home-listed.jpg") center/cover no-repeat,
    url("../img/ranking-growth.jpg") center/cover no-repeat,
    var(--bg-soft);
}
.split-media--trust {
  background:
    linear-gradient(200deg, rgba(59, 130, 246, 0.18), transparent 50%),
    url("../img/home-trust.jpg") center/cover no-repeat,
    url("../img/about-team.jpg") center/cover no-repeat,
    var(--bg-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 11, 20, 0.88), rgba(7, 11, 20, 0.55)),
    url("../img/about-team.jpg") center/cover no-repeat;
}
.page-hero-bg--services {
  background:
    linear-gradient(120deg, rgba(7, 11, 20, 0.88), rgba(7, 11, 20, 0.55)),
    url("../img/services-seo.jpg") center/cover no-repeat;
}
.page-hero-bg--how {
  background:
    linear-gradient(120deg, rgba(7, 11, 20, 0.88), rgba(7, 11, 20, 0.55)),
    url("../img/how-step-scale.jpg") center/cover no-repeat;
}
.page-hero-bg--ranking {
  background:
    linear-gradient(120deg, rgba(7, 11, 20, 0.88), rgba(7, 11, 20, 0.55)),
    url("../img/ranking-growth.jpg") center/cover no-repeat;
}
.page-hero-bg--contact {
  background:
    linear-gradient(120deg, rgba(7, 11, 20, 0.88), rgba(7, 11, 20, 0.55)),
    url("../img/home-cta.jpg") center/cover no-repeat;
}
[data-theme="light"] .page-hero-bg,
[data-theme="light"] .page-hero-bg--services,
[data-theme="light"] .page-hero-bg--how,
[data-theme="light"] .page-hero-bg--ranking,
[data-theme="light"] .page-hero-bg--contact {
  background:
    linear-gradient(120deg, rgba(132, 152, 176, 0.72), rgba(132, 152, 176, 0.4)),
    var(--page-hero-img, url("../img/about-team.jpg")) center/cover no-repeat;
}
[data-theme="light"] .page-hero-bg { --page-hero-img: url("../img/about-team.jpg"); }
[data-theme="light"] .page-hero-bg--services { --page-hero-img: url("../img/services-seo.jpg"); }
[data-theme="light"] .page-hero-bg--how { --page-hero-img: url("../img/how-step-scale.jpg"); }
[data-theme="light"] .page-hero-bg--ranking { --page-hero-img: url("../img/ranking-growth.jpg"); }
[data-theme="light"] .page-hero-bg--contact { --page-hero-img: url("../img/home-cta.jpg"); }

.split-media--services {
  background:
    linear-gradient(160deg, rgba(0, 212, 200, 0.16), transparent 45%),
    url("../img/services-seo.jpg") center/cover no-repeat,
    var(--bg-soft);
}
.split-media--ranking {
  background:
    linear-gradient(160deg, rgba(59, 130, 246, 0.18), transparent 45%),
    url("../img/ranking-growth.jpg") center/cover no-repeat,
    var(--bg-soft);
}

.step-rich .step-body { min-width: 0; }
.step-extra { font-size: 0.95rem; }
.step-img {
  margin-top: 1rem;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-aside h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.7rem;
}
.contact-meta {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.contact-meta strong {
  display: block;
  color: var(--accent-text);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.contact-meta span { color: var(--text); }
.contact-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}
.contact-panel .form { max-width: none; }
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 0.7rem;
}
.page-hero p {
  font-size: 1.08rem;
  max-width: 40rem;
  margin: 0;
  color: color-mix(in srgb, var(--text) 80%, var(--text-muted));
}

.timeline {
  display: grid;
  gap: 0;
  max-width: 860px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent-text);
  padding-top: 0.15rem;
}
.timeline-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.timeline-card p { margin: 0; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.promise-item {
  padding-top: 1rem;
  border-top: 2px solid color-mix(in srgb, var(--accent) 40%, var(--border));
}
.promise-item h3 { font-size: 1.2rem; margin-bottom: 0.45rem; }

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  border-top: 1px solid var(--border);
}
.cta-band-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 11, 20, 0.82), rgba(7, 11, 20, 0.55)),
    url("../img/home-cta.jpg") center/cover no-repeat,
    url("../img/hero-datawave.jpg") center/cover no-repeat;
}
[data-theme="light"] .cta-band-bg {
  background:
    linear-gradient(120deg, rgba(132, 152, 176, 0.7), rgba(132, 152, 176, 0.38)),
    url("../img/home-cta.jpg") center/cover no-repeat,
    url("../img/hero-datawave.jpg") center/cover no-repeat;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
}
.cta-band-inner h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  margin-bottom: 0.7rem;
}
.cta-band-inner > p { margin-bottom: 0; }
.cta-band .hero-ctas { justify-content: center; }
.eyebrow {
  display: inline-block;
  color: var(--accent-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.feature {
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
}

.feature i {
  color: var(--accent-text);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.feature h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }

.steps { display: grid; gap: 1.2rem; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--accent-text);
}

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.price-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0.6rem 0;
  color: var(--text);
}
.price-card ul { margin: 1rem 0 1.4rem; }
.price-card li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.35rem 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}
.price-card li i { color: var(--accent-text); margin-top: 0.2rem; }

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0d9b92, #1d6fe0);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 127, 120, 0.28);
}

[data-theme="light"] .brand-mark {
  box-shadow: 0 0 18px rgba(11, 127, 120, 0.28);
}

[data-theme="light"] .lang-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233d516f' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.split-media {
  min-height: 340px;
  border-radius: 22px;
  background:
    linear-gradient(160deg, rgba(0, 212, 200, 0.15), transparent 50%),
    url("../img/about-team.jpg") center/cover no-repeat,
    var(--bg-soft);
  border: 1px solid var(--border);
}

.form {
  display: grid;
  gap: 1.35rem;
  max-width: 860px;
}
.form-intro h2 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}
.form-intro p {
  margin: 0;
  font-size: 1.02rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; align-items: start; }
.form-row-3 { grid-template-columns: 1.2fr 1fr 0.8fr; }
.item-row { grid-template-columns: 2fr 0.7fr 0.9fr; }
.form-section {
  display: grid;
  gap: 1.15rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem 1.4rem 1.45rem;
  margin: 0;
}
.form-section-head h3,
.form-section > h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}
.form-section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}
.form-section-head p {
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
}
.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 200, 0.16);
  color: var(--accent-text);
  font-weight: 700;
}
.field-name {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
}
.req, .opt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.req { color: #e11d48; }
[data-theme="dark"] .req { color: #fb7185; }
.opt { color: var(--text-muted); font-weight: 600; }
.check-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 600;
  margin: 0;
}
.check-field input { width: auto; margin-top: 0.15rem; }
.choice-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
}
.choice-card input { width: auto; margin-top: 0.2rem; }
.choice-card small {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
}
.field-hint { font-size: 0.92rem; color: var(--text-muted); font-weight: 500; margin: 0; }
.form-more {
  border: 1px dashed var(--border);
  border-radius: 18px;
  padding: 0.35rem 1.2rem 0.9rem;
  background: transparent;
}
.form-more summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  padding: 0.85rem 0;
  font-size: 1.05rem;
}
.form-more summary span {
  display: block;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.15rem;
}
.form-more-body { display: grid; gap: 1.1rem; padding-bottom: 0.4rem; }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-top: 0.25rem;
}
.form-actions .btn { min-height: 48px; padding-inline: 1.3rem; }
.panel-plain {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
label:has([data-category-input]) { position: relative; }
.suggest-list {
  position: absolute;
  z-index: 40;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #1c2b4a;
  border: 2px solid #00d4c8;
  border-radius: 12px;
  max-height: 260px;
  overflow: auto;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.suggest-list li + li { border-top: 1px solid rgba(232, 238, 252, 0.14); }
.suggest-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: #f4f7ff;
  font: inherit;
  font-weight: 600;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  min-height: 0;
}
.suggest-list button.active,
.suggest-list button:hover {
  background: #00d4c8;
  color: #041018;
}
[data-theme="light"] .suggest-list {
  background: #d5dfeb;
  border-color: #0b7f78;
  box-shadow: 0 16px 36px rgba(11, 23, 48, 0.18);
}
[data-theme="light"] .suggest-list li + li { border-top-color: rgba(11, 23, 48, 0.1); }
[data-theme="light"] .suggest-list button { color: #0b1730; }
[data-theme="light"] .suggest-list button.active,
[data-theme="light"] .suggest-list button:hover {
  background: #0b7f78;
  color: #ffffff;
}
.hours-grid { display: grid; gap: 0.65rem; }
.hours-row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr) auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  background: var(--bg-soft);
}
.hours-day { font-weight: 700; color: var(--text); }
.hours-row input[type="time"] { padding: 0.55rem 0.65rem; min-height: 44px; }
.logo-preview img {
  height: 56px;
  margin-top: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}
.listing-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.listing-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
}
.listing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.15rem 1.5rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; max-width: 28rem; padding: 0.25rem 0; }
.form label {
  display: grid;
  gap: 0.45rem;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}
.form label[hidden] { display: none; }
.form label.check-field,
.form label.choice-card { display: flex; font-weight: 600; }
.form label.perm-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  font-weight: 600;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1rem;
  min-height: 48px;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(0, 212, 200, 0.45);
  outline-offset: 1px;
  border-color: var(--accent-text);
}
input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.72;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
.alert-success { background: rgba(0, 212, 200, 0.12); color: var(--text); }
.alert-error { background: rgba(239, 68, 68, 0.12); color: var(--text); }

.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.dir-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  transition: transform var(--transition);
}
.dir-card:hover { transform: translateY(-3px); }
.dir-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--bg-soft);
  margin-bottom: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mobile-toggle { display: none; }

@media (max-width: 960px) {
  .grid-3, .pricing-grid, .split, .form-row, .form-row-3, .listing-grid, .ms-detail-grid,
  .hours-row { grid-template-columns: 1fr; }
  .results-grid, .process-rail, .promise-grid { grid-template-columns: 1fr; }
  .review-track .review { flex-basis: 100%; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .process-rail { grid-template-columns: 1fr 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .hero { min-height: 70vh; }
}

/* Admin */
.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  padding: 1.4rem 1rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: auto;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: var(--bg-soft);
  color: var(--text);
}
.admin-main { padding: 1.5rem; }
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}
.stat .n {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}
.table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-end;
  margin: 0 0 0.75rem;
}
.table-tools label {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.table-tools input,
.table-tools select {
  width: auto;
  min-width: 11rem;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
}
.table-tools .table-search input { min-width: min(280px, 70vw); }
.table-count {
  margin-left: auto;
  padding-bottom: 0.7rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
th.sortable:hover { color: var(--text); }
th .sort-mark { margin-left: 0.4rem; opacity: 0.4; font-size: 0.75rem; }
th[aria-sort="ascending"] .sort-mark,
th[aria-sort="descending"] .sort-mark { opacity: 1; color: var(--accent); }
.assign-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0.75rem 0;
}
.assign-bar select { width: min(280px, 100%); }
.assign-bar .selected-count { color: var(--text-muted); min-width: 8rem; }
table input[type="checkbox"].file-check {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  padding: 0;
  accent-color: var(--accent, #14b8a6);
}
table { width: 100%; border-collapse: collapse; background: var(--bg-elevated); }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
th { color: var(--text-muted); font-weight: 600; background: var(--bg-soft); }
.badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.badge-success { color: #059669; }
.badge-danger { color: #dc2626; }
.badge-warn { color: #d97706; }
.panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.login-wrap {
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.login-card {
  width: min(520px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.perm-toolbar { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.perm-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.perm-group {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem 1rem;
  background: var(--bg-elevated);
}
.perm-group legend {
  padding: 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-text);
}
.perm-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
}
.perm-item:last-child { border-bottom: none; }
.perm-item input { margin-top: 0.2rem; }
.perm-item small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
  line-height: 1.35;
}


@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
}

/* Mini-site */
.ms-hero {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}
.ms-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}
.ms-meta { color: var(--text-muted); margin-bottom: 0.35rem; }
.ms-tagline { color: var(--text); font-size: 1.15rem; }
.ms-bio { max-width: 48rem; color: var(--text-muted); }
.ms-keywords { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.85rem; }
.ms-keywords span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.ms-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.ms-detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.ms-facts, .ms-hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.ms-facts strong { display: inline-block; min-width: 7.5rem; color: var(--text-muted); }
.ms-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}
.ms-video {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.ms-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ms-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}
.ms-gallery img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--border);
}
