/* «О нас» — контент лендинга, scoped под .nowa-about; палитра/типографика сайта */

.nowa-about {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 10px;
  --radius-md: 13px;
  --radius-lg: 14px;
  --radius-xl: 14px;
  --radius-full: 14px;

  --transition-interactive: 180ms ease;
  --ease-out: ease;

  --content-wide: 1200px;
  --gutter: clamp(var(--space-4), 4vw, var(--space-8));

  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --color-bg: #fff;
  --color-surface: #fff;
  --color-surface-2: #f7fbff;
  --color-surface-offset: #def1ff;
  --color-divider: rgba(9, 70, 114, 0.12);
  --color-border: rgba(9, 70, 114, 0.28);

  --color-text: #21201f;
  --color-text-muted: #3e3e3e;
  --color-text-faint: #6b6b6b;
  --color-text-inverse: #fff;

  --color-primary: #094672;
  --color-primary-hover: #073a5e;
  --color-primary-active: #052d49;
  --color-primary-highlight: #def1ff;

  --color-deep: #094672;
  --color-deep-2: #073a5e;

  --shadow-sm: 0 0 2.72px 0 rgba(0, 0, 0, 0.25);
  --shadow-md: 0 0 5.43px 0 rgba(9, 70, 114, 0.25);
  --shadow-lg: 0 8px 24px rgba(9, 70, 114, 0.18);

  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

.nowa-about *,
.nowa-about *::before,
.nowa-about *::after {
  box-sizing: border-box;
}

.nowa-about img,
.nowa-about video {
  display: block;
  max-width: 100%;
  height: auto;
}

.nowa-about ul[role='list'],
.nowa-about ol[role='list'] {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nowa-about h1,
.nowa-about h2,
.nowa-about h3 {
  line-height: 1.15;
  margin: 0;
  font-weight: 600;
}

.nowa-about p {
  margin: 0;
}

.nowa-about a {
  color: inherit;
}

.nowa-about .na-container {
  width: min(100%, var(--content-wide));
  margin-inline: auto;
}

.nowa-about .section {
  padding-block: clamp(var(--space-16), 9vw, var(--space-32));
}

.nowa-about .eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.nowa-about .eyebrow--light {
  color: #b7d7ef;
}

.nowa-about .section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.015em;
  margin-bottom: var(--space-5);
  color: var(--color-text);
}

.nowa-about .section__head {
  display: grid;
  gap: var(--space-6);
  margin-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}

.nowa-about .section__head .section__title {
  margin-bottom: 0;
}

.nowa-about .section__intro {
  color: var(--color-text-muted);
  max-width: 48ch;
}

@media (min-width: 900px) {
  .nowa-about .section__head {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
  }
}

/* Buttons — как .button сайта */
.nowa-about .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-lg);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: opacity 0.5s, background 0.3s, color 0.3s, border-color 0.3s;
  box-sizing: border-box;
}

.nowa-about .btn--primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.nowa-about .btn--primary:hover {
  opacity: 0.5;
  text-decoration: none;
  color: var(--color-text-inverse);
}

.nowa-about .btn--ghost {
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  background: transparent;
}

.nowa-about .btn--ghost:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  opacity: 1;
}

/* Hero */
.nowa-about .hero {
  padding-block: clamp(var(--space-8), 5vw, var(--space-16)) clamp(var(--space-12), 6vw, var(--space-24));
}

.nowa-about .hero__grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

.nowa-about .hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.nowa-about .hero__title .accent {
  font-weight: 700;
  color: var(--color-primary);
}

.nowa-about .lead {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 54ch;
  margin-bottom: var(--space-8);
}

.nowa-about .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.nowa-about .hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--color-surface-offset);
}

.nowa-about .hero__video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.nowa-about .hero__media figcaption {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  color: #fff;
  background: rgba(9, 70, 114, 0.65);
  border-radius: 9999px;
}

@media (min-width: 900px) {
  .nowa-about .hero__grid {
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-16);
  }
  .nowa-about .hero__video {
    aspect-ratio: 4 / 3;
  }
}

.nowa-about .facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6) var(--space-8);
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.nowa-about .facts__item dt {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.nowa-about .facts__item dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (min-width: 900px) {
  .nowa-about .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Story */
.nowa-about .story {
  background: var(--color-surface-2);
  border-block: 1px solid var(--color-divider);
}

.nowa-about .story__grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.nowa-about .story__text p + p {
  margin-top: var(--space-4);
}

.nowa-about .story__text > p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.nowa-about .quote {
  margin-top: var(--space-8);
  padding-left: var(--space-6);
  border-left: 3px solid var(--color-primary);
}

.nowa-about .quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: 1.35;
  color: var(--color-text);
}

.nowa-about .quote em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-primary);
}

.nowa-about .story__media {
  position: relative;
  padding-bottom: var(--space-12);
}

.nowa-about .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-offset);
}

.nowa-about .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nowa-about .photo--main {
  position: relative;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.nowa-about .photo--main figcaption {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  color: #fff;
  background: rgba(9, 70, 114, 0.65);
  border-radius: 9999px;
}

.nowa-about .photo--inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 1;
  border: 6px solid var(--color-surface-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .nowa-about .story__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
  }
  .nowa-about .photo--inset {
    right: calc(-1 * var(--space-4));
  }
}

