@font-face {
  font-family: 'Actay';
  src: url('./Actay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* === БАЗА === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  font-family: 'Actay', sans-serif;
  padding-bottom: 100px;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.page {
  width: 100%;
}

/* === ШАПКА === */
.header {
  position: relative;
  z-index: 20;

  width: 1218px;
  height: 59px;
  margin: 30px auto 0;

  background: #e4e4e4;
  border-radius: 20px;

  display: flex;
  align-items: center;

  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.45);
}

.header__logo {
  position: absolute;
  left: 40px;
  font-size: 26px;
}

.header__nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 40px;
}

.header__link {
  text-decoration: none;
  color: #000;
  font-size: 24px;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.header__link:hover {
  opacity: 1;
}

.header__link.active {
  opacity: 1;
}

/* === ЛОГО === */
.logo-section {
  width: 1218px;
  margin: 150px auto 0;
  display: flex;
  justify-content: center;
}

.logo-section__image {
  width: 100%;
}

/* === РАБОТЫ === */
.works-header {
  width: 1123px;
  margin: 150px auto 0;
  background: #D9D9D9;
  border-radius: 20px;
  padding: 22px 28px 18px;
}

.works-header__title {
  font-size: 37px;
  text-transform: none;
  color: #5E5E5E;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.4px;
}

.works-content {
  position: relative;
  width: 1123px;
  margin: 40px auto 0;
  display: flex;
  gap: 50px;
  align-items: flex-start;
  z-index: 1;
}

.works-content::before {
  content: "";
  position: absolute;

  width: 960px;      /* размер картинки */
  height: 660px;     /* размер картинки */
  
  left: 150px;       /* влево/вправо */
  top: -30px;        /* вверх/вниз */

  background: url('./linogravyura.PNG') no-repeat center;
  background-size: contain;

  z-index: 0;
  pointer-events: none;
}

/* БОЛЬШАЯ КАРТОЧКА */
.works-big img {
  width: 390px;
  height: 440px;
  object-fit: cover;
  border-radius: 20px;
  display: block;

  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

.works-big-text {
  margin-top: 18px;
}

.works-big-text h2 {
  font-size: 29px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.works-big-text p {
  font-size: 17px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.2px;
}

/* СПИСОК СПРАВА */
.works-small-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.works-small-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.works-small-text {
  padding-top: 6px;
}

.works-small-item img {
  width: 160px;
  height: 160px;
  border-radius: 20px;
  object-fit: cover;
  display: block;

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.works-small-text h3 {
  font-size: 28px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.8px;
  margin-bottom: 6px;
}

.works-small-text p {
  font-size: 17px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.2px;
}

/* ===== DETAILS PAGE ===== */
.details-page {
  --details-page-height: 1780px;
  --details-hero-shift: 30px;

  position: relative;
  min-height: var(--details-page-height);
  background: #f2f2f2;
  overflow-x: hidden;
}

.details-hero {
  position: absolute;
  inset: 0;
  top: calc(-1 * var(--details-hero-shift));
  height: calc(var(--details-page-height) + var(--details-hero-shift));
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* ЗВЕЗДЫ */
.details-star {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.details-star-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* КОНТЕНТ */
.details-content {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  padding-top: 260px;
}

.details-card {
  width: 700px;
  border-radius: 24px;
  overflow: hidden;
}

.details-image {
  width: 100%;
  display: block;
  border-radius: 24px;
}

/* ===== SOCIAL ===== */

.social-page {
  background: #ffffff;
  min-height: 100vh;
  padding-bottom: 80px;
}

.social-header {
  width: 1218px;
  margin: 40px auto 0;
}

.social-subtitle {
  font-size: 26px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 6px;
  margin-bottom: 14px;
}

.social-title {
  font-size: 64px;
  font-weight: 400;
}

/* КАРТИНКА */
.social-hero {
  width: 100%;
  max-width: 700px;

  margin: 60px auto;

  padding: 0 20px; /* чтобы на мобиле не прилипало */
}

.social-hero__image {
  width: 100%;
  height: 520px; /* регулируешь сама */
  object-fit: contain; /* НЕ ОБРЕЗАЕТ */
  object-position: center;

  display: block;

  border-radius: 24px;

  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.08),
    0 30px 60px rgba(0, 0, 0, 0.12);
}

.works-big img {
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.18),
    0 24px 40px rgba(0, 0, 0, 0.22) !important;
}

.works-small-item img {
  box-shadow:
    0 8px 14px rgba(0, 0, 0, 0.16),
    0 18px 30px rgba(0, 0, 0, 0.2) !important;
}
.works-big,
.works-small-list {
  position: relative;
  z-index: 2;
}