/* =====================================================================
   MEDITECH TR — Components & Sections (light clinical theme)
   ===================================================================== */

/* ============================ HEADER ============================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(31,111,178,0.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; transition: transform 0.5s var(--ease); }
.brand:hover .brand-logo { transform: scale(1.04); }

.nav-desktop { display: flex; gap: 0.3rem; margin-inline: auto; }
.nav-desktop a {
  padding: 0.5em 0.9em; border-radius: 999px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
  position: relative; transition: color 0.3s, background 0.3s;
}
.nav-desktop a::after {
  content: ''; position: absolute; left: 50%; bottom: 6px;
  width: 0; height: 2px; background: var(--grad-brand); border-radius: 2px;
  transform: translateX(-50%); transition: width 0.35s var(--ease);
}
.nav-desktop a:hover { color: var(--navy); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 18px; }
.nav-desktop a.active { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 0.85rem; }
.lang-toggle {
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 0.4em 0.7em; border: 1.5px solid var(--line-strong); border-radius: 999px;
  display: inline-flex; gap: 0.35em; transition: border-color 0.3s; color: var(--ink-dim);
}
.lang-toggle:hover { border-color: var(--teal); }
.lang-opt { transition: color 0.3s; }
.lang-opt.active { color: var(--green-deep); }
.lang-sep { color: var(--ink-faint); }

.menu-btn {
  display: none; width: 42px; height: 42px;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-btn span { width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%); transition: transform 0.5s var(--ease);
  padding: 1.5rem var(--gutter) 2.5rem;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-nav { display: flex; flex-direction: column; gap: 0.3rem; }
.mobile-nav a {
  padding: 0.85em 0.5em; font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  border-bottom: 1px solid var(--line); color: var(--navy); transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav a:hover { color: var(--green-deep); padding-left: 1rem; }
.mobile-nav .btn { justify-content: center; margin-top: 1rem; border-bottom: none; color: #fff; }

/* ============================ HERO ============================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3rem;
  overflow: hidden;
}
.hero-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.blob.b1 { width: 460px; height: 460px; top: -120px; right: -80px; background: radial-gradient(circle, rgba(120,171,57,0.4), transparent 70%); animation: float 16s ease-in-out infinite alternate; }
.blob.b2 { width: 420px; height: 420px; bottom: -160px; left: -100px; background: radial-gradient(circle, rgba(31,111,178,0.32), transparent 70%); animation: float 20s ease-in-out infinite alternate-reverse; }
@keyframes float { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(30px,40px) scale(1.08); } }
.dna { position: absolute; inset: 0; }

.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-deep); padding: 0.55em 1.1em;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm); margin-bottom: 1.6rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.04; letter-spacing: -0.035em;
  color: var(--navy);
}
.hero-title span { display: block; }
.hero-lead { margin-top: 1.5rem; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.ekg { width: 100%; height: 56px; margin-top: 2.6rem; opacity: 0.9; }
.ekg-path { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 3.2s var(--ease) forwards 0.6s; }
.reveal.in .ekg-path { animation: draw 3.2s var(--ease) forwards, pulse-ekg 3s ease-in-out 3.4s infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse-ekg { 0%,100% { opacity: 0.85; } 50% { opacity: 0.4; } }

.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hstat { padding: 1.5rem 1.4rem; text-align: left; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.hstat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hstat strong {
  display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1;
}
.hstat span { font-size: 0.84rem; color: var(--ink-dim); margin-top: 0.5rem; display: block; }

/* ============================ SERVICES ============================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  padding: 2rem 1.9rem; position: relative; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s;
}
.service-card::after {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--grad-brand); transition: width 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card:hover::after { width: 100%; }
.service-card.feature { background: linear-gradient(165deg, var(--mint), var(--sky)); border-color: rgba(120,171,57,0.25); }

.svc-ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(120,171,57,0.16), rgba(31,111,178,0.14));
  color: var(--teal-deep); margin-bottom: 1.3rem;
}
.svc-ic svg { width: 26px; height: 26px; }
.service-card h3 { font-family: var(--font-display); font-size: 1.24rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; letter-spacing: -0.01em; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.3rem; }
.svc-tags li {
  font-family: var(--font-mono); font-size: 0.7rem; padding: 0.35em 0.7em; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-dim); background: var(--surface-2);
}
.svc-link { display: inline-block; margin-top: 1.2rem; font-weight: 700; color: var(--green-deep); font-size: 0.92rem; transition: gap 0.3s; }
.svc-link:hover { color: var(--blue); }

/* ============================ SERIOUS GAMES ============================ */
.games-section { background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border-block: 1px solid var(--line); }
.games-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.games-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.games-list li { display: flex; gap: 1rem; align-items: flex-start; }
.g-ic {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.games-list strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin-bottom: 0.2rem; }
.games-list p { color: var(--ink-soft); font-size: 0.92rem; }

