/* ============================================================
   FREESTYLE SCRIPT — GLOBAL
============================================================ */
@font-face {
  font-family: "Freestyle Script";
  src: url("fonts/freestyle-script-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Скрипт-слова в слоганах (Home / About / Portfolio) */
.slogan-inner .fs-word,
.portfolio-slogan .fs-word {
   font-family: "Freestyle Script", "Inter", sans-serif;
  font-weight: 400;               /* у шрифта один вес */
  color: #662D91;
  letter-spacing: 0;
  text-transform: none;

  /* ↓ ЧУТЬ НИЖЕ В СТРОКЕ (без прыжков) */
  vertical-align: -0.10em;

  /* лёгкое утолщение без влияния на layout */
  text-shadow:
    0.2px 0 0 #662D91,
   -0.2px 0 0 #662D91;

  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Подпись — DESIGN WITH HEART. CREATE WITH SOUL.
   ВСЕГДА ОДНА СТРОКА, БЕЗ СКАЧКОВ */
.signature-line {
  font-family: "Freestyle Script", cursive;
  font-weight: 400;
  color: #662D91;
  letter-spacing: 0;
  text-transform: none;

  /* АВТО-МАСШТАБ */
  font-size: clamp(16px, 4vw, 42px);
  line-height: 1.05;

  margin-top: 30px;
  text-align: center;

  /* ВСЕГДА ОДНА СТРОКА */
  white-space: nowrap;
  overflow: hidden;

  /* мягкое утолщение */
  text-shadow:
    0.2px 0 0 #662D91,
   -0.2px 0 0 #662D91;

  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* Ellipsis ТОЛЬКО для очень узких экранов */
@media (max-width: 380px) {
  .signature-line {
    text-overflow: ellipsis;
  }
}
/* ============================================================
 1 RESET + TYPOGRAPHY
============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: auto;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #000;
  letter-spacing: 0.2px;
}

p {
  text-wrap: pretty;
  hyphens: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* HEADINGS */
h1,
h2,
h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: #662D91;
  margin-bottom: 15px;
}

h1 { font-size: 42px; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }

/* ============================================================
  2. Global Layout (containers, base rules)
============================================================ */

/* UNIVERSAL CONTENT WIDTH */
.container,
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}

/* ============================================================
  3. TOP BAR (DESKTOP)
============================================================ */

.top-bar {
  background: #fff;
  border-bottom: 2px solid #ccc;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 96px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Контакты слева */
.contact-info {
  display: flex;
  gap: 22px;
}

.contact-link {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  color: #000;
}

.contact-link:hover {
  color: #662D91;
}

/* Кнопка справа — Request a Quote */
.top-bar .quote-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 20px;

  background: #662D91;
  color: #fff;

  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;

  text-transform: uppercase;   /* ← ALL CAPS */
  letter-spacing: 0.6px;       /* ← аккуратный premium-интервал */

  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.top-bar .quote-button a:hover {
  background-color: #8e44ad;
}

/* Бургер скрыт на десктопе */
#burger {
  display: none;
}

/* ============================================================
   4 HEADER
============================================================ */

.header {
  background: #fff;
  border-bottom: 2px solid #ccc;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 96px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ЛОГОТИП */
.logo img {
  width: 130px;
}

/* НАВИГАЦИЯ */
.header-inner nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.menu-link {
  text-decoration: none;
  color: #000;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.menu-link:hover {
  color: #8e44ad;
}

/* МОБИЛЬНАЯ КНОПКА (скрыта на десктопе) */
.mobile-quote {
  display: none;
}

/* ============================================================
   STICKY HEADER 
============================================================ */

/* ВАЖНО: sticky ломается, если у родителей overflow/transform.
   На всякий случай запрещаем это на базовых контейнерах шапки */
body { overflow-x: hidden; }
.top-bar, .header { transform: none; }

/* Задаём реальные высоты шапки через переменные */
:root{
  --topbar-h: 52px;   /* desktop */
  --header-h: 64px;   /* desktop */
}

/* Мобилка (подгони если надо) */
@media (max-width: 768px){
  :root{
    --topbar-h: 48px;
    --header-h: 56px;
  }
}

/* TOP BAR — липкий */
.top-bar{
  position: sticky;
  top: 0;
  z-index: 5000;
  background: #fff;
}

/* HEADER — липкий под top-bar */
.header{
  position: sticky;
  top: var(--topbar-h);
  z-index: 4999;
  background: #fff;
}

/* Убираем “щель” между двумя липкими полосами */
.top-bar{ margin-bottom: 0 !important; }
.header{ margin-top: 0 !important; }

/* Если есть бордеры — они могут дать “микро-щель”.
   Ставим бордер только на нижний край каждой полосы. */
.top-bar{ border-top: 0; }
.header{ border-top: 0; }

/* Чтобы контент НЕ залезал под шапку */
main{ padding-top: 0; }
:root{
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 12px);
}
/* ============================================================
   FIX: tiny gap between top-bar and header on “big mobile”
============================================================ */
.header{
  position: sticky;
}

/* Белая полоска перекрывает любые 1–3px “микро-щели” */
.header::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-4px;          /* перекрываем щель */
  height:4px;
  background:#fff;   /* фон шапки */
  z-index:-1;        /* чтобы не перекрывать клики */
}

/* на всякий: чтобы псевдоэлемент работал */
.header{ position: sticky; }
.header{ isolation: isolate; }


/* ============================================================
   OFFSET FOR STICKY HEADER
============================================================ */

/* для всех якорей и заголовков */
:root {
  scroll-padding-top: 110px; /* desktop: top-bar + header */
}

/* мобильная версия */
@media (max-width: 768px) {
  :root {
    scroll-padding-top: 96px;
  }
}

/* ============================================================
   5. FOOTER
============================================================ */

footer {
  background: #662D91;
  padding: 26px 0 22px;   /* чуть больше воздуха сверху */
  text-align: center;
}

/* ВНУТРЕННИЙ КОНТЕЙНЕР */
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;              /* расстояние между строками */
}

