/* FONTS */
@font-face { font-family: 'Gilroy'; src: url('fonts/gilroy-regular.ttf'); font-weight: 400; }
@font-face { font-family: 'Gilroy'; src: url('fonts/gilroy-medium.ttf'); font-weight: 500; }
@font-face { font-family: 'Gilroy'; src: url('fonts/gilroy-semibold.ttf'); font-weight: 600; }
@font-face { font-family: 'Gilroy'; src: url('fonts/gilroy-bold.ttf'); font-weight: 700; }
@font-face { font-family: 'Gilroy'; src: url('fonts/gilroy-heavy.ttf'); font-weight: 800; }
@font-face { font-family: 'Gilroy'; src: url('fonts/gilroy-black.ttf'); font-weight: 900; }
@font-face { font-family: 'Sloop'; src: url('fonts/sloop-script-pro-bold.otf'); font-weight: 700; }

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Gilroy', sans-serif; font-weight: 400; color: #1a0a0d; background: #EDE8E3; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* CSS VARS */
:root {
  --burgundy-dark: #3D1A1F;
  --burgundy-mid: #6B2D35;
  --burgundy-deep: #2a1015;
  --cream: #EDE8E3;
  --cream-dark: #E0D9D3;
  --red: #9B2335;
  --sage: #8A9975;
  --khaki: #9E9468;
  --white: #ffffff;
  --radius: 12px;
}

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.script { font-family: 'Sloop', cursive; font-weight: 700; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: var(--burgundy-dark); margin-bottom: 48px; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Gilroy', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}
.btn--outline {
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--burgundy-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,255,255,0.12); }
.btn--hero { margin-top: 32px; }
.btn--dark { background: var(--burgundy-dark); color: var(--white); }
.btn--dark:hover { background: var(--burgundy-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(61, 26, 31, 0.32); }
.btn--full { width: 100%; text-align: center; }

/* HEADER */
.header {
  position: fixed; top: 12px; left: 16px; right: 16px; z-index: 100;
  background: var(--burgundy-dark);
  border-radius: 16px;
  transition: box-shadow 0.3s;
}
.header--scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.header__inner {
  display: flex; align-items: center;
  height: 72px; padding: 0 36px;
  position: relative;
}
.logo {
  font-size: 3.6rem; font-weight: 900;
  color: var(--white); letter-spacing: -0.02em;
  flex-shrink: 0; line-height: 1;
}
.nav {
  display: flex; gap: 36px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.header .btn { margin-left: auto; flex-shrink: 0; }
.nav a {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); opacity: 0.85;
  transition: opacity 0.2s;
}
.nav a:hover { opacity: 1; }
.header .btn { flex-shrink: 0; padding: 10px 24px; font-size: 0.78rem; }

/* HERO */
.hero {
  position: relative;
  height: calc(100vh - 24px);
  min-height: 600px;
  overflow: hidden;
  margin: 100px 16px 0;
  border-radius: 20px;
}
.hero__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,6,10,0.78) 35%, rgba(22,6,10,0.08) 70%);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 72px; text-align: center;
}
.hero__text { display: flex; flex-direction: column; align-items: center; }
.hero__name {
  display: flex; align-items: baseline; gap: 20px;
  line-height: 1;
}
.hero__name-first {
  font-size: 102px;
  font-weight: 900; color: var(--white);
  letter-spacing: -0.02em;
}
.hero__name-last {
  font-size: 132px;
  color: var(--white);
}
.hero__subtitle {
  margin-top: 16px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400; color: rgba(255,255,255,0.9);
  line-height: 1.55; text-align: center;
}

