/* VEI Store landing — clay, soft, bright (app-adjacent) */
:root {
  --bg: #f0f0f5;
  --ink: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --line: rgba(31, 41, 55, 0.08);
  --translate: #2563eb;
  --scan: #7c3aed;
  --sprak: #ea580c;
  --city: #dc2626;
  --accent: #ea580c;
  --accent-soft: #ffedd5;
  --shadow: 8px 8px 20px rgba(163, 177, 198, 0.35), -6px -6px 16px rgba(255, 255, 255, 0.9);
  --shadow-sm: 4px 4px 12px rgba(163, 177, 198, 0.28), -3px -3px 10px rgba(255, 255, 255, 0.85);
  --radius: 1.35rem;
  --radius-lg: 1.85rem;
  --font: "Nunito", system-ui, sans-serif;
  --max: 70rem;
  --header-h: 4.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3, p { margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.atmosphere span {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.45;
  animation: drift 18s ease-in-out infinite alternate;
}
.atmosphere span:nth-child(1) {
  width: 28rem; height: 28rem;
  background: #fdba74;
  top: -8rem; left: -6rem;
}
.atmosphere span:nth-child(2) {
  width: 22rem; height: 22rem;
  background: #93c5fd;
  top: 18%; right: -8rem;
  animation-delay: -4s;
}
.atmosphere span:nth-child(3) {
  width: 20rem; height: 20rem;
  background: #fecaca;
  bottom: 10%; left: 20%;
  animation-delay: -8s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(2rem, 1.5rem) scale(1.08); }
}

.shell {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(240, 240, 245, 0.82);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding-block: 0.65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  object-fit: contain;
  background: transparent;
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a,
.lang-btn {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.nav a:hover,
.lang-btn:hover {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-1px);
}
.lang-switch {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}
.lang-btn.is-active {
  background: var(--accent);
  color: white;
}

/* Clay buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.45rem;
  border-radius: 1.15rem;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: var(--shadow);
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
  color: white;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}
.btn--primary:hover { filter: brightness(1.05); }
.btn--ghost {
  background: var(--white);
  color: var(--ink);
}
.btn--wide { width: 100%; max-width: 22rem; }

/* Stories */
.stories {
  padding: 1.25rem 0 0.25rem;
}
.stories__label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.stories__row {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}
.story {
  flex: 0 0 auto;
  width: 4.6rem;
  text-align: center;
}
.story__ring {
  width: 4.35rem;
  height: 4.35rem;
  margin: 0 auto 0.4rem;
  padding: 2px;
  border-radius: 50%;
  background: #e8e8ef;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.story:hover .story__ring { transform: scale(1.04); }
.story__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  border: 2px solid var(--bg);
  display: block;
  overflow: hidden;
}
.story__avatar--svg {
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.story__avatar--svg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.story__title {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hero */
.hero {
  display: grid;
  gap: 1.75rem;
  padding: 1.5rem 0 2.5rem;
  align-items: center;
}
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 2.5rem 0 3.5rem;
    gap: 2.5rem;
  }
}
.hero__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero__brand-mark img {
  width: clamp(3.2rem, 8vw, 4.5rem);
  height: clamp(3.2rem, 8vw, 4.5rem);
  border-radius: 1.15rem;
  object-fit: contain;
  background: transparent;
  box-shadow: var(--shadow);
  animation: bob 3.6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.45rem); }
}
.hero h1 {
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  max-width: 18ch;
  margin-bottom: 0.85rem;
}
.hero__lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 36rem;
  margin-bottom: 1.35rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.hero__note {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.hero__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 22rem);
}
.hero__phone {
  position: relative;
  border-radius: 2rem;
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
  box-shadow: var(--shadow);
  padding: 1.1rem;
  overflow: hidden;
}
.hero__phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(234, 88, 12, 0.18), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.16), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(124, 58, 237, 0.14), transparent 45%);
  pointer-events: none;
}
.hero__litso {
  position: relative;
  width: 78%;
  margin: 0.5rem auto 0;
  filter: drop-shadow(0 12px 18px rgba(31, 41, 55, 0.18));
  animation: bob 4.2s ease-in-out infinite;
  animation-delay: -1s;
}
.hero__chips {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 1rem;
}
.chip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.65rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 800;
}
.chip img { width: 1.65rem; height: 1.65rem; border-radius: 0.45rem; object-fit: contain; background: transparent; }
.chip--translate { color: var(--translate); }
.chip--scan { color: var(--scan); }
.chip--sprak { color: var(--sprak); }
.chip--city { color: var(--city); }