/* КОНТАКТЫ В ФУТЕРЕ */
.footer-contact {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #fff;
  margin: 0;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #e6d9f3;        /* мягкий светло-сиреневый */
}

.footer-contact span {
  margin: 0 8px;
  opacity: 0.7;
}

/* КОПИРАЙТ */
.footer-copy {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-family: 'Roboto Condensed', sans-serif;
  opacity: 0.9;
}


/* ============================================================
   HIDE MOBILE MENU ON DESKTOP
============================================================ */

.mobile-menu {
  display: none;
}

/* ============================================================
   6. PAGE BLOCKS — SHARED LAYOUT FOR ALL PAGES
============================================================ */

/* UNIVERSAL 2-COLUMN WRAPPER (for Home & About) */
.columns-2 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  max-width: 1200px;
  margin: 80px auto;
  padding-left: 80px;
  padding-right: 80px;
}

/* LEFT SIDE — slogan box */
.slogan-box {
  background: #ececec;
  border-radius: 18px;
  padding: 60px 50px;
  max-width: 350px;
}

.slogan-box span,
.portfolio-slogan span {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  color: #662D91;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 10px;
}

/* RIGHT SIDE — text column */
.text-box {
  max-width: 700px;
  font-size: 18px;
  line-height: 1.7;
}

.text-box p {
  margin-bottom: 22px;
}

/* ============================================================
   6A. HOME PAGE
============================================================ */

.home-middle {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 120px;
}

.about-columns {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 80px;
}