/* ABOUT */
.about { padding: 100px 0; background: var(--cream); overflow: hidden; }
.about__headline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--burgundy-dark);
  line-height: 1.55; margin-bottom: 64px;
  border-top: 1.5px solid var(--burgundy-dark);
  padding-top: 32px;
  text-align: center;
}
.about__headline strong { font-weight: 800; }
.about__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 80px;
  row-gap: 0;
}
.about__photo-wrap { grid-column: 1; grid-row: 1; border-radius: 16px; overflow: hidden; }
.about__content { grid-column: 2; grid-row: 1; align-self: center; }
.about__quote-wrap { grid-column: 1; grid-row: 2; }
.about__photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.about__quote-wrap {
  display: flex; align-items: flex-start;
  gap: 12px; margin-top: 28px;
}
.about__quote-mark {
  font-size: 5rem; line-height: 0.65;
  color: var(--burgundy-dark); flex-shrink: 0;
}
.about__quote {
  font-size: 2rem; color: var(--burgundy-dark);
  line-height: 1.2; padding-top: 6px;
}
.about__lead { font-style: italic; color: var(--burgundy-mid); margin-bottom: 24px; line-height: 1.7; }
.about__text { line-height: 1.8; color: #3a1a20; margin-bottom: 40px; }

/* ACHIEVEMENTS */
.achievements { padding: 100px 0; background: var(--cream-dark); }
.achievements__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 8px;
}
.achievement {
  background: var(--white);
  padding: 48px 40px;
  border-radius: 20px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.achievement.is-visible:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 52px rgba(61, 26, 31, 0.13);
}
.achievement__stat {
  display: flex; flex-direction: column; gap: 4px;
  margin-bottom: 12px;
}
.achievement__stat-num {
  font-size: 3.8rem; font-weight: 900; line-height: 1;
  color: var(--burgundy-dark);
}
.achievement__stat-label {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--burgundy-mid);
}
.achievement__title { font-size: 1.4rem; font-weight: 700; color: var(--burgundy-dark); }
.achievement__sub { font-size: 0.95rem; font-style: italic; color: var(--burgundy-mid); line-height: 1.6; }
.achievement__block { display: flex; flex-direction: column; gap: 8px; }
.achievement__label {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--burgundy-dark); opacity: 0.45;
}
.achievement__text { font-size: 0.9rem; line-height: 1.7; color: #3a1a20; }
.achievement__list { display: flex; flex-direction: column; gap: 6px; }
.achievement__list li {
  font-size: 0.9rem; line-height: 1.65; color: #3a1a20;
  padding-left: 16px; position: relative;
}
.achievement__list li::before { content: '—'; position: absolute; left: 0; color: var(--burgundy-mid); }
.achievement__result {
  margin-top: auto;
  background: var(--cream);
  padding: 16px 20px;
  border-left: 2px solid var(--burgundy-dark);
  font-size: 0.9rem; line-height: 1.65;
  color: var(--burgundy-dark); font-style: italic;
}
.achievement .btn { align-self: center; }

/* GALLERY */
.gallery { background: var(--cream); overflow: hidden; }
.gallery__strip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 80px 20px 80px;
}
.gallery__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.gallery__col--1 { padding-top: 100px; flex: 0.72; margin-left: -20px; }
.gallery__col--2 { padding-top: 0; }
.gallery__col--3 { padding-top: 40px; flex: 1.15; }
.gallery__col--4 { padding-top: 20px; }
.gallery__col--5 { padding-top: 70px; flex: 0.72; margin-right: -20px; }

.gallery__item {
  overflow: hidden;
  background: var(--cream-dark);
  aspect-ratio: 3/4;
  border-radius: 12px;
}
.gallery__item--wide { aspect-ratio: 4/3; }
.gallery__item--tall { aspect-ratio: 9/14; }
.gallery__item {
  position: relative;
}
.gallery__item::after {
  content: '';
  position: absolute; inset: 0;
  background: var(--burgundy-dark);
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.5s ease;
  border-radius: 12px;
}
.gallery__item:hover::after { opacity: 0; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  cursor: zoom-in;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 3, 5, 0.93);
  align-items: center; justify-content: center;
  animation: lbFade 0.25s ease;
}
.lightbox.is-open { display: flex; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__img {
  max-width: 88vw; max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  cursor: zoom-out;
}
.lightbox__close {
  position: absolute; top: 24px; right: 36px;
  font-size: 2.4rem; line-height: 1;
  color: var(--white); background: none; border: none;
  cursor: pointer; opacity: 0.6;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }

/* SERVICES */
.service {
  min-height: 520px;
}
.service--dark { background: var(--burgundy-dark); }
.service--darker { background: var(--burgundy-deep); }
.service__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.service__visual { padding: 28px 0 28px; display: flex; }
.service__img-wrap { position: relative; flex: 1; border-radius: 16px; overflow: hidden; }
.service__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.7;
  transition: transform 0.6s ease;
}
.service__img-wrap:hover .service__img { transform: scale(1.07); }
.service__label {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 85%; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px; z-index: 1;
}
.service__label-main {
  font-size: 34px;
  font-weight: 900; color: var(--white);
  letter-spacing: -0.01em; line-height: 1;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 10px;
  padding: 12px 28px;
  display: inline-block;
}
.service__label-sub {
  font-size: 34px;
  color: var(--white); line-height: 1.25;
}
.service__label-sub .script {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 34px;
  line-height: 1.25;
}
.service__content {
  padding: 60px 56px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
  align-items: flex-start;
  max-width: 460px;
}
.service__text { color: rgba(255,255,255,0.9); line-height: 1.75; font-size: 1rem; }
.service__text strong { color: var(--white); }

