/* ============================================================
   MIO MARI — style.css
   Шрифты: Unbounded (заголовки), Manrope (текст)
   Фон: холодный серый + мелкое зерно
   Кнопки: стиль Gucci (полупрозрачные, прямые углы)
   ============================================================ */

:root {
  --bg: #e9eaec;
  --bg-deep: #dfe1e4;
  --ink: #14161a;
  --ink-soft: #4c5157;
  --muted: #7d838a;
  --line: rgba(20, 22, 26, 0.14);
  --line-soft: rgba(20, 22, 26, 0.07);
  --accent: #8c1518;
  --white: #ffffff;
  --dark: #0d0e10;

  --font-display: "Unbounded", Arial, sans-serif;
  --font-text: "Manrope", Arial, sans-serif;

  --h3: 16px;
  --h3-weight: 600;
  --text: 14px;
  --text-weight: 400;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--text);
  font-weight: var(--text-weight);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ХОЛОДНЫЙ СЕРЫЙ ФОН + МЕЛКОЕ ЗЕРНО */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.6) 0%, rgba(233, 234, 236, 0) 60%);
}

main, header, footer, .mobile-menu, .modal { position: relative; z-index: 1; }

body.no-scroll { overflow: hidden; }

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
p { margin: 0; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

h1, h2 { font-family: var(--font-display); font-weight: 500; margin: 0; }
h3 { font-family: var(--font-text); font-size: var(--h3); font-weight: var(--h3-weight); margin: 0; }
p, li, small, figcaption, label, span, input, textarea, select { font-family: var(--font-text); }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; }
.section { padding: 108px 40px; }

