:root {
  --bg: #0b0f19;
  --bg-deep: #0a0d14;
  --surface: rgba(18, 24, 36, 0.78);
  --surface-solid: #121824;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --cyan: #00f0ff;
  --cyan-deep: #06b6d4;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --text: #ffffff;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --ink: #041018;
  --danger: #fb7185;
  --radius: 22px;
  --header: 76px;
  --max: 1140px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--soft);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(0, 240, 255, 0.14), transparent 55%),
    radial-gradient(720px 480px at -10% 15%, rgba(37, 99, 235, 0.22), transparent 52%),
    radial-gradient(640px 420px at 50% 110%, rgba(6, 182, 212, 0.08), transparent 50%),
    var(--bg);
  color-scheme: dark;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 72%);
  z-index: -1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

::selection {
  background: rgba(0, 240, 255, 0.28);
  color: #fff;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

.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;
}

.wrap {
  width: min(var(--max), calc(100% - 40px), calc(100vw - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 25, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(var(--max), calc(100vw - 32px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}

.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 14px;
}

.brand-sub {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
}

.nav-panel a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 8px;
  border-radius: 999px;
}

.nav-panel a:hover,
.nav-panel a[aria-current="true"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.lang button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 9px;
  border-radius: 999px;
}

.lang button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--cyan);
}

.lang-sep {
  color: rgba(148, 163, 184, 0.45);
  font-size: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(180deg, #7af7ff 0%, #00e7f5 100%);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.35), 0 10px 30px rgba(0, 240, 255, 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px #00f0ff, 0 0 36px rgba(0, 240, 255, 0.48);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 240, 255, 0.55);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.12);
}

.cta-short {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  align-items: center;
  justify-content: center;
}

.menu-toggle .icon-close { display: none; }

.menu-toggle[aria-expanded="true"] .icon-open { display: none; }

.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.panel-cta {
  display: none;
}

.hero {
  padding: 28px 0 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - var(--header) - 24px);
}

.hero-grid > * {
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 100%;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(0, 240, 255, 0.06);
  color: #d9fbff;
  font-size: 13px;
  font-weight: 600;
}

.badge svg {
  color: var(--cyan);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: -0.035em;
  word-spacing: 0.16em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800;
  max-width: min(12em, 100%);
  overflow-wrap: break-word;
}

h1 .gradient {
  display: block;
}