/* ЛЕВЫЙ СИРЕНЕВЫЙ БЛОК */
.about-slogan {
  flex: 0 0 360px;
  max-width: 360px;
  background: #E6E2F4;
  border-radius: 18px;
  padding: 60px 50px;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* ВНУТРЕННИЙ КОНТЕЙНЕР */
.slogan-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ОБЫЧНЫЕ СТРОКИ */
.slogan-inner span {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 1px;
  color: #662D91;
  text-transform: uppercase;
}

/* ВЫДЕЛЕННОЕ СЛОВО FREESTYLE SCRIPT — ТОЛЬКО В СИРЕНЕВОМ БЛОКЕ */
.slogan-inner .fs-word {
  font-family: 'Freestyle Script', 'Inter', sans-serif;
  font-size: 34px;
  line-height: 1.1;
  color: #662D91;
  text-transform: none;
  letter-spacing: 0;
}

/* ПРАВЫЙ ТЕКСТОВЫЙ БЛОК */
.about-wrapper {
  flex: 1;
  font-size: 18px;
  line-height: 1.7;
}

.about-wrapper p {
  margin-bottom: 22px;
}

/* HOME — заголовок Welcome */
.home-page .about-title {
  margin-bottom: 4px;
  line-height: 1.05;
}

.home-page .about-title:last-of-type {
  margin-bottom: 18px;
}

/* ============================================================
   6B. ABOUT PAGE
============================================================ */

.about-page .about-slogan {
  background: #EBF5FF; /* голубой */
}

.about-page .slogan-inner {
  align-items: center;     /* центрируем строки */
}

.about-page .slogan-inner span {
  text-align: center;      /* центрируем текст */
}
.about-page .about-columns {
  padding-left: 120px;
  padding-right: 120px;
}

/* ============================================================
   6C. PORTFOLIO PAGE
============================================================ */

/* ОБЩИЙ КОНТЕЙНЕР — ПОЛЯ КАК HOME */
.portfolio-wrapper {
  max-width: 1200px;
  margin: 80px auto;
  padding-left: 80px;
  padding-right: 80px;
}

/* SLOGAN + TEXT */
.portfolio-columns {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 80px;
  margin-bottom: 80px;
}

/* LEFT SLOGAN BLOCK — ФОН КАК HOME */
.portfolio-slogan {
  background: #E6E2F4;          /* ← КЛЮЧ: как Home */
  border-radius: 12px;
  padding: 40px 30px;
  width: 300px;
  flex-shrink: 0;
  text-align: center;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* ВНУТРЕННИЙ КОНТЕЙНЕР — КАК НА HOME */
.portfolio-slogan > div {
  display: flex;
  flex-direction: column;
  gap: 12px;                    /* ТО ЖЕ расстояние, что Home */
}

/* ОБЫЧНЫЕ СТРОКИ */
.portfolio-page .portfolio-slogan span {
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;            /* как Home */
  letter-spacing: 1px;
  color: #662D91;               /* ВАЖНО: цвет НЕ меняем */
  text-transform: uppercase;
  text-align: center;
  margin: 0;
}

/* FREESTYLE SCRIPT — КАК НА HOME */
.portfolio-page .portfolio-slogan .fs-word {
  font-family: 'Freestyle Script', 'Inter', sans-serif;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #662D91;

  display: inline;              /* ВАЖНО: не ломает строки */

  /* лёгкое утолщение без скачков */
  text-shadow:
    0.2px 0 0 #662D91,
   -0.2px 0 0 #662D91;
}

/* АККУРАТНО ОПУСКАЕМ EXPRESSION */
.portfolio-page .portfolio-slogan span:last-child .fs-word {
  position: relative;
  top: 6px;                     /* можно 4–8px */
}

/* RIGHT TEXT BLOCK */
.portfolio-text {
  flex: 1;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.65;
}

.portfolio-text h1 {
  font-size: 34px;
}
/* FORCE: Portfolio slogan background (ставь в самый низ CSS) */
.portfolio-page .portfolio-slogan {
  background: #F2F2F7 !important; /* как Home */
}
/* ============================================================
   PORTFOLIO PROJECT GRID
============================================================ */

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 48px);

  max-width: 1200px;
  margin: 0 auto 80px;

  justify-content: center;
  justify-items: center;
}

/* PROJECT IMAGE */
.project-box img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 14px;
  display: block;
}

/* MOBILE TWEAK */
@media (max-width: 768px) {
  .projects {
    gap: 22px;
    max-width: 100%;
  }

  .project-box {
    max-width: 360px;
  }
}

