html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
.logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:visited {
  color: #fff;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    max-width: 1140px;
    margin: 0 auto;
}

.logo a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #111;
    text-decoration: none;
}

.nav {
    display: flex;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #B8860B;
}

.nav-cta {
    background: #111;
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 20px;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: #B8860B;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #111;
    cursor: pointer;
}

@media (max-width: 810px) {
    .nav {
        display: none;
        /* скрыто по умолчанию */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }

    .nav.open {
        display: block;
        animation: dropdownFade 0.3s ease;
    }

    @keyframes dropdownFade {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        padding: 20px 0;
    }

    .burger {
        display: block;
    }

    .nav {
        display: none;
    }

    .nav.open {
        display: block;
        animation: dropdownFade 0.3s ease;
    }
}

.hero {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 20px 0 20px;
  box-sizing: border-box;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.hero-text h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #111; /* нейтральный текст */
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1A1A1A;
  margin-bottom: 30px;
  max-width: 90%;
}

/* Кнопка с красным акцентом */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #111; /* Красный акцент */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #B8860B; /* Тёплое золото при наведении */
  transform: translateY(-2px);
}

.cta-btn svg {
  color: #fff;
}

.hero-photo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-photo img {
  width: 100%;
  max-width: 500px;
}

#hero {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px; /* чуть выше — мягче переход */
  background: linear-gradient(
    to top,
    rgba(60, 60, 60, 0.55) 0%,   /* глубокий серый ближе к #3c3c3c */
    rgba(45, 45, 45, 0.25) 40%,
    rgba(30, 30, 30, 0) 100%
  );
  pointer-events: none;
  z-index: 3;
}


@media (max-width: 428px) {
 
 .hero {
    flex-direction: column; /* Разворачиваем порядок */
  }

  #hero {
    padding-top:40px;
  }

  .about {
    flex-direction: column-reverse; /* Разворачиваем порядок */
  }
}

#about, #process {
    background: #000002;
}

.about {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 20px;
  box-sizing: border-box;
}

.about-photo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.about-photo img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1; /* квадрат */
  object-fit: cover;
  border-radius: 0; /* углы строгие */
  display: block;
  
  border: 1px solid #2a2a2a;
  /* Смещение тени ВВЕРХ и ВЛЕВО, без размытия */
  box-shadow: -10px -10px 0 #2a2a2a; /* холодный графитовый */
  
  /* Лёгкий контраст и баланс яркости */
  filter: contrast(1.1) brightness(1.05);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-text {
  flex: 1.2;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #E6B980; /* красный акцент */
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #EAEAEA;
  margin-bottom: 30px;
}

.motto {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: #CDAA7D;
  border-left: 4px solid #E6B980;
  padding-left: 20px;
  margin: 0;
}

.portfolio {
    margin: 0 auto;
    padding: 80px 20px;
    border-top: 1px solid #eee;
}

.portfolio h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 20px;
  text-align: center;
}

.portfolio-square {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 0; /* ключевой момент — без зазоров! */
  width: 100%;
  max-width: 1060px;  /* квадрат 800x800 */
  aspect-ratio: 1 / 1;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
}

.item {
  position: relative;
  overflow: hidden;
}
.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}
.item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}
.caption h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}
.caption p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.2;
}


/* Базовые ячейки */
.item {
  position: relative;
  overflow: hidden;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item:hover img {
  transform: scale(1.05);
}

/* Разные размеры — как на твоей схеме */
.item.small  { grid-column: span 1; grid-row: span 1; }
.item.medium { grid-column: span 2; grid-row: span 1; }
.item.tall   { grid-column: span 1; grid-row: span 2; }
.item.wide   { grid-column: span 2; grid-row: span 2; }
.item.large  { grid-column: span 3; grid-row: span 2; }

.item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  transition: transform 0.4s ease;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transform: scale(1);
  transition: filter 0.5s ease, transform 0.5s ease;
}

/* 👁 Подсказка — иконка лупы */
.item::after {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 6px rgba(0,0,0,0.5);
}

/* ==== Hover (desktop) ==== */
@media (hover: hover) and (pointer: fine) {
  .item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
  }

  .item:hover::after {
    opacity: 1;
    transform: translateY(0);
  }

  .item:hover .caption {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==== Caption ==== */
.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.caption h4 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}
.caption p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.3;
}

/* ==== Активное состояние (при клике или тапе) ==== */
.item.active img {
  filter: grayscale(0%);
  transform: scale(1.1);
}
.item.active::after {
  opacity: 1;
  transform: translateY(0);
  content: "✖"; /* при увеличении — крестик для закрытия */
}
.item.active .caption {
  opacity: 1;
  transform: translateY(0);
}

/* ==== MOBILE адаптация ==== */
@media (hover: none) and (pointer: coarse) {
  .caption {
    position: static;
    opacity: 0;
    transform: translateY(10px);
    color: #1A1A1A;
    background: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
    padding: 12px 10px 16px;
    border-radius: 0 0 10px 10px;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .item.active .caption {
    opacity: 1;
    transform: translateY(0);
  }

  .item img {
    transition: all 0.4s ease;
  }
}

@media (max-width: 480px) {
  .portfolio-square { display: none; }
}



/* ======== КАК ПРОХОДИТ ПРОЦЕСС ======== */

.process {
  margin: 0 auto;
  padding: 100px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #000;
  color: #f8f8f8;
}

.process h2 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 60px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 260px;
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* SVG иконки */
.icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #f8f8f8;
  border-radius: 50%;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.15), 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

