/* ===== Aura GmbH — styles. Brand colours: change them here ===== */
:root {
  --indigo: #351c89;      /* Aura logo */
  --teal: #00c6c9;        /* Aura logo */
  --teal-text: #00777a;   /* teal readable on white */
  --ink: #0b0c10;
  --grey: #636b78;
  --light: #f5f6f8;
  --line: #e2e5ea;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font: 16px/1.6 "Inter", system-ui, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.03em; line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; }
h3 { font-size: 1.3rem; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: 100px; padding-bottom: 100px; } /* только верх/низ — не затирать боковые поля .wrap */
.section--grey { background: var(--light); }
.kicker { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 18px; }
.lead { font-size: 1.15rem; color: #3a404b; }
.two-col { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 80px; } }
.rounded { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 28px; border-radius: 99px; font-weight: 600; border: 1px solid transparent; cursor: pointer; font: 600 .95rem "Inter", sans-serif; transition: .25s; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--teal); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--indigo); }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 10; color: #fff; transition: .3s; }
.header.scrolled { background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.header__bar { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 32px; width: auto; }
.logo--color, .header.scrolled .logo--white { display: none; }
.header.scrolled .logo--color { display: block; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .92rem; font-weight: 500; }
.nav > a { opacity: .85; }
.nav > a:hover { opacity: 1; }
.langs { display: flex; gap: 4px; margin-left: 8px; }
.langs a { padding: 6px 10px; border-radius: 99px; font-size: .78rem; font-weight: 600; opacity: .7; }
.langs a.active { opacity: 1; background: currentColor; }
.langs a.active { background: rgba(127,127,127,.2); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; align-items: center; }
.burger span { width: 24px; height: 2px; background: currentColor; transition: .3s; }

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 20px 28px; background: var(--ink); color: #fff; font-size: 1.3rem; transform: translateY(-120%); transition: .4s; }
  .nav.open { transform: none; }
  .nav > a { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .langs { margin: 20px 0 0; }
  .header.menu-open { background: var(--ink); color: #fff; }
  .header.menu-open .logo--white { display: block; }
  .header.menu-open .logo--color { display: none; }
}

/* Hero with slideshow */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; background: var(--ink); overflow: hidden; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.4s, transform 6s linear; }
.hero__slide.active { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,12,16,.85), rgba(11,12,16,.35)); }
.hero__content { position: relative; z-index: 1; padding-top: 72px; }
.hero .kicker { color: var(--teal); }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.8rem); font-weight: 600; max-width: 800px; }
.hero__brand { display: block; font-size: clamp(3.5rem, 11vw, 9rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; margin-bottom: 12px; }
.hero__text { max-width: 560px; margin-top: 24px; font-size: 1.15rem; color: rgba(255,255,255,.78); }

/* About */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.facts li { padding: 14px 16px; background: var(--light); border-radius: 14px; font-weight: 500; font-size: .95rem; }
.mission { font-family: "Manrope", sans-serif; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; color: var(--indigo); border-left: 3px solid var(--teal); padding-left: 20px; margin-top: 24px; }

/* Numbers */
.stats { background: var(--ink); color: #fff; padding: 80px 0; }
.stats__grid { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats__grid { grid-template-columns: repeat(5, 1fr); } }
.stat strong { display: block; font: 800 clamp(2rem, 3.6vw, 3.2rem)/1 "Manrope", sans-serif; letter-spacing: -.04em; }
.stat span { display: block; margin-top: 10px; color: rgba(255,255,255,.6); }

/* Business cards */
.cards { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } .card:first-child { grid-column: span 2; grid-row: span 2; } .card:nth-child(6), .card:nth-child(7) { grid-column: span 2; } }
.card { position: relative; min-height: 280px; border-radius: var(--radius); overflow: hidden; color: #fff; display: flex; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s; }
.card:hover img { transform: scale(1.06); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,12,16,.9), rgba(11,12,16,.1) 65%); }
.card__body { position: relative; z-index: 1; margin-top: auto; padding: 24px; }
.card__num { font-size: .8rem; color: var(--teal); font-weight: 600; }
.card p { color: rgba(255,255,255,.75); font-size: .95rem; margin-top: 6px; }

