/* =========================================================
   Компьютерно-техническая экспертиза — landing
   Fonts: Manrope (UI / display), IBM Plex Sans (body)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #eef1f6;
  --bg-card: #ffffff;
  --ink: #0e1521;
  --ink-muted: #5a6473;
  --ink-subtle: #8a94a3;
  --line: #e3e7ef;
  --line-strong: #cfd6e1;
  --accent: #1a73e8;
  --footer-bg: #111a2b;
  --footer-ink: #F8FAFC;
  --footer-ink-muted: #F8FAFC;
  --radius-card: 14px;
  --radius-btn: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 0 rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.04);
  --font-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', 'Manrope', system-ui, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
}

a.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-ui);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; font-weight: 500; }
h3 { font-size: 18px; line-height: 1.35; font-weight: 600; }

p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

.section--soft { background: var(--bg-soft); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.muted { color: var(--ink-muted); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--footer-bg);
  color: #fff;
}
.btn--primary:hover {
  background: #1c2942;
}
.btn--primary:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(17, 26, 43, 0.04);
}

.btn--link {
  background: transparent;
  color: var(--ink);
  padding: 8px 0;
  border-radius: 0;
  font-weight: 500;
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header--scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.header, .header * {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: #0F172A;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.header__contact + .header__socials { margin-left: 6px; }

.brand {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: #0F172A;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-self: end;
  line-height: 1;
  text-decoration: none;
  padding-bottom: 2px;
}
.brand__caption {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: 0.01em;
  color: #0F172A;
}
.brand__name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  color: #0F172A;
}

.nav {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  align-self: end;
  padding-bottom: 2px;
}
.nav a {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 15px;
  color: #0F172A;
  padding: 4px 0;
  position: relative;
  font-weight: 400;
  line-height: 1;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1;
  gap: 10px;
  align-self: end;
  padding-bottom: 2px;
}
.header__contact a.email {
  color: #0F172A;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  line-height: 1;
  order: 1;
}
.header__contact .phone {
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  color: #0F172A;
  order: 2;
}

.header__socials {
  display: flex;
  gap: 10px;
  margin-left: 6px;
  align-self: end;
  padding-bottom: 2px;
}
.header__socials a {
  width: auto; height: auto;
  border-radius: 0;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: #0F172A;
  border: 0;
  background: transparent;
  transition: opacity 0.2s;
}
.header__socials a:hover { opacity: 0.7; border: 0; }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 60;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}
.drawer--open { transform: translateX(0); }
.drawer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__top .brand {
  display: inline-block;
  line-height: 1.05;
}
.drawer__top .brand br { line-height: 0.9; }
.drawer__close {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center; justify-content: center;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
}
.drawer__nav a {
  padding: 14px 4px;
  font-size: 18px;
  font-family: var(--font-ui);
  border-bottom: 1px solid var(--line);
}
.drawer__contact {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.drawer__contact .header__socials {
  margin-left: 0;
  align-self: flex-start;
  padding-bottom: 0;
  justify-content: flex-start;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: 64px 0 48px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}
.hero__copy h1 { margin-bottom: 20px; }
.hero__copy p {
  color: var(--ink-muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 460px;
}
.hero__image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #000;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Hero variant: full-bleed */
.hero--wide .hero__grid {
  grid-template-columns: 1fr;
  gap: 32px;
}
.hero--wide .hero__image {
  aspect-ratio: 21/7;
  order: 2;
}
.hero--wide .hero__copy { max-width: 640px; margin: 0 auto; text-align: center; }
.hero--wide .hero__copy p { margin-left: auto; margin-right: auto; }

/* Hero variant: split (image left) */
.hero--reverse .hero__image { order: -1; }

/* =========================================================
   Stats row
   ========================================================= */
.stats {
  padding: 32px 0 72px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.stat__icon {
  color: var(--ink);
  opacity: 0.85;
}
.stat__label {
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--ink);
  max-width: 180px;
  line-height: 1.35;
}

/* =========================================================
   Three-column "Заключения..." block
   ========================================================= */