.gradient {
  display: inline;
  background: linear-gradient(115deg, #ffffff 0%, #d8fdff 28%, #67e8f9 68%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lede {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17.5px;
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-size: 13px;
  font-weight: 600;
}

.stage {
  position: relative;
  height: 660px;
  max-width: 100%;
  display: grid;
  place-items: center;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.orb-a {
  width: 220px;
  height: 220px;
  right: 18px;
  top: 70px;
  background: rgba(0, 240, 255, 0.18);
}

.orb-b {
  width: 180px;
  height: 180px;
  left: 20px;
  bottom: 80px;
  background: rgba(37, 99, 235, 0.28);
}

.phone {
  position: relative;
  width: 286px;
  height: 590px;
  padding: 12px;
  border-radius: 42px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04) 32%, rgba(0, 240, 255, 0.08)),
    #121826;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(0, 240, 255, 0.14);
  transform: rotateY(-16deg) rotateX(8deg);
  transition: transform 0.18s ease-out;
  transform-style: preserve-3d;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(120px 80px at 80% 10%, rgba(0, 240, 255, 0.16), transparent 70%),
    linear-gradient(180deg, #101722, #0a0e16);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-sheen {
  position: absolute;
  inset: -20% auto auto -40%;
  width: 50%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: rotate(18deg);
  animation: sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

.notch {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #070a10;
  z-index: 2;
}

.screen-ui {
  position: relative;
  z-index: 1;
  padding: 42px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screen-top,
.appt,
.metric {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
}

.screen-kicker {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.screen-top strong {
  color: #fff;
  font-size: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.nodes {
  width: 100%;
  height: 180px;
  margin-top: -6px;
}

.node {
  fill: #00f0ff;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.8s ease-in-out infinite;
}

.node:nth-child(2) { animation-delay: 0.4s; }
.node:nth-child(3) { animation-delay: 0.8s; }
.node:nth-child(4) { animation-delay: 1.1s; }

.appt {
  border-radius: 18px;
  padding: 14px;
}

.appt span,
.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.appt strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 20px;
}

.appt em {
  display: block;
  margin-top: 2px;
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.metric {
  border-radius: 16px;
  padding: 12px;
}

.metric b {
  color: #fff;
  font-size: 22px;
  letter-spacing: -0.04em;
}

section {
  padding: 78px 0;
  scroll-margin-top: 92px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
}

.section-head p,
.about-copy,
.service-card p,
.work-card p,
.process-card p {
  color: var(--muted);
}

.section-head p {
  margin: 12px 0 0;
  font-size: 17px;
}

.work-card,
.service-card,
.process-card,
.blog-card,
.about-panel,
.contact-panel,
.info-panel,
.dialog-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.work-card:hover,
.service-card:hover,
.process-card:hover,
.blog-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 240, 255, 0.08);
}

.work-card,
.service-card,
.process-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.work-card h3,
.service-card h3,
.process-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.service-card p,
.process-card p,
.work-card p {
  margin: 0;
}

.more {
  margin-top: 8px !important;
}

.work-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-grid {
  grid-template-columns: repeat(2, 1fr);
}

.work-card {
  overflow: hidden;
}

.work-visual {
  display: block;
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #0c1424;
}

.work-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.work-visual svg,
.work-visual .visual-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.visual-dental {
  background:
    radial-gradient(180px 120px at 70% 20%, rgba(0, 240, 255, 0.22), transparent 60%),
    linear-gradient(160deg, #102033, #0c1424);
}

.visual-spa {
  background:
    radial-gradient(200px 140px at 30% 80%, rgba(6, 182, 212, 0.28), transparent 60%),
    linear-gradient(160deg, #0e2430, #10182a);
}

.visual-hair {
  background:
    radial-gradient(160px 140px at 80% 70%, rgba(37, 99, 235, 0.35), transparent 60%),
    linear-gradient(160deg, #12182e, #0c1220);
}

.work-body {
  padding: 20px 20px 22px;
}

.kicker {
  margin: 0 0 6px;
  color: var(--cyan) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.08);
  color: #d8fbff;
  font-size: 12px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-weight: 700;
}

.text-link svg {
  transition: transform 0.2s ease;
}

.work-card:hover .text-link svg {
  transform: translate(3px, -3px);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.7), rgba(37, 99, 235, 0.7), transparent);
}

.process-card {
  position: relative;
  padding: 22px 18px 24px;
}

.step-no {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: var(--ink);
  font-weight: 800;
  background: linear-gradient(180deg, #7af7ff, #00d7ea);
  box-shadow: 0 0 0 6px rgba(11, 15, 25, 0.9), 0 0 20px rgba(0, 240, 255, 0.35);
}

.step-facts {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.step-facts div {
  display: grid;
  gap: 2px;
}

.step-facts dt {
  margin: 0;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.icon-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.service-card {
  padding: 24px;
}

.checks {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 22px;
  margin-top: 8px;
  color: var(--soft);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.about-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  padding: 28px;
  align-items: center;
}

.about-mark {
  display: grid;
  place-items: center;
  min-height: 240px;
  border-radius: 18px;
  background:
    radial-gradient(180px 140px at 50% 50%, rgba(0, 240, 255, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.02);
}

.about-mark img {
  width: min(240px, 70%);
  filter: drop-shadow(0 0 24px rgba(0, 240, 255, 0.35));
}

.about-facts {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.about-facts article {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.about-facts h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.about-facts p {
  margin: 0;
  color: var(--muted);
}

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

.contact-panel,
.info-panel {
  padding: 28px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span,
.info-row span {
  color: var(--soft);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(7, 10, 16, 0.65);
  color: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 240, 255, 0.55);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.16);
}

.field-error {
  min-height: 1.1em;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.form-note,
.info-city {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(0, 240, 255, 0.08);
}

.form-status strong {
  color: #fff;
}

.form-status p {
  margin: 4px 0 0;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.info-row a {
  color: #fff;
  font-weight: 700;
}

.info-row a:hover {
  color: var(--cyan);
}

.site-footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: #fff;
}

.socials a:hover {
  border-color: rgba(0, 240, 255, 0.5);
  color: var(--cyan);
}

.concept-dialog {
  width: min(560px, calc(100% - 28px));
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.concept-dialog::backdrop {
  background: rgba(4, 8, 16, 0.74);
  backdrop-filter: blur(8px);
}

.dialog-card {
  padding: 22px;
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  display: grid;
  place-items: center;
}

.dialog-card h3 {
  margin: 6px 0 8px;
  font-size: 28px;
}

.concept-features {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--soft);
}

.concept-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

html.animate .reveal {
  opacity: 0;
  transform: translateY(16px);
}

html.animate .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

@keyframes sheen {
  0%, 55% { transform: translateX(0) rotate(18deg); opacity: 0; }
  70% { opacity: 1; }
  100% { transform: translateX(280px) rotate(18deg); opacity: 0; }
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-thumb {
  display: block;
  padding: 18px 36px 0;
  background: #0c1424;
  overflow: hidden;
}

.blog-frame {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  padding: 22px 18px 12px;
  background: #0b0d1a;
}

.blog-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.blog-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-browser {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 18px 18px 0;
  border-radius: 14px 14px 0 0;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: #0b1220;
  overflow: hidden;
}

.blog-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--line);
}

.blog-dots {
  display: flex;
  gap: 5px;
}

.blog-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.55);
}

.blog-url {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.blog-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 100%;
  padding: 22px 20px 28px;
  background:
    radial-gradient(180px 90px at 80% 0%, rgba(0, 240, 255, 0.16), transparent 60%),
    linear-gradient(160deg, #102033, #0c1424);
}

.blog-screen-kicker {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.blog-screen-title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 14em;
}

.blog-screen-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.blog-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 36px 22px;
  flex: 1;
}

.blog-body h3 {
  font-size: 22px;
}

.blog-body h3 a:hover {
  color: var(--cyan);
}

.blog-body p {
  margin: 0;
}

.blog-body .text-link {
  margin-top: auto;
}

.article-page {
  padding-top: 36px;
}

.article {
  width: min(760px, 100%);
}

.article-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--cyan);
  font-weight: 700;
}

.article-lead {
  margin: 14px 0 0;
  color: var(--soft);
  font-size: 18px;
}

.article-content h2 {
  margin: 32px 0 10px;
  font-size: clamp(24px, 3vw, 32px);
}

.article-content p,
.article-content li {
  color: var(--soft);
}

.article-content ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.article-content li + li {
  margin-top: 6px;
}

.article-cta {
  margin-top: 36px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 240, 255, 0.28);
  background: rgba(0, 240, 255, 0.08);
}

.article-cta p {
  margin: 0 0 14px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 1040px) {
  .cta-full { display: none; }
  .cta-short { display: inline; }
  .hero-grid,
  .about-panel,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .process-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .process-grid::before { display: none; }
  h1 { max-width: 100%; }
}

@media (max-width: 860px) {
  .brand { min-width: 0; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    margin: 0;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: rgba(10, 14, 22, 0.96);
    box-shadow: var(--shadow);
  }
  .nav-panel.is-open { display: flex; }
  .nav-panel a {
    padding: 12px;
  }
  .panel-cta {
    display: inline-flex;
    margin-top: 6px;
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .work-grid,
  .blog-grid,
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-grid { min-height: 0; padding-top: 18px; }
  .stage { height: 540px; }
  .phone {
    width: 250px;
    height: 500px;
    transform: none;
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner { width: min(var(--max), calc(100vw - 28px)); }
  section { padding: 60px 0; }
  .form-grid,
  .process-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .footer-inner { justify-items: start; }
  .brand-name { letter-spacing: 0.12em; }
  h1 { font-size: 36px; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 13px; letter-spacing: 0.08em; }
  .lang button { padding: 6px 7px; }
  .menu-toggle { width: 42px; height: 42px; }
}

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