/* Method teaser */
.method-panel {
  display: grid;
  gap: 1.15rem;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: calc(var(--radius-lg) + 0.15rem);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 237, 213, 0.72) 55%, rgba(219, 234, 254, 0.55) 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(234, 88, 12, 0.12);
}
@media (min-width: 860px) {
  .method-panel {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 1.75rem;
    padding: 1.75rem 1.6rem;
  }
}
.method-panel__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
.method-panel__text {
  color: #4b5563;
  font-weight: 600;
  margin-bottom: 1rem;
  max-width: 38rem;
}
.method-points {
  display: grid;
  gap: 0.65rem;
}
.method-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.75rem 0.85rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}
.method-point__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 0.95rem;
  color: white;
  background: linear-gradient(180deg, #fb923c, #ea580c);
  box-shadow: var(--shadow-sm);
}
.method-point h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.method-point p {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
}

.method-page .method-hero {
  padding: 1.5rem 0 0.5rem;
  max-width: 42rem;
}
.method-page .method-hero h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.75rem;
}
.method-page .method-hero .lead {
  font-size: 1.08rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 1.5rem;
}
.method-cycle {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 1.75rem;
}
@media (min-width: 720px) {
  .method-cycle { grid-template-columns: repeat(3, 1fr); }
}
.method-cycle__item {
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
.method-cycle__item strong {
  display: block;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* Sections */
.section {
  padding: 2.25rem 0;
}
.section__head {
  margin-bottom: 1.25rem;
}
.section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
}
.section__sub {
  margin-top: 0.55rem;
  color: var(--muted);
  font-weight: 600;
  max-width: 36rem;
  font-size: 0.98rem;
}

/* Phone screens — split: carousel left, copy right */
.section--screens {
  padding-top: 1.75rem;
  padding-bottom: 2.5rem;
}
.screens-split {
  display: grid;
  gap: 1.35rem;
  align-items: center;
}
.screens-split__copy {
  max-width: 28rem;
}
.screens-split__copy .section__eyebrow { margin-bottom: 0.45rem; }
.screens-split__copy h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 16ch;
}
.screens-split__copy .section__sub {
  margin-top: 0.65rem;
  max-width: 28rem;
}
.screens-split__caption {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  min-height: 3.1rem;
}
.screens-split__media {
  justify-self: center;
  width: 100%;
}
@media (min-width: 860px) {
  .screens-split {
    grid-template-columns: minmax(14rem, 17.5rem) minmax(0, 1fr);
    gap: 2.25rem 2.75rem;
    align-items: center;
  }
  .screens-split__media {
    order: -1;
    justify-self: start;
  }
  .screens-split__copy {
    padding-right: 0.5rem;
  }
}