.conclusions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.conclusion-col h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.conclusion-col h3 .arrow {
  color: var(--ink-muted);
  flex-shrink: 0;
  width: 18px;
}
.conclusion-col p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
  padding-left: 30px;
}
.conclusions__cta {
  display: flex;
  justify-content: center;
}

/* =========================================================
   "Заключение поможет"
   ========================================================= */
.helps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.helps-col h3 {
  text-align: left;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.helps-col__icon {
  color: var(--ink-muted);
  flex-shrink: 0;
  font-size: 22px;
  width: 22px;
}
.helps-col ul {
  list-style: none;
  padding: 0 0 0 34px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
}
.helps-col li {
  padding-left: 16px;
  position: relative;
}
.helps-col li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: var(--ink-muted);
}

/* =========================================================
   Expert (about) section
   ========================================================= */
.expert__badge {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #e5ebf3;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--ink);
  margin-bottom: 24px;
}
.expert__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.expert__bio { min-width: 0; }
.carousel { min-width: 0; max-width: 100%; }
.carousel__viewport { max-width: 100%; }
.expert__bio {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.expert__head {
  display: flex;
  gap: 20px;
  align-items: center;
}
.expert__photo {
  width: 112px;
  height: 112px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ccc;
}
.expert__photo img { width: 100%; height: 100%; object-fit: cover; }
.expert__name {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.expert__role {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.expert__section h4 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.expert__section h4 .material-symbols-outlined { color: var(--ink-muted); font-size: 20px; }
.expert__section p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Carousel */
.carousel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.carousel__label {
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.carousel__viewport {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #eef1f6;
  aspect-ratio: 4/3;
}
.carousel__track {
  display: flex;
  transition: transform 0.4s ease;
  height: 100%;
}
.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef1f6, #dfe4ee);
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s;
}
.carousel__btn:hover { background: #fff; }
.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.carousel__dot--active { background: var(--footer-bg); }

/* Placeholder certificate slides */
.cert-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  background:
    repeating-linear-gradient(45deg,
      #f0f3f8 0 12px,
      #e7ebf2 12px 24px);
}

/* =========================================================
   Advantages
   ========================================================= */
.advantages__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}
.advantage h3 {
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.advantage h3 .material-symbols-outlined {
  color: var(--ink-muted);
  font-size: 22px;
  width: 22px;
}
.advantage p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 32px;
  max-width: 420px;
}

/* =========================================================
   Process / steps
   ========================================================= */
.process {
  max-width: 760px;
  margin: 0 auto;
}
.process__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  padding-left: 32px;
}
.process__list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: var(--line-strong);
}
.step {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  position: relative;
  margin-left: -32px;
}
.step__num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink-muted);
  font-family: var(--font-ui);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  z-index: 1;
  margin-top: 2px;
}
.step__title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}
.step__body p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.step__body p:last-child { margin-bottom: 0; }

/* =========================================================
   Objects cards
   ========================================================= */
