/* ABOUT — О фабрике */

.page-about {
  padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 8vw, 88px);
}

.page-about__hero {
  max-width: 820px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  text-align: center;
}

.page-about__title {
  font-family: var(--font-main);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-text);
}

.page-about__lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
  color: var(--color-muted);
}

.page-about__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.page-about__nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
  border: 1px solid rgba(42, 37, 32, 0.1);
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.page-about__nav-link:hover {
  color: var(--color-accent-dark);
  border-color: rgba(184, 157, 106, 0.45);
}

.page-about__nav-link.is-active {
  color: #fff;
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  pointer-events: none;
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.about-split__image {
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.about-split__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-split__text p,
.about-block p {
  margin-bottom: 14px;
  line-height: 1.75;
  color: var(--color-muted);
}

.about-split__text p:last-child,
.about-block p:last-child {
  margin-bottom: 0;
}

.about-panel {
  padding: clamp(22px, 3vw, 32px);
  margin-bottom: clamp(28px, 4vw, 40px);
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.about-panel__title {
  font-family: var(--font-main);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--color-text);
}

.about-panel__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.about-panel__list li + li {
  margin-top: 8px;
}

.about-section-title {
  font-family: var(--font-main);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 28px);
  color: var(--color-text);
}

.about-products {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.about-product-card {
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.about-product-card__title {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.about-product-card__list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.about-product-card__list li + li {
  margin-top: 6px;
}

.about-product-card__text {
  margin: 0;
  line-height: 1.65;
  color: var(--color-muted);
}

.about-partners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.about-partner-card {
  padding: 22px 24px;
  background: var(--color-bg-alt);
  border-radius: 2px;
  border-left: 3px solid var(--color-accent);
}

.about-partner-card h3 {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.about-partner-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.about-note {
  padding: 18px 22px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  background: rgba(210, 186, 138, 0.18);
  border-radius: 2px;
}

.about-note--spaced {
  margin-top: 40px;
}

.about-note a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* History */

.about-story {
  max-width: 780px;
  margin: 0 auto;
}

.about-story p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--color-muted);
}

.about-story__quote {
  margin: clamp(28px, 4vw, 40px) 0;
  padding: clamp(24px, 4vw, 36px);
  font-family: var(--font-main);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  color: var(--color-text);
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
}

.about-story__figure {
  margin: clamp(28px, 4vw, 44px) 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.about-story__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-story__figure figcaption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
  background: var(--color-bg-alt);
}

.about-principles {
  margin: clamp(24px, 4vw, 36px) 0;
  padding: clamp(22px, 3vw, 28px);
  list-style: none;
  background: var(--color-bg-alt);
  border-radius: 2px;
}

.about-principles li {
  position: relative;
  padding-left: 22px;
  line-height: 1.65;
  color: var(--color-muted);
}

.about-principles li + li {
  margin-top: 10px;
}

.about-principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-dark);
}

.about-story__closing {
  margin-top: clamp(24px, 4vw, 36px);
  padding-top: 24px;
  border-top: 1px solid rgba(42, 37, 32, 0.08);
}

.about-story__closing p {
  font-size: 1.02rem;
  color: var(--color-text);
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-split__image {
    order: -1;
  }

  .about-partners {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .page-about__nav-link {
    width: 100%;
    justify-content: center;
  }
}

/* CONTACTS */

.page-contacts {
  padding: clamp(36px, 5vw, 56px) 0 clamp(48px, 8vw, 88px);
}

.contacts-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.contacts-breadcrumbs a {
  color: var(--color-muted);
  transition: color 0.2s ease;
}

.contacts-breadcrumbs a:hover {
  color: var(--color-text);
}

.page-contacts__header {
  max-width: 820px;
  margin: 0 auto clamp(28px, 4vw, 36px);
  text-align: center;
}

.page-contacts__title {
  font-family: var(--font-main);
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text);
}

.page-contacts__intro p {
  margin-bottom: 12px;
  line-height: 1.75;
  color: var(--color-muted);
}

.page-contacts__intro p:last-child {
  margin-bottom: 0;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(42, 37, 32, 0.08);
  border-radius: 12px;
  box-shadow:
    0 8px 32px rgba(42, 37, 32, 0.08),
    0 2px 8px rgba(42, 37, 32, 0.04);
}

.contacts-layout__photo {
  margin: 0;
  overflow: hidden;
  min-height: 100%;
}

.contacts-layout__photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.contacts-layout__info {
  padding: clamp(24px, 3vw, 36px) clamp(22px, 3vw, 32px);
}

.contacts-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(42, 37, 32, 0.08);
}

.contacts-row:first-child {
  padding-top: 0;
}

.contacts-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.contacts-row__label {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  line-height: 1.5;
}

.contacts-row__value {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text);
}

.contacts-row__value p {
  margin: 0 0 10px;
}

.contacts-row__value p:last-child {
  margin-bottom: 0;
}

.contacts-row__value a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contacts-row__value a:hover {
  color: var(--color-accent-dark);
}

.contacts-row__note {
  font-size: 0.84rem;
  color: var(--color-muted);
}

.contacts-row__link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contacts-row__link:hover {
  color: var(--color-text);
}

.contacts-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contacts-social__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid rgba(42, 37, 32, 0.1);
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contacts-social__links a:hover {
  border-color: rgba(184, 157, 106, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-layout__photo img {
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .contacts-layout__info {
    padding-top: clamp(20px, 3vw, 28px);
  }
}

@media (max-width: 560px) {
  .contacts-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .page-about__title {
    font-size: 1.45rem;
  }

  .page-about__lead {
    font-size: 0.92rem;
  }

  .page-about__nav {
    gap: 6px;
  }

  .page-about__nav-link {
    font-size: 0.82rem;
    padding: 6px 10px;
  }

  .contacts-row__label {
    font-size: 0.95rem;
  }

  .contacts-row__value {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
  }

  .contacts-social__links a {
    width: 40px;
    height: 40px;
  }
}