/* Mission */
.nowa-about .mission {
  background: var(--color-deep);
  color: #f5f9fc;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) clamp(var(--space-4), 4vw, var(--space-10));
  margin-inline: 15px;
  border-radius: var(--radius-md);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .nowa-about .mission {
    margin-inline: 0;
    padding-block: clamp(var(--space-16), 10vw, var(--space-32));
    padding-inline: clamp(var(--space-6), 4vw, var(--space-12));
  }
}

.nowa-about .mission__statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 28ch;
  color: #f5f9fc;
}

.nowa-about .mission__note {
  margin-top: var(--space-8);
  color: #b7d7ef;
  max-width: 52ch;
}

.nowa-about .mission .eyebrow {
  color: #b7d7ef;
}

/* Production */
.nowa-about .process {
  display: grid;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
}

.nowa-about .step {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  max-width: none;
}

.nowa-about .step__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-offset);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-md);
}

.nowa-about .step__media img,
.nowa-about .step__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nowa-about .step__body {
  display: grid;
  gap: var(--space-3);
  align-content: center;
}

.nowa-about .step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.nowa-about .step__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.nowa-about .step__body p {
  color: var(--color-text-muted);
  max-width: 44ch;
}

@media (min-width: 900px) {
  .nowa-about .step {
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-12);
  }
  .nowa-about .step__media {
    grid-column: 1 / span 7;
  }
  .nowa-about .step__body {
    grid-column: 8 / span 5;
  }
  .nowa-about .step:nth-child(even) .step__media {
    grid-column: 6 / span 7;
    grid-row: 1;
  }
  .nowa-about .step:nth-child(even) .step__body {
    grid-column: 1 / span 5;
    grid-row: 1;
  }
}

/* Washing */
.nowa-about .washing {
  background: var(--color-surface-2);
  border-block: 1px solid var(--color-divider);
}

.nowa-about .washing__grid {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

.nowa-about .washing__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-surface-offset);
  box-shadow: var(--shadow-md);
  margin: 0;
}

.nowa-about .washing__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nowa-about .washing__text > p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.nowa-about .stages {
  margin-block: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.nowa-about .stages li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-divider);
  font-weight: 600;
}

.nowa-about .stages li span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-primary);
  min-width: 1.5ch;
}

.nowa-about .note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

@media (min-width: 900px) {
  .nowa-about .washing__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-20);
  }
}

/* Principles */
.nowa-about .principles__grid {
  display: grid;
  gap: var(--space-8);
}

.nowa-about .principle {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.nowa-about .principle h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.nowa-about .principle p {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.nowa-about .principle p + p {
  margin-top: var(--space-3);
}

.nowa-about .principle--feature {
  padding: var(--space-8);
  border: none;
  border-radius: var(--radius-xl);
  background: var(--color-primary-highlight);
  box-shadow: var(--shadow-sm);
}

.nowa-about .principle--feature h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-text);
}

.nowa-about .principle--feature p {
  color: var(--color-text);
  font-size: var(--text-base);
}

@media (min-width: 900px) {
  .nowa-about .principles__grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .nowa-about .principle--feature {
    grid-column: span 7;
    grid-row: span 3;
    padding: var(--space-12);
  }
  .nowa-about .principle:not(.principle--feature) {
    grid-column: span 5;
  }
}

/* Bleed */
.nowa-about .bleed {
  position: relative;
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-md);
}

.nowa-about .bleed img {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  object-fit: cover;
  object-position: center 60%;
}

.nowa-about .bleed figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-8) var(--gutter) var(--space-6);
  color: #fff;
  font-size: var(--text-sm);
  text-align: left;
  background: linear-gradient(to top, rgba(9, 70, 114, 0.8), transparent);
}

/* Documents */
.nowa-about .documents__grid {
  display: grid;
  gap: var(--space-10);
}

.nowa-about .documents__text > p:not(.eyebrow) {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.nowa-about .doclist {
  display: grid;
  border-top: 1px solid var(--color-divider);
}

.nowa-about .doclist li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-divider);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
}

.nowa-about .doclist li::after {
  content: '';
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
}

@media (min-width: 900px) {
  .nowa-about .documents__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-20);
    align-items: center;
  }
}

/* Order */
.nowa-about .order {
  padding-top: 0;
}

.nowa-about .order__card {
  display: grid;
  gap: var(--space-8);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  border-radius: var(--radius-xl);
  background: var(--color-primary-highlight);
  border: 1px solid var(--color-divider);
  box-shadow: var(--shadow-sm);
}

.nowa-about .order__text > p:not(.eyebrow) {
  color: var(--color-text-muted);
}

.nowa-about .order__text .section__title {
  margin-bottom: var(--space-3);
}

.nowa-about .order__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-content: center;
}

@media (min-width: 900px) {
  .nowa-about .order__card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .nowa-about .order__actions {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: end;
  }
  .nowa-about .order__actions .btn--primary {
    grid-column: 1 / -1;
  }
}

/* Reveal */
.nowa-about .reveal {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .nowa-about .reveal {
    opacity: 0;
    animation: nowa-about-reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

@keyframes nowa-about-reveal {
  to {
    opacity: 1;
  }
}

/* Page chrome tweaks on o-nas */
body.page-o-nas .main > .content {
  padding-top: 10px;
}