/* PROCESS */
.process { padding: 100px 0 60px; background: var(--cream); }
.process__title {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 60px; gap: 0;
}
.process__title-label {
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--burgundy-dark);
}
.process__title-script {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--burgundy-dark);
  line-height: 0.95;
  margin-top: -2px;
}
.process__cards {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.process__cta {
  display: flex; justify-content: center;
  margin-top: 48px;
}
@keyframes cardUp {
  from { opacity: 0; transform: translateY(70px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.process__card {
  border-radius: var(--radius);
  padding: 24px 20px 28px;
  display: flex; flex-direction: column;
  justify-content: space-between;
  min-height: 416px;
  color: var(--white);
  opacity: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.process__card.visible {
  animation: cardUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.process__card.visible:nth-child(1) { animation-delay: 0.00s; }
.process__card.visible:nth-child(2) { animation-delay: 0.09s; }
.process__card.visible:nth-child(3) { animation-delay: 0.18s; }
.process__card.visible:nth-child(4) { animation-delay: 0.27s; }
.process__card.visible:nth-child(5) { animation-delay: 0.36s; }
.process__card.visible:nth-child(6) { animation-delay: 0.45s; }
.process__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 44px rgba(0,0,0,0.22);
}
.process__num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  opacity: 0.9;
  display: inline-block;
  transform-origin: top left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}
.process__card:hover .process__num {
  transform: scale(2.2);
  opacity: 1;
}
.process__name {
  font-size: 1rem; font-weight: 600;
  line-height: 1.4; opacity: 0.9;
  min-height: calc(2 * 1.4 * 1rem);
}

/* TICKER */
.ticker {
  background: var(--burgundy-dark);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
.ticker__track {
  display: inline-flex; align-items: center; gap: 0;
  animation: tickerScroll 22s linear infinite;
}
.ticker__track span {
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0 28px;
}
.ticker__sep {
  color: rgba(255,255,255,0.35) !important;
  font-size: 0.6rem !important;
  padding: 0 !important;
  letter-spacing: 0 !important;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* CLIENTS */
.clients { padding: 80px 0 0; background: var(--cream); text-align: center; }

/* ABOUT ME FULL */
.about-me { padding: 100px 0; background: var(--cream-dark); overflow: hidden; }
.about-me__inner { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.about-me__photo-wrap { border-radius: 16px; overflow: hidden; }
.about-me__photo { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.about-me__content { display: flex; flex-direction: column; gap: 20px; }
.about-me__content p { line-height: 1.8; color: #3a1a20; }
.about-me__facts { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.fact { display: grid; grid-template-columns: 140px 1fr; gap: 16px; font-size: 0.9rem; }
.fact strong { color: var(--burgundy-dark); font-weight: 600; }
.fact span { color: #3a1a20; line-height: 1.5; }
.fact a { color: var(--burgundy-mid); text-decoration: underline; }

/* CONTACTS */
.contacts { padding: 100px 0; background: var(--burgundy-dark); overflow: hidden; }
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contacts__title { color: var(--white); }
.contacts__info p { color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 20px; font-size: 1rem; }
.contacts__links { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.contacts__links a { color: rgba(255,255,255,0.7); font-size: 0.95rem; transition: color 0.2s; }
.contacts__links a:hover { color: var(--white); }
.contacts__form { display: flex; flex-direction: column; gap: 16px; }
.contacts__form input,
.contacts__form select,
.contacts__form textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: var(--white);
  font-family: 'Gilroy', sans-serif;
  font-size: 0.95rem; font-weight: 400;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.contacts__form input::placeholder,
.contacts__form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contacts__form select option { background: var(--burgundy-dark); color: var(--white); }
.contacts__form input:focus,
.contacts__form select:focus,
.contacts__form textarea:focus { border-color: rgba(255,255,255,0.5); }
.contacts__form textarea { resize: vertical; }

/* FOOTER */
.footer { background: #1a0a0d; padding: 28px 0; }
.footer__inner {
  display: flex; justify-content: space-between; align-items: center;
}
.footer p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer__right { display: flex; gap: 24px; align-items: center; }
.footer__right span { font-size: 0.85rem; color: rgba(255,255,255,0.4); }
.footer__right a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__right a:hover { color: var(--white); }

/* FORM CONSENT */
.form-consent {
  display: flex; align-items: flex-start; gap: 10px;
}
.form-consent input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0;
  width: 16px; height: 16px;
  accent-color: var(--cream);
  cursor: pointer;
}
.form-consent__text {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  line-height: 1.6; font-family: 'Gilroy', sans-serif;
}
.form-consent__link {
  background: none; border: none; padding: 0;
  font-family: 'Gilroy', sans-serif;
  font-size: 0.8rem; font-weight: 400;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  cursor: pointer; line-height: inherit;
  transition: color 0.2s;
}
.form-consent__link:hover { color: var(--white); }

/* PRIVACY MODAL */
.privacy-modal {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(10,3,5,0.88);
  align-items: center; justify-content: center;
  padding: 20px;
  animation: lbFade 0.25s ease;
}
.privacy-modal.is-open { display: flex; }
.privacy-modal__box {
  background: var(--cream); border-radius: 20px;
  padding: 48px 40px; max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
}
.privacy-modal__close {
  position: absolute; top: 16px; right: 20px;
  font-size: 1.8rem; line-height: 1;
  background: none; border: none; cursor: pointer;
  color: var(--burgundy-dark); opacity: 0.45;
  transition: opacity 0.2s;
}
.privacy-modal__close:hover { opacity: 1; }
.privacy-modal__box h3 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--burgundy-dark); margin-bottom: 20px;
}
.privacy-modal__box h4 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--burgundy-dark); opacity: 0.5;
  margin: 20px 0 5px;
}
.privacy-modal__box p {
  font-size: 0.88rem; line-height: 1.75; color: #3a1a20;
}
.privacy-modal__box a {
  color: var(--burgundy-mid); text-decoration: underline;
}

/* COOKIE BAR */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--burgundy-deep);
  padding: 14px 40px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p {
  font-size: 0.82rem; color: rgba(255,255,255,0.65);
  line-height: 1.5;
}
.cookie-bar__btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 6px; padding: 8px 22px; flex-shrink: 0;
  font-family: 'Gilroy', sans-serif; font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--white);
  cursor: pointer; transition: background 0.2s;
}
.cookie-bar__btn:hover { background: rgba(255,255,255,0.2); }

/* ============================================
   HERO LOAD ANIMATION
   ============================================ */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__name-first { animation: heroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.08s backwards; }
.hero__name-last  { animation: heroFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.24s backwards; }
.hero__subtitle   { animation: heroFadeUp 0.85s ease 0.44s backwards; }
.hero .btn--hero  { animation: heroFadeUp 0.75s ease 0.60s backwards; }

/* ============================================
   SCROLL REVEAL
   ============================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.38s; }
[data-delay="4"] { transition-delay: 0.52s; }

/* ============================================
   MOBILE ADAPTATION
   ============================================ */

/* Hamburger — скрыт на десктопе */
.nav-toggle { display: none; }

/* ---- Планшет ≤ 900px ---- */
@media (max-width: 900px) {
  .hero__name-first { font-size: 68px; }
  .hero__name-last  { font-size: 88px; }

  .about__body { column-gap: 48px; }

  .achievements__grid { grid-template-columns: 1fr; gap: 20px; }

  .process__cards { grid-template-columns: repeat(3, 1fr); }
  .process__card  { min-height: 300px; }

  .service__content { padding: 40px 36px; max-width: 100%; }

  .about-me__inner { grid-template-columns: 1fr; gap: 40px; }
  .about-me__photo-wrap { max-width: 340px; }

  .contacts__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ---- Телефон ≤ 640px ---- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section-title { margin-bottom: 28px; }

  /* HEADER */
  .header { top: 8px; left: 8px; right: 8px; }
  .header__inner { height: 60px; padding: 0 20px; }
  .logo { font-size: 2.4rem; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    transform: none;
    flex-direction: column; gap: 0;
    background: var(--burgundy-dark);
    border-radius: 0 0 16px 16px;
    padding: 8px 0 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 99;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 24px; font-size: 0.9rem; opacity: 1; display: block; }
  .header__inner > a.btn { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column;
    gap: 5px; background: none; border: none; outline: none;
    cursor: pointer; padding: 6px; margin-left: auto; flex-shrink: 0;
  }
  .nav-toggle:focus { outline: none; }
  .nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* HERO */
  .hero { margin: 76px 8px 0; min-height: 480px; }
  .hero__name { flex-direction: column; gap: 0; align-items: center; }
  .hero__name-first { font-size: 44px; }
  .hero__name-last  { font-size: 56px; }
  .hero__overlay { padding-bottom: 48px; }

  /* ABOUT */
  .about { padding: 56px 0; }
  .about__headline { font-size: 0.95rem; margin-bottom: 36px; }
  .about__body { grid-template-columns: 1fr; column-gap: 0; row-gap: 28px; }
  .about__content { grid-column: 1; grid-row: 2; }
  .about__quote-wrap { grid-column: 1; grid-row: 3; }

  /* ACHIEVEMENTS */
  .achievements { padding: 56px 0; }
  .achievements__grid { grid-template-columns: 1fr; gap: 16px; }
  .achievement { padding: 32px 24px; }
  .achievement__stat-num { font-size: 2.8rem; }

  /* GALLERY */
  .gallery__strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 20px 12px;
  }
  .gallery__col {
    display: contents !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .gallery__item,
  .gallery__item--wide,
  .gallery__item--tall { aspect-ratio: 3/4; }

  /* SERVICES */
  .service { min-height: unset; }
  .service__inner { grid-template-columns: 1fr; min-height: unset; padding: 0; }
  .service__visual { padding: 16px 16px 0; min-height: 260px; }
  .service__img-wrap { flex: none; width: 100%; height: 260px; }
  .service__content { padding: 24px 20px 40px; max-width: 100%; gap: 14px; }
  .service__label-main { font-size: 20px; padding: 8px 18px; }
  .service__label-sub, .service__label-sub .script { font-size: 18px; }

  /* PROCESS */
  .process { padding: 56px 0 36px; }
  .process__cards { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .process__card { min-height: 220px; padding: 18px 14px 20px; }
  .process__num { font-size: 2rem; }
  .process__card:hover .process__num { transform: scale(1.6); }
  .process__name { font-size: 0.85rem; }

  /* ABOUT ME FULL */
  .about-me { padding: 56px 0; }
  .about-me__inner { grid-template-columns: 1fr; gap: 28px; }
  .about-me__photo-wrap { max-width: 240px; }
  .fact { grid-template-columns: 1fr; gap: 3px; }

  /* CONTACTS */
  .contacts { padding: 56px 0; }
  .contacts__inner { grid-template-columns: 1fr; gap: 36px; }

  /* FOOTER */
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }

  /* REVEAL — меньше смещение на мобиле */
  [data-reveal], [data-reveal="left"], [data-reveal="right"] { transform: translateY(22px); }
  [data-reveal="fade"] { transform: none; }

  /* COOKIE + MODAL на мобиле */
  .cookie-bar { flex-direction: column; padding: 16px 20px; text-align: center; gap: 12px; }
  .privacy-modal__box { padding: 32px 20px; }
}