/* Products */
.products { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 600px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product h3 { padding: 24px 24px 6px; }
.product p { padding: 0 24px 28px; color: var(--grey); }

/* Aura 20 */
.big20 { font: 800 clamp(5rem, 12vw, 9rem)/.85 "Manrope", sans-serif; letter-spacing: -.06em; color: var(--indigo); margin-bottom: 20px; }

/* ===== Global — тёмный блок с картой сети Aura ===== */
.global { position: relative; background: #06070b; color: #fff; padding: 120px 0 110px; overflow: hidden; isolation: isolate; }
.global__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(53,28,137,.55), transparent 70%),
    radial-gradient(45% 45% at 95% 100%, rgba(0,198,201,.22), transparent 70%),
    radial-gradient(40% 35% at 55% 55%, rgba(0,198,201,.08), transparent 70%); }
.global__bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 80%); }

.global__head { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) { .global__head { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.kicker--live { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgba(0,198,201,.35); border-radius: 99px; background: rgba(0,198,201,.08); color: var(--teal); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(0,198,201,.6); animation: livePulse 2s ease-out infinite; }
@keyframes livePulse { to { box-shadow: 0 0 0 10px rgba(0,198,201,0); } }
.global__title { font-size: clamp(2.3rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.045em;
  background: linear-gradient(100deg, #fff 0%, #fff 45%, #8fe9ea 75%, #00c6c9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.global .lead { color: rgba(255,255,255,.7); }

/* Стеклянная панель с картой + подсветка за курсором */
.global__panel { position: relative; margin-top: 56px; padding: clamp(10px, 2vw, 28px) clamp(6px, 1.5vw, 24px) 18px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 40px 90px -40px rgba(0,0,0,.8); overflow: hidden; }
.global__panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0,198,201,.13), transparent 60%); }
.global__panel:hover::before { opacity: 1; }
.global__map { position: relative; }

.map { width: 100%; height: auto; display: block; overflow: visible; }
.map .land { fill: none; stroke: rgba(150,200,255,.17); stroke-width: 3.1; stroke-linecap: round; }
.map .arc { fill: none; stroke: url(#arcGrad); stroke-width: .75; opacity: .55; stroke-dasharray: 600; stroke-dashoffset: 600; }
.map .comet { fill: #d8fbff; opacity: 0; }
.map .mk { fill: var(--teal); opacity: 0; transform-box: fill-box; transform-origin: center; }
.map .hub { fill: #fff; stroke: var(--teal); stroke-width: 2.4; }
.map .hub-ring { fill: none; stroke: var(--teal); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; }
.map .hub-ring--2 { animation-delay: 1.5s; }
.map .hub-tag rect { fill: rgba(6,7,11,.85); stroke: rgba(0,198,201,.55); stroke-width: .6; }
.map .hub-tag text { fill: #fff; font: 600 8.4px "Inter", sans-serif; letter-spacing: .02em; }
.global__panel.visible .arc { animation: draw 1.8s cubic-bezier(.2,.7,.2,1) forwards; }
.global__panel.visible .mk { animation: pop .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.global__panel.visible .comet { opacity: .95; transition: opacity .6s 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(4.2); opacity: 0; } }

.global__legend { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 6px 12px 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.global__legend li { display: inline-flex; align-items: center; gap: 9px; }
.global__legend i { display: inline-block; flex-shrink: 0; }
.lg-hub { width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--teal), 0 0 12px var(--teal); }
.lg-mk { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px rgba(0,198,201,.7); }
.lg-line { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #00c6c9, #8fd8ff); }

/* Карточки фактов */
.global__facts { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 760px) { .global__facts { grid-template-columns: repeat(3, 1fr); } }
.fact { position: relative; padding: 26px 26px 24px; border-radius: 22px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, background .35s; }
.fact:hover { transform: translateY(-4px); border-color: rgba(0,198,201,.45); background: rgba(0,198,201,.06); }
.fact__icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 13px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(0,198,201,.22), rgba(53,28,137,.35)); border: 1px solid rgba(0,198,201,.3); }
.fact__icon svg { width: 22px; height: 22px; fill: none; stroke: #bff6f7; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact strong { display: block; font: 800 clamp(1.7rem, 2.6vw, 2.3rem)/1 "Manrope", sans-serif; letter-spacing: -.035em;
  background: linear-gradient(100deg, #fff, #9ff0f1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fact span:last-child { display: block; margin-top: 8px; color: rgba(255,255,255,.6); }

@media (max-width: 640px) {
  .global { padding: 90px 0 80px; }
  .global__panel { margin-left: -8px; margin-right: -8px; border-radius: 20px; }
  .map .hub-tag { display: none; } /* на телефоне подпись есть в легенде */
  .global__map { overflow: hidden; border-radius: 14px; }
  .global__map .map { width: 185%; margin-left: -52%; } /* приближаем регион вокруг офиса */
}
@media (prefers-reduced-motion: reduce) {
  .map .arc { stroke-dashoffset: 0; animation: none !important; }
  .map .mk { opacity: 1; animation: none !important; }
  .map .comets, .map .hub-ring { display: none; }
  .live-dot { animation: none; }
}

/* Contact */
.address { display: grid; gap: 20px; margin-top: 12px; color: #3a404b; }
.address a { color: var(--indigo); font-weight: 600; }
.form { display: grid; gap: 16px; background: var(--light); padding: 32px; border-radius: var(--radius); }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.form input, .form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-weight: 400; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); border-color: transparent; }
.form .btn { justify-self: start; }
.hidden { position: absolute; left: -9999px; }
.note { padding: 12px 16px; border-radius: 12px; font-size: .95rem; }
.note.ok { background: #e6f7f7; color: var(--teal-text); }
.note.fail { background: #fef2f2; color: #991b1b; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 60px 0 30px; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.footer__logo { height: 36px; width: auto; margin-bottom: 14px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__links a:hover { color: #fff; }
.footer__copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Simple page (Impressum) */
.page { padding: 140px 20px 80px; max-width: 760px; margin: 0 auto; }
.page p { margin-top: 16px; }

/* Scroll animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__slide { transition: none; }
}

/* Aura 20th anniversary logo */
.logo20 { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background: var(--light); border-radius: var(--radius); padding: clamp(28px, 6vw, 64px); }
.logo20 img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; }

/* ===== Кликабельные карточки ===== */
a.card, a.product { display: flex; color: inherit; }
a.product { flex-direction: column; transition: transform .3s, box-shadow .3s; }
a.product:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(11,12,16,.35); }
.product .more { margin: auto 24px 24px; color: var(--indigo); font-weight: 600; }
.card__more { position: absolute; right: 24px; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; transition: transform .3s; }
.card:hover .card__more { transform: rotate(-45deg); }

/* Тёмная шапка на светлых страницах (продукты) */
.light-header .header { background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); }
.light-header .header .logo--white { display: none; }
.light-header .header .logo--color { display: block; }

/* ===== Страница направления ===== */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: zoomout 2s ease-out both; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,12,16,.88), rgba(11,12,16,.2) 60%, rgba(11,12,16,.45)); }
.page-hero__content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 70px; }
.page-hero .kicker { color: var(--teal); }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); font-weight: 800; letter-spacing: -.04em; }
.page-hero__lead { font-size: clamp(1.2rem, 2.2vw, 1.6rem); margin-top: 14px; color: rgba(255,255,255,.85); max-width: 640px; }
@keyframes zoomout { from { transform: scale(1.1); } to { transform: scale(1); } }
.back { display: inline-block; margin-bottom: 28px; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.8); }
.back:hover { color: #fff; }
.back--dark { color: var(--grey); }
.back--dark:hover { color: var(--ink); }
.two-col--top { align-items: start; }
.lead--big { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.55; color: var(--ink); }

.points { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 600px) { .points { grid-template-columns: 1fr 1fr; } }
.points li { background: #fff; padding: 26px; }
.points span { font-size: .8rem; font-weight: 600; color: var(--teal-text); }
.points h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.points p { color: var(--grey); font-size: .95rem; }
@media (min-width: 1000px) { .points--row { grid-template-columns: repeat(4, 1fr); } }
.points--row { margin-top: 10px; }

.cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding: 44px; border-radius: var(--radius); background: var(--indigo); color: #fff; }
.cta h2 { margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,.75); }
.next { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 20px 20px 20px 32px; border: 1px solid var(--line); border-radius: var(--radius); font: 700 clamp(1.4rem, 3vw, 2.2rem)/1.1 "Manrope", sans-serif; letter-spacing: -.03em; transition: background .3s; }
.next:hover { background: var(--light); }
.next small { display: block; font: 600 .75rem "Inter", sans-serif; letter-spacing: .15em; text-transform: uppercase; color: var(--teal-text); margin-bottom: 8px; }
.next img { width: 160px; height: 100px; object-fit: cover; border-radius: 14px; }

/* ===== Страница продукта ===== */
.product-hero { background: var(--light); padding: 130px 0 80px; }
.product-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; }
.product-hero__tagline { font: 700 clamp(1.2rem, 2vw, 1.5rem) "Manrope", sans-serif; color: var(--indigo); margin: 12px 0 18px; }
.product-hero__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(11,12,16,.35); }
.gallery { display: grid; gap: 16px; margin-top: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 16px 20px; font-weight: 600; }
@media (min-width: 800px) { .products--3 { grid-template-columns: repeat(3, 1fr); } }