.step:hover .icon {
  background: #fff;
  transform: scale(1.05);
}

.icon svg {
  width: 32px;
  height: 32px;
  color: #000;
}

/* Заголовок и описание */
.step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #f0f0f0;
  font-weight: 600;
}

.step p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

/* CTA кнопка */
.cta-process {
  margin-top: 70px;
  background-color: #111;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-process:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-3px);
}

.cta-process a {
  color: inherit;
  text-decoration: none;
}

/* === АДАПТИВ === */
@media (max-width: 900px) {
  .process-steps {
    flex-direction: column;
    gap: 25px;
  }
}

.pricing {
  color: #1a1a1a;
  padding: 100px 20px;
}

.pricing h2 {
  text-align: center;
  color: #000;
  font-size: 2.2rem;
  margin-bottom: 60px;
  font-weight: 700;
}

.pricing-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* --- Таблица --- */

.pricing-table-block {
    width: 100%;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.pricing-table th {
  background-color: #111;
  color: #fff;
  padding: 14px 18px;
  font-weight: 600;
  text-align: left;
  font-size: 1rem;
}

.pricing-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.pricing-table td strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #111;
}

.pricing-table .desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.pricing-note {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #555;
}

/* --- Что входит --- */
.pricing-includes {
  flex: 1;
  min-width: 280px;
}

.pricing-includes h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 25px;
  text-align: center;
}

.includes-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

/* --- Карточка --- */
.include-card {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 30px 22px;
  flex: 1 1 200px;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.include-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

/* --- Иконка --- */
.include-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  transition: background 0.3s ease;
}

.include-card:hover .include-icon {
  background: #E6B980;
}

.include-icon svg {
  width: 32px;
  height: 32px;
}

/* --- Текст --- */
.include-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.include-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* --- Адаптив --- */
@media (max-width: 900px) {
  .pricing-wrapper {
    flex-direction: column;
    gap: 50px;
  }

  .pricing-table {
    font-size: 0.95rem;
  }

  .includes-cards {
    flex-direction: column;
    align-items: center;
  }

  .include-card {
    max-width: 90%;
  }
}

#clients {
    background: #000002;
}

.info {
  padding: 80px 20px;
  box-sizing: border-box;
  text-align: center;
  color: #EAEAEA;
}

.info h2 {
  font-size: 2rem;
  color: #E6B980;
  margin-bottom: 40px;
  text-align: center;
}

/* --- Tabs --- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab {
  background: #1B1B1B;
  border: 1px solid #E6B980;
  color: #EAEAEA;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
}

.tab:hover,
.tab.active {
  background: #E6B980;
  color: #fff;
}

/* --- Контент вкладок --- */
.tab-content {
  display: none;
  background: #1B1B1B;
  color: #EAEAEA;
  padding: 24px 20px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  max-width: 760px;
  margin: 0 auto 30px auto;
  border: 1px solid #222;
}

.tab-content.active {
  display: block;
}

/* --- FAQ --- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.faq h3 {
  color: #E6B980;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.faq-item {
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #1A1A1A;
  border: 1px solid #222;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: #F5F5F5;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s;
}

.faq-q:hover {
  background: rgba(161, 27, 27, 0.1);
}

.faq-q .chev {
  color: #E6B980;
  transition: transform 0.3s ease;
}

.faq-q[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 16px 16px 16px;
  color: #E0E0E0;
  line-height: 1.6;
}

.faq-a[hidden] {
  display: none;
}

/* --- Адаптив --- */
@media (max-width: 480px) {
  .tabs {
    gap: 8px;
  }
  .tab {
    padding: 8px 14px;
    font-size: 0.9rem;
  }
  .faq-q {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
}

.contacts {
  background: #fff;
  color: #111;
  padding: 80px 20px;
  text-align: center;
  border-top: 1px solid #eee;
  box-sizing: border-box;
}

.contacts h2 {
  color: #111;
  font-size: 2rem;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #111;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  background-color: #B8860B;
  transform: translateY(-3px);
}

.contact-btn svg {
  fill: currentColor;
}

.contact-note {
  font-size: 1rem;
  color: #333;
  margin-bottom: 24px;
}

/* CTA */
.cta-contact {
  background-color: #111;
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-contact:hover {
  background-color: #B8860B;
  transform: translateY(-3px);
}

/* --- Адаптив --- */
@media (max-width: 480px) {
  .contacts {
    padding: 60px 15px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .contact-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 12px 0;
  }

  .cta-contact {
    width: 100%;
    max-width: 280px;
  }
}

.mobile-gallery { display: none; }

@media (max-width: 810px) {
  .desktop-gallery { display: none; }
  .mobile-gallery { display: block; }
}

/* стили под Ink Black */
.carousel {
  background: #111;
  border-radius: 12px;
  overflow: hidden;
}

.carousel-item img {
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.carousel-item.active img,
.carousel-item img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.carousel-caption {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 0 0 12px 12px;
}

.carousel-caption h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.carousel-caption p {
  color: #ccc;
  font-size: 0.9rem;
}

/* кнопки навигации */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) brightness(1.5);
  width: 2rem;
  height: 2rem;
}