.objects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.object-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  cursor: pointer;
}
.object-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: var(--line);
}
.object-card__icon {
  color: var(--ink);
  opacity: 0.85;
  margin-bottom: 28px;
}
.object-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.object-card p {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* =========================================================
   Examples cards
   ========================================================= */
.examples__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.example-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
  border: 1px solid var(--line);
}
.example-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 12px;
}
.example-card__body {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.example-card__meta {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.example-card__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}
.example-card__row .k { color: var(--ink-muted); }
.example-card__row .v { color: var(--ink); font-weight: 500; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  max-width: 760px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.faq__q .chev {
  transition: transform 0.25s ease;
  color: var(--ink-muted);
}
.faq__item--open .faq__q .chev { transform: rotate(180deg); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq__item--open .faq__a { max-height: 500px; }
.faq__a-inner {
  padding: 0 0 20px;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================================
   Contact form
   ========================================================= */
.contact {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  background: #fff;
}
.contact h2 { margin-bottom: 8px; }
.contact > p.sub {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--ink-muted);
}
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--footer-bg);
  box-shadow: 0 0 0 3px rgba(17, 26, 43, 0.08);
}
.field--error input,
.field--error textarea {
  border-color: #d14343;
}
.field__err {
  color: #d14343;
  font-size: 12px;
}
.field textarea {
  resize: vertical;
  min-height: 160px;
}
.contact__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.consent input { margin-top: 3px; accent-color: var(--footer-bg); }
.contact__submit {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  grid-column: 1 / -1;
}
.contact__success {
  background: #eaf5ea;
  border: 1px solid #cde2ce;
  color: #285f2c;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 64px 0 28px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1.4fr;
  gap: 56px;
  margin-bottom: 40px;
  align-items: start;
}
.footer__brand-col { display: flex; align-items: flex-start; }
.footer__brand {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}
.footer h5 {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 18px;
  color: var(--footer-ink);
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  font-size: 14px;
}
.footer__list a { color: var(--footer-ink-muted); transition: color 0.15s; }
.footer__list a:hover { color: var(--footer-ink); }
.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer__contacts a, .footer__contacts span { color: var(--footer-ink-muted); }
.footer__contacts a.email { color: var(--footer-ink); text-decoration: underline; text-underline-offset: 2px; }
.footer__contacts .big { color: var(--footer-ink); font-weight: 500; font-size: 15px; }
.footer__row { display: flex; align-items: center; gap: 10px; }
.footer__row .material-symbols-outlined { font-size: 18px; color: var(--footer-ink-muted); }
.footer__row--lg { font-size: 18px; gap: 12px; }
.footer__row--lg .big { font-size: 20px; font-weight: 600; }
.footer__row--lg a.email { font-size: 18px; }
.footer__row--lg .material-symbols-outlined { font-size: 26px; color: var(--footer-ink); }
.footer__socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--footer-ink-muted);
  margin-top: 6px;
}
.footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--footer-ink-muted);
}
.footer__social:hover { color: var(--footer-ink); }
.footer__social .icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--footer-ink-muted);
  font-size: 12.5px;
}
.footer__bottom a { color: var(--footer-ink-muted); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   Telegram Float Button
   ========================================================= */
.tg-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 95;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.3s ease;
}
.tg-float--lifted { bottom: 104px; }
.tg-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(26, 86, 219, 0.55);
}
@media (max-width: 640px) {
  .tg-float { bottom: 20px; right: 20px; }
  .tg-float--lifted { bottom: 176px; }
}

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 40px 60px rgba(0,0,0,0.3);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center; justify-content: center;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__grid { gap: 40px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .expert__grid { grid-template-columns: 1fr; gap: 40px; }
  .objects__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand-col { grid-column: 1 / -1; }
}

/* Call button — hidden on desktop, shown on mobile */
.header__call {
  display: none;
  align-items: center;
  justify-content: center;
  color: #0F172A;
  align-self: end;
  padding-bottom: 2px;
  text-decoration: none;
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; order: -1; }
  .header__inner { justify-content: flex-start; gap: 12px; }
  .brand { margin-right: auto; }
}

@media (max-width: 640px) {
  .header__contact, .header__socials { display: none; }
  .header__call { display: inline-flex; }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero { padding: 32px 0 24px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__image { aspect-ratio: 16/11; order: 2; }
  .hero__copy { max-width: 640px; margin: 0 auto; text-align: center; }
  .hero__copy p { margin-left: auto; margin-right: auto; }
  .header__inner { justify-content: flex-start; gap: 12px; }
  .conclusions__grid,
  .helps__grid,
  .advantages__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .objects__grid { grid-template-columns: 1fr; }
  .examples__grid { grid-template-columns: 1fr; }
  .contact { padding: 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 16px; }
  .footer { padding: 40px 0 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .expert__head { flex-direction: column; align-items: flex-start; }
  .expert__photo { width: 96px; height: 96px; }
}

body[data-accent="deep"] { --footer-bg: #0a0f1c; --bg-soft: #e9edf3; }
body[data-accent="navy"]  { --footer-bg: #111a2b; --bg-soft: #eef1f6; }
body[data-accent="ocean"] { --footer-bg: #0e3866; --bg-soft: #e7eef8; --accent: #1a73e8; }
body[data-accent="slate"] { --footer-bg: #1e2633; --bg-soft: #eef0f4; --accent: #3f73c9; }