/* =====================================================================
   МОБИЛЬНАЯ ВЕРСИЯ (переделана полностью). Компьютерную версию не трогает.
   ===================================================================== */

/* Плавающая кнопка связи — скрыта на компьютере */
.fab { display: none; }

/* Полоса прогресса для каруселей (создаётся скриптом) */
.swipe-bar { display: none; }

/* ---------- Меню на весь экран (планшеты и телефоны) ---------- */
@media (max-width: 960px) {
  .header__bar { height: 64px; }
  .logo img { height: 28px; }
  .burger { position: relative; z-index: 3; width: 48px; height: 48px; margin-right: -6px; border-radius: 14px; }
  .burger span { width: 22px; height: 2px; border-radius: 2px; }
  .header.menu-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .header.menu-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .nav { position: fixed; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 0;
    padding: 90px 28px calc(40px + env(safe-area-inset-bottom)); transform: none; opacity: 0; visibility: hidden;
    background: radial-gradient(80% 60% at 0% 0%, rgba(53,28,137,.55), transparent 60%), radial-gradient(70% 50% at 100% 100%, rgba(0,198,201,.2), transparent 60%), #06070b;
    transition: opacity .35s ease, visibility .35s; font-size: 1rem; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav > a { width: 100%; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); font: 700 clamp(1.6rem, 7.5vw, 2.1rem)/1.15 "Manrope", sans-serif; letter-spacing: -.03em; opacity: 1;
    transform: translateY(14px); transition: transform .5s cubic-bezier(.2,.7,.2,1), color .2s; }
  .nav.open > a { transform: none; }
  .nav.open > a:nth-child(2) { transition-delay: .03s; } .nav.open > a:nth-child(3) { transition-delay: .06s; }
  .nav.open > a:nth-child(4) { transition-delay: .09s; } .nav.open > a:nth-child(5) { transition-delay: .12s; } .nav.open > a:nth-child(6) { transition-delay: .15s; }
  .nav > a:active { color: var(--teal); }
  .langs { margin: 34px 0 0; gap: 8px; }
  .langs a { min-width: 52px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); font-size: .85rem; opacity: 1; }
  .langs a.active { background: var(--teal); border-color: var(--teal); color: var(--ink); }
  .header.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; color: #fff; }
  .header.menu-open .burger span { background: #fff; }
  .logo { position: relative; z-index: 3; }
  .header.menu-open .logo--white { display: block; }
  .header.menu-open .logo--color { display: none; }
  .light-header .header.menu-open { background: transparent; color: #fff; }
  .light-header .header.menu-open .logo--white { display: block; }
  .light-header .header.menu-open .logo--color { display: none; }
  body.no-scroll { overflow: hidden; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  h2 { font-size: clamp(1.85rem, 8vw, 2.4rem); margin-bottom: 14px; }
  .lead { font-size: 1.05rem; }
  .kicker { margin-bottom: 12px; }
  .two-col { gap: 28px; }

  /* Первый экран: текст внизу, крупный бренд, кнопки на всю ширину */
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero::after { background: linear-gradient(to top, rgba(11,12,16,.95) 8%, rgba(11,12,16,.55) 55%, rgba(11,12,16,.35)); }
  .hero__content { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
  .hero__brand { font-size: 22vw; margin-bottom: 6px; }
  .hero h1 { font-size: 1.85rem; }
  .hero__text { font-size: 1.02rem; margin-top: 14px; }
  .buttons { flex-direction: column; gap: 10px; margin-top: 26px; }
  .buttons .btn { width: 100%; justify-content: center; min-height: 54px; }

  /* О компании */
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; margin: 22px 0; }
  .facts li { padding: 12px 14px; font-size: .88rem; }
  .mission { font-size: 1.2rem; padding-left: 16px; }

  /* Цифры: 2 колонки, последняя на всю ширину, разделители */
  .stats { padding: 56px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat { padding: 20px 4px 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(odd) { padding-right: 14px; }
  .stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .stat strong { font-size: 2rem; }
  .stat span { font-size: .88rem; margin-top: 6px; }

  /* Карусели со свайпом: край следующей карточки виден */
  .swipe { display: flex !important; grid-template-columns: none !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-left: -20px; margin-right: -20px; padding: 4px 20px 6px; scroll-padding-left: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 80%; scroll-snap-align: start; }
  .swipe-bar { display: block; height: 3px; margin: 18px auto 0; width: 88px; border-radius: 3px; background: rgba(127,127,127,.22); overflow: hidden; }
  .swipe-bar i { display: block; height: 100%; width: 30%; border-radius: 3px; background: var(--teal); transition: transform .15s linear; }

  /* Направления */
  .cards { margin-top: 26px; }
  .card, .card:first-child { min-height: 400px; grid-column: auto; grid-row: auto; }
  .card::after { background: linear-gradient(to top, rgba(11,12,16,.95) 5%, rgba(11,12,16,.35) 55%, rgba(11,12,16,.05)); }
  .card__body { padding: 22px; }
  .card__num { display: block; margin-bottom: 6px; }
  .card h3 { font-size: 1.45rem; }
  .card__more { top: 16px; right: 16px; bottom: auto; width: 44px; height: 44px; }

  /* Продукты */
  .products { margin-top: 26px; }
  .product h3 { padding: 18px 18px 4px; font-size: 1.15rem; }
  .product p { padding: 0 18px 12px; font-size: .92rem; }
  .product .more { margin: auto 18px 18px; }

  /* 20 лет: без дублирующей «20», логотип компактнее */
  .big20 { display: none; }
  .logo20 { aspect-ratio: 16/11; padding: 22px; }

  /* Глобальное присутствие */
  .global { padding: 76px 0 70px; }
  .global__panel { margin-top: 30px; }
  .global__facts { grid-template-columns: 1fr; gap: 10px; }
  .fact { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; }
  .fact__icon { grid-row: span 2; margin: 0; }
  .fact strong { font-size: 1.5rem; }
  .fact span:last-child { margin-top: 2px; font-size: .9rem; }

  /* Контакты и форма */
  .address { gap: 16px; font-size: .95rem; }
  .address a { display: inline-block; padding: 4px 0; }
  .form { padding: 22px 18px; border-radius: 18px; }
  .form input, .form textarea { font-size: 16px; } /* без авто-зума на iPhone */
  .form .btn { width: 100%; justify-content: center; min-height: 54px; }

  /* Подвал */
  .footer { padding: 48px 0 calc(96px + env(safe-area-inset-bottom)); }
  .footer__row { flex-direction: column; gap: 24px; }
  .footer__links { gap: 8px; }
  .footer__links a { padding: 10px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; font-size: .9rem; }
  .footer__copy { margin-top: 28px; }

  /* Плавающая кнопка «Связаться» */
  .fab { display: inline-flex; position: fixed; z-index: 9; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); align-items: center; gap: 8px;
    min-height: 52px; padding: 0 20px 0 16px; border-radius: 99px; background: var(--indigo); color: #fff; font-weight: 600; font-size: .95rem;
    box-shadow: 0 14px 30px -10px rgba(53,28,137,.7), 0 0 0 1px rgba(255,255,255,.12) inset; transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .3s; }
  .fab svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .fab.is-hidden { transform: translateY(120px); opacity: 0; pointer-events: none; }

  /* Страница направления */
  .page-hero { min-height: 72svh; }
  .page-hero__content { padding-top: 96px; padding-bottom: 40px; }
  .page-hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .page-hero__lead { font-size: 1.1rem; }
  .back { margin-bottom: 18px; padding: 8px 0; }
  .lead--big { font-size: 1.15rem; }
  .points li { padding: 20px; }
  .cta { padding: 28px 22px; border-radius: 20px; }
  .cta .btn { width: 100%; justify-content: center; }
  .next { padding: 14px 14px 14px 20px; font-size: 1.3rem; }
  .next img { width: 96px; height: 72px; border-radius: 12px; }

  /* Страница продукта */
  .product-hero { padding: 88px 0 48px; }
  .product-hero .two-col { gap: 24px; }
  .product-hero h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .product-hero__img { order: -1; aspect-ratio: 4/3; }
  .gallery { margin-top: 6px; }
  .gallery figcaption { padding: 12px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav > a { transition: none; transform: none; }
  .fab { transition: none; }
}