.games-visual { position: relative; display: grid; place-items: center; }
.game-mock { width: min(100%, 380px); padding: 0; overflow: hidden; box-shadow: var(--shadow-lg); }
.gm-bar { display: flex; gap: 0.4rem; padding: 0.8rem 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.gm-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.gm-bar span:first-child { background: var(--green); }
.gm-bar span:nth-child(2) { background: var(--aqua); }
.gm-screen {
  aspect-ratio: 4/3; position: relative;
  background:
    radial-gradient(circle at 70% 30%, rgba(120,171,57,0.18), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(31,111,178,0.16), transparent 55%),
    var(--navy);
  padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between;
}
.gm-hp { position: relative; height: 14px; border-radius: 999px; background: rgba(255,255,255,0.12); overflow: hidden; }
.gm-hp i { position: absolute; inset: 0; width: var(--w); background: var(--grad-brand-soft); border-radius: 999px; animation: hp 4s ease-in-out infinite alternate; }
.gm-hp b { position: absolute; left: 10px; top: -2px; font-size: 0.62rem; color: #fff; font-weight: 700; line-height: 14px; mix-blend-mode: difference; }
@keyframes hp { 0% { width: 45%; } 100% { width: 88%; } }
.gm-orbs { position: relative; flex: 1; }
.orb {
  position: absolute; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.1rem; color: #fff; font-weight: 700;
  background: var(--grad-brand); box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  animation: bob 3.5s ease-in-out infinite;
}
.orb.o1 { top: 18%; left: 12%; animation-delay: 0s; }
.orb.o2 { top: 8%; right: 18%; background: linear-gradient(135deg, #f0667e, #c0394f); animation-delay: -0.8s; }
.orb.o3 { bottom: 26%; left: 28%; background: linear-gradient(135deg, var(--green-bright), var(--green-deep)); animation-delay: -1.6s; }
.orb.o4 { bottom: 14%; right: 14%; animation-delay: -2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.gm-score { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.gm-score span { font-size: 0.78rem; opacity: 0.7; }
.gm-score b { font-family: var(--font-display); font-size: 1.3rem; }

.game-badge {
  position: absolute; bottom: -16px; right: -8px;
  padding: 0.7em 1.1em; font-size: 0.82rem; font-weight: 700; color: var(--green-deep);
  box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 0.5em;
}
.game-badge::before { content: '✓'; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: 0.7rem; }

/* ============================ WORK ============================ */
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
.work-head .section-lead { margin-top: 0; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.work-card { overflow: hidden; padding: 0; cursor: pointer; transition: transform 0.5s var(--ease), box-shadow 0.5s, border-color 0.5s; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.work-media {
  height: 180px; position: relative; overflow: hidden;
  background:
    radial-gradient(130% 130% at 80% 15%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 60%),
    var(--surface-2);
}
.work-media::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--accent) 16%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 75% 30%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 75% 30%, #000, transparent 72%);
  transition: transform 0.6s var(--ease);
}
.work-card:hover .work-media::before { transform: scale(1.12); }
.work-media::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 96px; height: 96px;
  transform: translate(-50%,-50%) rotate(45deg); border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 85%, #fff 8%), color-mix(in srgb, var(--accent) 45%, transparent));
  box-shadow: 0 10px 36px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: transform 0.7s var(--ease);
}
.work-card:hover .work-media::after { transform: translate(-50%,-50%) rotate(135deg) scale(1.08); }
.work-body { padding: 1.5rem 1.6rem 1.7rem; }
.work-cat { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.work-body h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 0.45rem 0; letter-spacing: -0.02em; }
.work-body p { color: var(--ink-soft); font-size: 0.93rem; }
.work-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.work-meta i { color: var(--ink-dim); font-style: normal; font-weight: 400; font-size: 0.84rem; }
.work-arrow { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--accent); transition: transform 0.4s var(--ease), background 0.4s; }
.work-card:hover .work-arrow { background: color-mix(in srgb, var(--accent) 14%, transparent); transform: rotate(45deg); }

/* ============================ PROCESS ============================ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); opacity: 0.25; }
.step-no {
  font-family: var(--font-mono); font-size: 1rem; font-weight: 700;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong); color: var(--green-deep);
  position: relative; z-index: 1; margin-bottom: 1.3rem;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s, color 0.4s;
}
.process-step:hover .step-no { transform: translateY(-4px); border-color: var(--teal); color: var(--blue); box-shadow: var(--shadow); }
.step-body h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.step-body p { color: var(--ink-soft); font-size: 0.92rem; }

/* ============================ TRUST ============================ */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding: 2.4rem 2rem; margin-bottom: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(120deg, var(--mint), var(--sky));
}
.stat-cell { text-align: center; position: relative; }
.stat-cell:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; bottom: 15%; width: 1px; background: var(--line-strong); }
.stat-cell strong { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-cell span { font-size: 0.84rem; color: var(--ink-dim); margin-top: 0.5rem; display: block; }

.partners { text-align: center; }
.partners-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 4vw, 3rem); margin-top: 1.6rem; }
.partners-row span { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink-faint); transition: color 0.4s, transform 0.4s; }
.partners-row span:hover { color: var(--navy-soft); transform: translateY(-2px); }