.phone-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.65rem 0.35rem;
  align-items: center;
  justify-items: center;
  max-width: 19rem;
  margin: 0;
}
.phone-carousel__stage {
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 15.5rem);
}
.phone-frame {
  position: relative;
  border-radius: 1.85rem;
  padding: 0.45rem;
  background: linear-gradient(165deg, #ffffff 0%, #eef2f7 100%);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}
.phone-frame__notch {
  position: absolute;
  top: 0.62rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.12);
  z-index: 2;
  pointer-events: none;
}
.phone-frame__screen {
  position: relative;
  border-radius: 1.45rem;
  overflow: hidden;
  background: #f8fafc;
  aspect-ratio: 9 / 19.5;
}
.phone-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.phone-carousel__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8%) scale(0.985);
  transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s;
  pointer-events: none;
}
.phone-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  pointer-events: auto;
  z-index: 1;
}
.phone-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #f0f0f5;
}
.phone-carousel__nav {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform 0.18s ease, background 0.18s ease;
}
.phone-carousel__nav:hover {
  transform: scale(1.06);
  background: #fff;
}
.phone-carousel__nav:active { transform: scale(0.96); }
.phone-carousel__nav--prev { grid-column: 1; grid-row: 1; }
.phone-carousel__nav--next { grid-column: 3; grid-row: 1; }
.phone-carousel__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 0.1rem;
}
.phone-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.18);
  transition: width 0.22s ease, background 0.22s ease;
}
.phone-carousel__dot.is-active {
  width: 1.25rem;
  background: var(--accent);
}
@media (max-width: 520px) {
  .phone-carousel {
    grid-template-columns: 1fr;
    max-width: 17rem;
    margin: 0 auto;
  }
  .phone-carousel__stage { grid-column: 1; width: min(100%, 15rem); }
  .phone-carousel__nav {
    position: absolute;
    top: 42%;
    z-index: 3;
  }
  .phone-carousel__nav--prev { left: -0.1rem; }
  .phone-carousel__nav--next { right: -0.1rem; left: auto; }
  .screens-split__copy {
    text-align: center;
    max-width: none;
  }
  .screens-split__copy h2 { max-width: none; margin-left: auto; margin-right: auto; }
  .screens-split__copy .section__sub { margin-left: auto; margin-right: auto; }
}