.label {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head { margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-note { margin-top: 16px; font-size: 12px; color: var(--muted); }

/* ============================================================
   КНОПКИ — стиль Gucci
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: transparent; color: var(--accent); border-color: var(--accent); }

.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ============================================================
   ШАПКА
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 76px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  transition: background .4s, color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.solid {
  background: rgba(233, 234, 236, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.nav { display: flex; gap: 30px; }
.nav a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: currentColor;
  transition: width .3s;
}
.nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; }

/* БУРГЕР — как на insideart.pro, всегда справа */
.burger {
  display: none;
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 0;
  width: 30px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s, opacity .3s;
}
.burger span:first-child { top: 7px; }
.burger span:last-child { top: 15px; }
.burger.active span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.active span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* МОБИЛЬНОЕ МЕНЮ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: 96px 24px 30px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-nav { display: grid; gap: 4px; }
.mobile-nav a {
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu-bottom { margin-top: auto; padding-top: 28px; }
.mobile-note {
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.7;
  text-align: justify;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.mobile-menu-bottom .btn { width: 100%; }
.mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

/* ============================================================
   ГЕРОЙ
   ============================================================ */
.hero {
  position: relative;
  /*min-height: 640px;*/
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media { background: var(--dark); }
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.06) saturate(0.82);
}
.hero-shade {
  background: linear-gradient(180deg, rgba(8,9,11,.6) 0%, rgba(8,9,11,.2) 42%, rgba(8,9,11,.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 24px 60px;
  text-align: center;
  max-width: 1180px;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0,0,0,.32);
}
.hero-lead {
  margin: 28px auto 0;
  max-width: 720px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing:1px;
  color: rgba(255,255,255,.9);
  margin-bottom:40px;
}
.hero .btn { margin-top: 36px; }
.hero-meta {
  position: absolute;
  top: 104px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.hero-meta-left { left: 40px; }
.hero-meta-right { right: 40px; }

/* БЕГУЩАЯ СТРОКА */
.marquee { overflow: hidden; padding: 16px 0; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.28); }
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee span { padding-right: 30px; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; white-space: nowrap; }
.marquee b { color: var(--accent); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   01 ОБО МНЕ
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-title {
  margin: 0 0 26px;
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 500;
  line-height: 1.24;
}
.about-copy p { margin-bottom: 18px; font-size: var(--text); line-height: 1.75; color: var(--ink-soft); }
.about-copy .btn { margin-top: 16px; }
.about-photo { margin: 0; }
.about-photo .photo { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(0.15); }
.about-photo figcaption {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   02 ЧЕМ Я ОТЛИЧАЮСЬ — 4 карточки
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); }
.adv-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--bg-deep);
}
.adv-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) blur(2px);
  opacity: 0.7;
  transition: filter .6s ease, opacity .6s ease, transform .6s ease;
}
.adv-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(233,234,236,.35) 0%, rgba(233,234,236,.72) 100%);
  transition: background .6s ease;
}
.adv-body {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.adv-body h3 {
  margin-bottom: 12px;
  font-size: var(--h3);
  font-weight: var(--h3-weight);
  letter-spacing: 0.1em;
}
.adv-body p { font-size: var(--text); line-height: 1.7; color: var(--ink-soft); }
.adv-card:hover .adv-media { filter: grayscale(1) blur(0px); opacity: 0.82; transform: scale(1.03); }
.adv-card:hover .adv-veil { background: linear-gradient(180deg, rgba(233,234,236,.5) 0%, rgba(233,234,236,.86) 100%); }

/* ============================================================
   03 ПЕРЕБИВКА С ГИРЛЯНДОЙ
   ============================================================ */
.statement {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 140px 40px;
  text-align: center;
}
.lights { background: #0b0c0e; color: #fff; min-height: 520px; }
.lights-layer {
  position: absolute;
  inset: 0;
 
  filter: blur(0.4px);
  animation: lightsTwinkle 7s ease-in-out infinite alternate;
}
@keyframes lightsTwinkle {
  from { opacity: .78; }
  to { opacity: 1; }
}
.statement-inner { position: relative; z-index: 2; max-width: 900px; }
.statement h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.18;
  text-transform: uppercase;
}
.statement p {
  margin: 26px auto 0;
  max-width: 640px;
  font-size: var(--text);
  line-height: 1.8;
  color: rgba(255,255,255,.78);
}
.statement-dark { background: #101113; color: #fff; min-height: 620px; }
.statement-media {
  position: absolute; inset: 0;
  background: #17181a center / cover no-repeat;
  background-attachment: fixed;
  filter: grayscale(0.3) contrast(1.06);
}
.statement-shade { position: absolute; inset: 0; background: rgba(6,7,9,.58); }
.statement-dark h2 { font-size: clamp(26px, 4vw, 62px); line-height: 1.08; }
.statement-dark .btn { margin-top: 38px; }
.statement-dark p { display: none; }

/* ============================================================
   04 УСЛУГИ — статичный список
   ============================================================ */
.services-list { border-top: 1px solid var(--line-soft); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: baseline;
  padding: 30px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.service-row h3 {
  font-size: var(--h3);
  font-weight: var(--h3-weight);
  letter-spacing: 0.08em;
}
.service-row p { font-size: var(--text); line-height: 1.7; color: var(--ink-soft); }
.service-row:hover{
	padding-left:0;
}
/* ============================================================
   05 ЛОЗУНГ
   ============================================================ */
.slogan { padding: 130px 40px; }
.slogan-inner { text-align: center; }
.slogan h2 {
  font-family: var(--font-text);
  font-size: var(--h3);
  font-weight: var(--h3-weight);
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.slogan .btn { margin-top: 40px; }

/* ============================================================
   06 ФОРМАТ РАБОТЫ — хаотичные плашки
   ============================================================ */
.plates {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
  align-items: start;
}
.plate {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
  background: var(--bg-deep);
  border: 1px solid var(--line-soft);
  
  
}
.plate-a { grid-column: span 4; height: 460px; }
.plate-b { grid-column: span 5; height: 350px; margin-top: 96px; }
.plate-c { grid-column: span 3; height: 420px; margin-top: 26px; }
.plate-d { grid-column: span 3; height: 380px; }
.plate-e { grid-column: span 5; height: 440px; margin-top: 34px; }
.plate-f { grid-column: span 4; height: 360px; margin-top: 92px; }

.plate-media {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  transition: filter .6s ease, transform .6s ease;
  filter: blur(1px) brightness(0.92); transform: scale(1.04);
}
.plate-veil {
  position: absolute; inset: 0;
 // background: rgba(16,17,20,.34);
   background: rgba(12,13,16,.52); 
  transition: background .5s ease;
}
.plate-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 26px 24px;
  color: #fff;
 //opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
  
}
.plate-body h3 { margin-bottom: 12px; font-size: var(--h3); font-weight: var(--h3-weight); line-height: 1.35; }
.plate-body p { font-size: var(--text); line-height: 1.6; color: rgba(255,255,255,.85); }
.plate-body small {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}
.plate:hover .plate-media,
.plate:focus-visible .plate-media { filter: blur(7px) brightness(0.62); transform: scale(1.04); }
.plate:hover .plate-veil,
.plate:focus-visible .plate-veil { background: rgba(12,13,16,.42); }
.plate:hover .plate-body,
.plate:focus-visible .plate-body { opacity: 1; transform: none; }


/* ============================================================
 ПОРТФОЛИО
   ============================================================ */
  .portfolio{
	  padding: 100px 40px 50px !important;
  }
   
/* ============================================================
   09 ЭТАПЫ РАБОТЫ — полупрозрачные плашки
   ============================================================ */
  .process{
	  padding:0 40px !important;
  }
.process-list { display: grid; gap: 14px; }
.process-row {
  display: grid;
  grid-template-columns: 60px minmax(180px, 0.5fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 30px 30px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.process-num { font-size: 12px; letter-spacing: 0.12em; color: var(--accent); }
.process-row h3 { font-size: var(--h3); font-weight: var(--h3-weight); letter-spacing: 0.08em; }
.process-row p { font-size: var(--text); line-height: 1.7; color: var(--ink-soft); }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { padding: 96px 40px 30px; border-top: 1px solid var(--line-soft); background: rgba(255,255,255,.28); }
.footer-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.06;
  text-transform: uppercase;
}
.email-link {
  display: inline-block;
  margin-bottom: 30px;
  font-size: clamp(16px, 1.6vw, 24px);
  letter-spacing: 0.02em;
  border-bottom: 1px solid currentColor;
}
.email-link:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 62px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.social-links { display: flex; flex-wrap: wrap; gap: 22px; }
.social-links a { color: var(--ink); }
.social-links a:hover { color: var(--accent); }

/* ============================================================
   МОДАЛЬНЫЕ ОКНА
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,11,13,.66); backdrop-filter: blur(6px); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  max-height: min(820px, calc(100svh - 52px));
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(300px, 1.08fr);
  background: #f2f3f4;
  border: 1px solid var(--line);
  box-shadow: 0 26px 80px rgba(0,0,0,.35);
}
.modal-panel-form {
  display: block;
  width: min(620px, 100%);
  max-height: min(880px, calc(100svh - 52px));
  padding: 56px 46px 40px;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  transition: background .3s, color .3s;
}
.modal-close:hover { background: var(--ink); color: #fff; }
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
}
.modal-sub { margin-top: 14px; font-size: var(--text); line-height: 1.7; color: var(--ink-soft); }

/* ФОРМА — поля с прямыми углами, как кнопки */
.contact-form { display: grid; gap: 20px; margin-top: 30px; }
.contact-form label { display: grid; gap: 8px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255,255,255,.6);
  color: var(--ink);
  font-size: var(--text);
  font-weight: 400;
  outline: none;
  transition: border-color .3s, background .3s;
}
.contact-form textarea { resize: vertical; line-height: 1.6; }
.contact-form select { cursor: pointer; appearance: none; padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314161a' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--ink); background: #fff; }
.contact-form ::placeholder { color: #9aa0a6; }
.honeypot { position: absolute !important; left: -9999px !important; }
.contact-form .checkbox { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--ink-soft); }
.contact-form .checkbox input { width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--accent); }
.contact-form .btn { width: 100%; }
.form-note { font-size: 12px; color: var(--muted); }

.modal-media {
  min-height: 520px;
  background: #232427 center / cover no-repeat;
}
.modal-media iframe, .modal-media video { width: 100%; height: 100%; min-height: 520px; border: 0; object-fit: cover; }
.modal-copy { padding: 60px 46px 42px; }
.modal-copy h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.14;
  text-transform: uppercase;
}
.modal-details { display: grid; gap: 20px; }
.modal-details h3 { margin-bottom: 7px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.modal-details p { font-size: var(--text); line-height: 1.7; color: var(--ink-soft); }

/* ============================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 92px 32px; }
  .plate-a, .plate-e { grid-column: span 6; }
  .plate-b, .plate-c, .plate-d, .plate-f { grid-column: span 6; }
  .plate-b, .plate-c, .plate-d, .plate-f { margin-top: 0; }
  .plate-a, .plate-e { margin-top: 0; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 64px; }
  .header { height: 64px; padding: 0 20px; }
  .nav { display: none; }
  .burger { display: block; }

  .hero { max-height: 620px; }
  .hero-media video { object-position: 58% center; }
  .hero-meta-right { display: none; }
  .hero-meta-left { top: 82px; left: 20px; }
  .hero h1 { font-size: 56px; }
  .hero-lead { font-size: 18px; margin-top: 22px; }

  .section { padding: 76px 20px; }
  .section-head { margin-bottom: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-copy { order: 2; }
  .about-photo { order: 1; }
  .about-photo .photo { max-height: 520px; }

  .service-row { grid-template-columns: 1fr !important; gap: 8px; padding: 22px 0; }

  .plates { grid-template-columns: 1fr; gap: 16px; }
  .plate, .plate-a, .plate-b, .plate-c, .plate-d, .plate-e, .plate-f {
    grid-column: span 1;
    height: 300px;
    margin-top: 0;
  }
  /* на тач-устройствах текст виден сразу */
  .plate-body { opacity: 1; transform: none; }
  .plate-veil { background: rgba(12,13,16,.5); }
  .plate-media { filter: blur(1px); }

  .process-row { grid-template-columns: 40px 1fr; gap: 12px 18px; padding: 24px 20px; }
  .process-row p { grid-column: 2; }

  .slogan { padding: 88px 20px; }
  .statement { padding: 100px 20px; }
  .statement-dark { min-height: 520px; }
  .statement-media { background-attachment: scroll; }

  .slider-button { display: none; }
  .project-card { flex-basis: 74%; }

  .footer { padding: 70px 20px 26px; }
  .footer-bottom { margin-top: 44px; }

  .modal { padding: 12px; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-media, .modal-media iframe, .modal-media video { min-height: min(52vh, 400px); }
  .modal-copy { padding: 38px 22px 28px; }
  .modal-panel-form { padding: 44px 22px 30px; }
}

@media (max-width: 520px) {
  .logo { font-size: 14px; letter-spacing: 0.14em; }
  .hero h1 { font-size: 56px; line-height: 1.04; }
  .hero-content { padding: 88px 18px 48px; }
  .hero-lead br { display: none; }
  .hero .btn { width: 100%; }
  .about-title { font-size: 20px; }
  .adv-grid { grid-template-columns: 1fr; }
  .adv-card { min-height: 260px; }
  .project-card { flex-basis: 84%; }
  .mobile-nav a { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}




.b-button{
	width:auto;
    transform: translateY(0%);
	outline: none;
    padding: 16px 24px;
    width: 100%;
}
.b-button:before{
		background: rgba(0, 0, 0, .15);
	transform: translate(-50%, -50%) scale(.95, .9);
	-webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    background: var #fff;;
    box-shadow: inset 0 0 0 1px #fff;
	border-radius: 2px;
    content: "";
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition-duration: 0.8s;
    transition-property: transform;
    transition-timing-function: hsla(0, 0%, 100%, .5);
    width: 100%;
    z-index: -1;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
}
.b-button__text{
	    display: flex;
		align-items: center;
		gap: 0.25rem;
		transition: all 0.8s  cubic-bezier(0.5, 0, 0, 1);
		
}
	
	
.v-button{
	display:inline-flex;
	padding:0;
	transition:0.5s;
	font-size: 12px;
	opacity:0.1s;
	transition: all 0.8s  cubic-bezier(0.5, 0, 0, 1);
	 transition-duration: 0.8s;
    transition-property: transform;
    transition-timing-function: hsla(0, 0%, 100%, .5); 
}
.v-button:hover{
	padding:2px;
	transition: all 0.8s  cubic-bezier(0.5, 0, 0, 1);
	.v-button__text{
	padding:12px 18px;
	transition: all 0.8s  cubic-bezier(0.5, 0, 0, 1);
}
}
.v-button__text{
	padding:14px 20px;
	border:1px solid #fff;
	text-transform: uppercase;
	border-radius:2px;
	letter-spacing: 0.16em;
	transition:all 0.8s  cubic-bezier(0.5, 0, 0, 1);
	backdrop-filter: blur(12px);

}
.v-button_black{
	.v-button__text{
		border:1px solid black;
	}
}
.v-button_black:hover{
	.v-button__text{
		color:white;
		  background-color: rgba(0, 0, 0, 0.8);
		  backdrop-filter: blur(10px); 
	}
}
.v-button_mt40{
	margin-top:40px;
}
.b-moi-raboty{
	font-size: clamp(22px, 3vw,36px) !important;
	line-height:1.5 !important;
}
.about{
	padding-top:50px;
	padding-bottom:50px;
}
.advantages{
	padding-top:50px;
	padding-bottom:50px;
}
.statement-inner{
	color:black;
	p{
		color:black;
	}
}
.lights {
	background:none;
	padding-top:40px !important;
	padding-bottom:40px !important;
	min-height:300px;
}
.buatiful-shot{
	color:white !important;
}
.davaite{
	font-size: clamp(22px, 3vw, 36px) !important;
}