/* ============================ FAQ ============================ */
.faq-inner { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color 0.4s, box-shadow 0.4s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.4rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-deep); }
.faq-ic { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; background: var(--teal-deep); transition: transform 0.4s var(--ease), opacity 0.3s; }
.faq-ic::before { top: 50%; left: 0; width: 18px; height: 2px; transform: translateY(-50%); }
.faq-ic::after { left: 50%; top: 0; width: 2px; height: 18px; transform: translateX(-50%); }
.faq-item[open] .faq-ic::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-item[open] .faq-ic::before { background: var(--green-deep); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-item[open] .faq-a { grid-template-rows: 1fr; }
.faq-a > p { overflow: hidden; padding: 0 1.4rem; color: var(--ink-soft); line-height: 1.65; }
.faq-item[open] .faq-a > p { padding-bottom: 1.3rem; }

/* ============================ CONTACT ============================ */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.2rem, 5vw, 3.4rem); position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--surface), var(--surface-2));
  box-shadow: var(--shadow);
}
.contact-card::before { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(120,171,57,0.18), transparent 70%); top: -120px; right: -100px; pointer-events: none; }
.contact-left { position: relative; z-index: 1; }
.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.contact-info li { display: flex; align-items: center; gap: 0.8rem; color: var(--ink-soft); }
.ci-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(150deg, rgba(120,171,57,0.16), rgba(31,111,178,0.14)); color: var(--teal-deep); }
.contact-info a:hover { color: var(--green-deep); }

.contact-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8em 1em; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(75,160,127,0.15); }
.field input.invalid, .field textarea.invalid { border-color: #e0606e; box-shadow: 0 0 0 3px rgba(224,96,110,0.12); }
.form-submit { justify-content: center; margin-top: 0.3rem; color: #fff; }
.form-status { font-size: 0.9rem; min-height: 1.2em; text-align: center; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #d9485a; }

/* ============================ FOOTER ============================ */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-top: clamp(3.5rem, 7vw, 5rem); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; }
.footer-logo { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-dim); max-width: 34ch; font-size: 0.95rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--ink-soft); font-size: 0.9rem; font-weight: 700; transition: transform 0.4s var(--ease), border-color 0.4s, color 0.4s, background 0.4s; }
.socials a:hover { transform: translateY(-3px); border-color: var(--teal); color: var(--green-deep); background: var(--mint); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.fcol { display: flex; flex-direction: column; gap: 0.65rem; }
.fcol h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 0.5rem; }
.fcol a, .fcol span { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.3s; }
.fcol a:hover { color: var(--green-deep); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.7rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-dim); }

/* ============================ REVEAL ============================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--rd, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { max-width: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .games-wrap { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-cell:nth-child(2)::after { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .menu-btn { display: flex; }
  .btn-sm.btn-primary { display: none; }
  .work-head { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .brand-logo { height: 44px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .stat-cell::after { display: none !important; }
  .stat-cell { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-strong); }
  .stat-cell:last-child { border-bottom: none; padding-bottom: 0; }
  .process-steps { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
}