.modules {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .modules { grid-template-columns: 1fr 1fr; }
}
.module {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  color: inherit;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
.module:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow);
}
.module__go {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.module:hover .module__go {
  transform: translateX(3px);
  color: var(--accent);
}
a.module { text-decoration: none; }
.module img {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 1.15rem;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.module h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.module p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.module--translate h3 { color: var(--translate); }
.module--scan h3 { color: var(--scan); }
.module--sprak h3 { color: var(--sprak); }
.module--city h3 { color: var(--city); }

.steps {
  display: grid;
  gap: 0.85rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding: 1.2rem 1.1rem 1.2rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
  min-height: 7rem;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 900;
}

.trust {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 237, 213, 0.55));
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(234, 88, 12, 0.12);
}
.trust p { font-weight: 600; color: #374151; }
.trust a { color: var(--accent); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

.cta-band {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  margin: 1rem 0 2.5rem;
}
.cta-band h2 { margin-bottom: 0.5rem; }
.cta-band p {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.1rem;
}

/* Blog list */
.blog-grid {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 720px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
.blog-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card__tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}
.blog-card p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.article {
  padding: 1.5rem 0 3rem;
  max-width: 42rem;
}
.article__meta {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.article h1 {
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.article .lead {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.article p,
.article li {
  color: #374151;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.article ul, .article ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.article h2 {
  font-size: 1.15rem;
  margin: 1.6rem 0 0.7rem;
}
.faq {
  margin-top: 1.75rem;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.faq details {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  font-weight: 800;
  cursor: pointer;
}
.faq p { margin: 0.5rem 0 0; font-size: 0.95rem; }

/* Agencies */
.agencies {
  min-height: calc(100vh - 8rem);
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
  text-align: center;
}
.agencies__panel {
  width: min(100%, 28rem);
  padding: 2rem 1.35rem;
  border-radius: calc(var(--radius-lg) + 0.25rem);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}
.agencies__panel h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0.5rem 0 0.55rem;
}
.agencies__panel > p {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1.4rem;
}
.agencies__buttons {
  display: grid;
  gap: 0.75rem;
}
.agencies__buttons .btn { width: 100%; }

/* Footer */
.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  margin-top: 1rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}
.site-footer a:hover { color: var(--accent); }

/* Modal */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 41, 55, 0.45);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  width: min(100%, 26rem);
  padding: 1.45rem 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  animation: pop 0.22s ease;
}
@keyframes pop {
  from { transform: translateY(0.6rem) scale(0.98); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 800;
}
.modal h2 {
  font-size: 1.3rem;
  font-weight: 800;
  padding-right: 2rem;
  margin-bottom: 0.55rem;
}
.modal p {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}
.field label {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}
.field input {
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  border: 2px solid #e5e7eb;
  background: #fafafa;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}
.modal__hint {
  margin-top: 0.75rem;
  font-size: 0.78rem !important;
}
.modal__ok {
  display: none;
  text-align: center;
  padding: 0.5rem 0;
}
.modal.is-done .modal__form { display: none; }
.modal.is-done .modal__ok { display: block; }

[hidden] { display: none !important; }
.lang-en [data-lang="ru"],
.lang-ru [data-lang="en"] { display: none !important; }

@media (max-width: 520px) {
  .nav a[data-hide-sm] { display: none; }
  .shell { width: min(100% - 1.25rem, var(--max)); }
}

@media (orientation: landscape) and (max-height: 520px) {
  .hero { padding-block: 1rem 1.5rem; }
  .hero__visual { display: none; }
}

@media (min-width: 1200px) {
  .hero__visual { width: min(100%, 24rem); }
}

/* Module pages */
.mod-main { padding: 1.25rem 0 3rem; max-width: 46rem; margin-inline: auto; }
.mod-hero {
  display: grid;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
@media (min-width: 640px) {
  .mod-hero { grid-template-columns: auto 1fr; gap: 1.5rem; }
}
.mod-hero__icon-wrap {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.6rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite;
}
.mod-hero__icon {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
}
.mod-hero h1 {
  font-size: clamp(1.45rem, 3.4vw, 2.05rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0.25rem 0 0.65rem;
}
.mod-juice {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--mod-accent, var(--accent));
  line-height: 1.35;
}
.mod-split {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 720px) {
  .mod-split { grid-template-columns: 1fr 1fr; }
}
.mod-panel {
  padding: 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}
.mod-panel h2 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.mod-panel p {
  color: #4b5563;
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}
.mod-panel--solve {
  border: 1px solid color-mix(in srgb, var(--mod-accent, #ea580c) 28%, transparent);
  background: linear-gradient(160deg, #fff, color-mix(in srgb, var(--mod-accent, #ea580c) 10%, #fff));
}
.juice-grid {
  display: grid;
  gap: 0.7rem;
}
@media (min-width: 640px) {
  .juice-grid { grid-template-columns: repeat(3, 1fr); }
}
.juice-card {
  text-align: left;
  padding: 1rem 0.95rem;
  border-radius: 1.15rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  animation: rise 0.55s ease both;
  animation-delay: calc(var(--i, 0) * 0.08s);
}
.juice-card strong {
  display: block;
  color: var(--mod-accent, var(--accent));
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.juice-card span {
  display: block;
  font-weight: 700;
  color: #374151;
  font-size: 0.92rem;
  line-height: 1.35;
}
.juice-card:hover,
.juice-card.is-on {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--mod-accent, #ea580c) 45%, transparent);
  box-shadow: var(--shadow);
}
.mod-not {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.mod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.mod-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-size: 0.85rem;
  transition: transform 0.15s ease;
}
.mod-chip img { width: 1.5rem; height: 1.5rem; object-fit: contain; }
.mod-chip:hover { transform: translateY(-2px); }
.mod-chip--translate { color: var(--translate); }
.mod-chip--scan { color: var(--scan); }
.mod-chip--sprak { color: var(--sprak); }
.mod-chip--city { color: var(--city); }

.chip {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
a.chip:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow);
}

/* Soft wow: reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
/* If JS late/offline — still readable after a beat */
@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}
.reveal:not(.is-in) {
  animation: reveal-fallback 0.01s linear 1.2s forwards;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.4rem); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

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