/* ============================================================
   6D. ART PAGE
============================================================ */

/* цвет слоган-блока (если используешь slogan-box на art) */
.art-page .slogan-box {
  background: #f7f3ed;
}

/* СЛОГАН-БЛОК (ART) — компактное расстояние между строками */
.art-page .art-slogan-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;                 /* меньше расстояние между строками */
}

/* подпись DESIGN WITH HEART... — по центру ТОЛЬКО на Art */
.art-page .signature-line {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.art-page .art-slogan .fs-word {
  position: relative;
  top: 4px;  
}

.art-page .portfolio-text p {
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

/* ============================================================
   ART — ICON GRID
============================================================ */

.art-page .projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(24px, 4vw, 48px);

  max-width: 700px;         /* аккуратная ширина по центру */
  margin: 0 auto 80px;

  justify-items: center;
  justify-content: center;
}

/* карточка */
.art-page .projects .project-box {
  width: 100%;
  max-width: 160px;
  text-align: center;
}

/* иконка */
.art-page .projects .project-box img {
  width: 140px;
  height: 140px;

  object-fit: contain;
  display: block;
  margin: 0 auto 14px;

  border-radius: 50%;
  background: #fff;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover на иконки */
.art-page .projects .project-link:hover img {
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

/* подпись */
.art-page .projects .project-box h3 {
  text-align: center;
  margin: 0;

  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #662D91;
}

/* мобилка — чуть крупнее */
@media (max-width: 768px) {
  .art-page .projects {
    max-width: 100%;
  }

  .art-page .projects .project-box {
    max-width: 180px;
  }

  .art-page .projects .project-box img {
    width: 150px;
    height: 150px;
    padding: 18px;
  }
}

/* ============================================================
   6E. CONTACT PAGE
============================================================ */

.contact-page main.container {
  padding-top: 60px;
  padding-bottom: 150px;
}

.contact-page h1 {
  max-width: 600px;
  margin: 0 auto 30px;
}

.contact-block {
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.contact-block p,
.contact-block a {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

.contact-block a:hover {
  color: #8e44ad;
}

/* CONTACT FORM */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.form-wrapper h2 {
  margin-bottom: 20px;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 16px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
}

#submit_btn {
  padding: 10px 25px;
  background-color: #662D91;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  transition: 0.3s;
}

#submit_btn:hover {
  background-color: #8e44ad;
}
/* ============================================================
   DESKTOP NARROW (1200px → 1025px) — выравниваем поля Home
============================================================ */
@media (max-width: 1200px) and (min-width: 1025px) {

  .home-page .about-columns.home-middle {
    padding-left: 96px !important;
    padding-right: 96px !important;
  }

}
/* ============================================================
   7. TABLET RESPONSIVE (≤ 1024px)
============================================================ */

@media (max-width: 1024px) {

  /* ===== ОБЩИЕ ПОЛЯ (TABLET) ===== */
  .top-bar-inner,
  .header-inner {
    padding-left: 96px;
    padding-right: 96px;
  }

  .container,
  .page-container {
    padding-left: 96px !important;
    padding-right: 96px !important;
  }

  /* ===== HOME ===== */
  .home-page .home-middle {
    padding-left: 96px !important;
    padding-right: 96px !important;
  }

  .home-page .about-columns {
    flex-direction: column !important;
    gap: 56px;
  }

  .home-page .about-slogan {
    width: 100%;
    max-width: 100%;
    padding: 60px 56px;
  }

  .home-page .about-wrapper {
    width: 100%;
    max-width: 100%;
  }

  /* ===== ABOUT (ЗЕРКАЛО HOME) ===== */
  .about-page .home-middle {
    padding-left: 96px !important;
    padding-right: 96px !important;
  }

  .about-page .about-columns {
    flex-direction: column !important;
    gap: 56px;
  }

  .about-page .about-slogan {
    width: 100%;
    max-width: 100%;
    padding: 60px 56px;
  }

  .about-page .about-wrapper {
    width: 100%;
    max-width: 100%;
  }

  /* ===== PORTFOLIO ===== */
  .portfolio-wrapper {
    padding-left: 96px;
    padding-right: 96px;
  }

  .portfolio-columns {
    flex-direction: column;
    gap: 56px;
  }
}


/* ============================================================
   8. MOBILE RESPONSIVE (≤ 768px)
============================================================ */
@media (max-width: 768px) {

  /* ===== ОБЩИЕ ПОЛЯ ===== */
  .container,
  .page-container {
    padding-left: 56px !important;
    padding-right: 56px !important;
  }

  /* =========================================================
     TOP BAR — burger слева, контакты справа
  ========================================================= */
  .top-bar-inner {
    padding: 12px 56px !important;
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    gap: 12px;
  }

  /* BURGER — всегда слева и по центру строки */
  #burger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;

    position: absolute;
    left: 56px;
    top: 50%;
    transform: translateY(-50%);

    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 999;
  }

  #burger span {
    width: 26px;
    height: 3px;
    background: #000;
    border-radius: 2px;
  }

  /* скрываем кнопку Quote в верхней полосе */
  .top-bar .quote-button {
    display: none;
  }

  /* Контакты справа */
  .contact-info {
    display: flex;
    gap: 4px;
    margin-left: auto;
    justify-content: flex-end;
    align-items: center;
    padding-left: 44px; /* резерв под бургер */
  }

  .contact-link {
    font-size: 14px;
    white-space: nowrap;
  }

  /* САМЫЕ МАЛЕНЬКИЕ ЭКРАНЫ */
  @media (max-width: 420px) {
    .contact-info {
      flex-direction: column;
      align-items: flex-end;
      gap: 2px;
      padding-left: 44px;
    }

    .contact-link {
      font-size: 13px;
      line-height: 1.1;
    }
  }

  /* =========================================================
     HEADER — logo слева, кнопка справа
  ========================================================= */
  .header-inner {
    padding: 10px 56px !important;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }

  .logo img {
    width: 110px !important;
  }

  /* MOBILE QUOTE BUTTON */
  .mobile-quote {
    display: block;
    margin-left: auto;
  }

  .mobile-quote a {
    padding: 8px 14px;
    background: #662D91;
    color: #fff;
    border-radius: 6px;

    font-family: 'Roboto Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;

    text-decoration: none;
    display: inline-block;
    line-height: 1;
  }

  .mobile-quote a:hover {
    background-color: #8e44ad;
  }

  nav ul {
    display: none !important;
  }

  /* =========================================================
     MOBILE MENU
  ========================================================= */
  .mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.97);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    z-index: 9999;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-links a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #662D91;
    text-decoration: none;
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 48px;
    color: #662D91;
    cursor: pointer;
  }

  /* =========================================================
     PAGE CONTENT
  ========================================================= */
  .home-page .about-columns.home-middle,
  .about-page .about-columns.home-middle {
    max-width: 100%;
    margin: 50px auto 80px;
    padding: 0 56px !important;
  }

  .home-page .about-slogan,
  .about-page .about-slogan {
    width: 100%;
    max-width: 100%;
    padding: 40px 24px;
  }

  .home-page .about-wrapper,
  .about-page .about-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .portfolio-wrapper {
    padding-left: 56px !important;
    padding-right: 56px !important;
  }
  
  @media (max-width: 420px) {

  .project-hero{
    padding-top: 16px !important;
    padding-bottom: 32px !important;
  }

  .project-hero .container{
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .project-layout{
    gap: 12px !important;   /* ← ВАЖНО: это основной зазор */
  }

  .project-image{
    margin: 0 !important;
  }

  .project-content{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

  



/*  
============================================================
   INTERNAL NOTE — FILE STRUCTURE
============================================================
0. Freestyle Script Font
1. Reset + Typography
2. Global Layout
3. Top Bar
4. Header
5. Footer
6. Page Blocks
7. Tablet Responsive
8. Mobile Responsive
============================================================
*/
