/* ==========================================================================
   MOTUL Saratov 6.5.0 — About page
   ========================================================================== */

.page-template-page-o-nas,
.page-id-o-nas {
  background: #060a0d;
}

.about-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: #fff;
  background: #080b0d;
}

.about-hero__media,
.about-hero__overlay {
  position: absolute;
  inset: 0;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  filter: brightness(.88) saturate(1.02);
}

.about-hero__overlay {
  background:
    linear-gradient(90deg, rgba(4,7,9,.98) 0%, rgba(4,7,9,.91) 36%, rgba(4,7,9,.50) 62%, rgba(4,7,9,.15) 100%),
    linear-gradient(0deg, rgba(4,7,9,.62), transparent 46%);
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 440px;
  gap: 48px;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 46px;
}

.about-hero__copy {
  max-width: 690px;
}

.about-hero .eyebrow,
.about-section-head .eyebrow,
.about-intro .eyebrow,
.about-final-cta .eyebrow {
  color: #ff2634;
  font-size: 13px;
  margin-bottom: 10px;
}

.about-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(70px,7.5vw,116px);
  font-weight: 900;
  line-height: .86;
}

.about-hero__lead {
  max-width: 650px;
  margin: 0 0 26px;
  color: #e4e8eb;
  font-size: clamp(18px,1.5vw,23px);
  line-height: 1.5;
}

.about-hero__facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.about-fact {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border: 1px solid #303940;
  border-radius: 16px;
  background: rgba(8,13,17,.82);
  backdrop-filter: blur(8px);
}

.about-fact strong {
  color: #fff;
  font-size: 44px;
  font-weight: 900;
  line-height: .95;
}

.about-fact--accent strong {
  color: #ff1f2e;
}

.about-fact span {
  margin-top: 8px;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.about-fact small {
  margin-top: 4px;
  color: #9fa9b0;
  font-size: 12px;
}

/* Intro */
.about-intro,
.about-principles,
.about-services,
.about-process,
.about-network {
  background: #060a0d;
  color: #fff;
}

.about-intro {
  padding-top: 50px;
  padding-bottom: 42px;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 42px;
  align-items: center;
}

.about-intro__copy h2,
.about-section-head h2,
.about-final-cta h2 {
  margin: 0;
  font-size: clamp(32px,3vw,50px);
  font-weight: 900;
}

.about-intro__copy > p:not(.eyebrow) {
  margin: 18px 0 0;
  color: #b9c2c8;
  font-size: 16px;
  line-height: 1.7;
}

.about-intro__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #273139;
}

.about-intro__star {
  color: #ff2634;
  font-size: 24px;
}

.about-intro__rating strong {
  font-size: 28px;
  line-height: 1;
}

.about-intro__rating span:last-child {
  color: #aeb7bd;
  font-size: 13px;
}

.about-intro__media {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid #29343c;
  border-radius: 18px;
  background: #0b1115;
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.about-intro__media-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  min-width: 230px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background: rgba(7,11,14,.82);
  backdrop-filter: blur(8px);
}

.about-intro__media-label span,
.about-intro__media-label strong {
  display: block;
}

.about-intro__media-label span {
  color: #ff2634;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-intro__media-label strong {
  margin-top: 3px;
  font-size: 18px;
}

/* Shared headings */
.about-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.about-section-head > p {
  max-width: 620px;
  margin: 0;
  color: #aeb7bd;
  font-size: 14px;
  line-height: 1.55;
}

.about-section-head > a {
  color: #ff3340;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* Principles */
.about-principles {
  padding-top: 34px;
  padding-bottom: 42px;
}

.about-principles__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.about-principle {
  min-height: 220px;
  padding: 22px 20px;
  border: 1px solid #29343c;
  border-radius: 16px;
  background: linear-gradient(180deg,#0d1317,#0a1013);
}

.about-principle > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 12px;
  background: rgba(227,6,19,.08);
  color: #ff2634;
}

.about-principle > span svg {
  width: 27px;
  height: 27px;
}

.about-principle h3 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 900;
  text-transform: none;
}

.about-principle p {
  margin: 0;
  color: #9fa9b0;
  font-size: 13px;
  line-height: 1.55;
}

/* Services */
.about-services {
  padding-top: 34px;
  padding-bottom: 42px;
}

.about-services__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}

.about-service {
  min-height: 155px;
  display: grid;
  grid-template-columns: 50px minmax(0,1fr);
  grid-template-rows: auto auto;
  column-gap: 15px;
  align-content: center;
  padding: 20px;
  border: 1px solid #29343c;
  border-radius: 15px;
  background: #0b1115;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.about-service:hover {
  transform: translateY(-2px);
  border-color: #49545d;
  background: #0f161b;
}

.about-service > span {
  grid-row: 1 / -1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #ff2634;
}

.about-service > span svg {
  width: 31px;
  height: 31px;
}

.about-service strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.about-service small {
  margin-top: 7px;
  color: #9fa9b0;
  font-size: 12px;
  line-height: 1.45;
}

/* Process */
.about-process {
  padding-top: 34px;
  padding-bottom: 42px;
}

.about-process__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.about-process__grid article {
  position: relative;
  min-height: 190px;
  padding: 22px 20px;
  border-top: 2px solid #313c44;
  background: linear-gradient(180deg,rgba(13,19,23,.65),rgba(10,16,19,.35));
}

.about-process__grid article::after {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 52px;
  height: 2px;
  background: #ff2634;
}

.about-process__grid strong {
  color: #ff2634;
  font-size: 13px;
  font-weight: 900;
}

.about-process__grid h3 {
  margin: 30px 0 9px;
  font-size: 19px;
  text-transform: none;
}

.about-process__grid p {
  margin: 0;
  color: #9fa9b0;
  font-size: 13px;
  line-height: 1.5;
}

/* Network */
.about-network {
  padding-top: 34px;
  padding-bottom: 48px;
}

.about-network__grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 10px;
}

.about-branch-link {
  min-height: 106px;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 20px;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 1px solid #29343c;
  border-radius: 14px;
  background: #0b1115;
}

.about-branch-link > span {
  color: #ff2634;
}

.about-branch-link > span svg {
  width: 24px;
  height: 24px;
}

.about-branch-link div {
  min-width: 0;
}

.about-branch-link strong,
.about-branch-link small {
  display: block;
}

.about-branch-link strong {
  color: #fff;
  font-size: 15px;
}

.about-branch-link small {
  margin-top: 5px;
  color: #929da5;
  font-size: 10px;
  line-height: 1.35;
}

.about-branch-link i {
  color: #7e8991;
  font-size: 20px;
  font-style: normal;
  justify-self: end;
}

/* Final CTA */
.about-final-cta {
  padding: 12px 0 18px;
  background: #060a0d;
  color: #fff;
}

.about-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(227,6,19,.68);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 50%, rgba(227,6,19,.09), transparent 34%),
    #0b1014;
}

.about-final-cta__inner > div:first-child > p:not(.eyebrow) {
  max-width: 650px;
  margin: 10px 0 0;
  color: #aeb7bd;
}

.about-final-cta__actions {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  align-items: center;
}

.about-final-cta__phone {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: #fff;
}

.about-final-cta__phone svg {
  width: 20px;
  height: 20px;
}

.about-final-cta__phone strong {
  font-size: 24px;
}

/* Responsive */
@media (max-width: 1050px) {
  .about-hero__inner {
    grid-template-columns: minmax(0,1fr) 370px;
  }

  .about-principles__grid,
  .about-process__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .about-network__grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 800px) {
  .about-hero {
    min-height: auto;
  }

  .about-hero__media img {
    object-position: 66% center;
  }

  .about-hero__overlay {
    background:
      linear-gradient(180deg, rgba(4,7,9,.92) 0%, rgba(4,7,9,.74) 45%, rgba(4,7,9,.84) 100%),
      linear-gradient(90deg, rgba(4,7,9,.70), rgba(4,7,9,.14));
  }

  .about-hero__inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 42px;
    padding-bottom: 34px;
  }

  .about-hero h1 {
    font-size: 72px;
  }

  .about-hero__facts {
    max-width: 620px;
  }

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

  .about-intro__media {
    order: -1;
  }

  .about-services__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .about-network__grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

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

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

  .about-final-cta__phone {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .about-hero__inner {
    padding-top: 32px;
  }

  .about-hero h1 {
    font-size: 64px;
  }

  .about-hero__lead {
    font-size: 16px;
  }

  .about-hero .button-row {
    width: 100%;
    flex-direction: column;
  }

  .about-hero .btn {
    width: 100%;
  }

  .about-hero__facts {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }

  .about-fact {
    min-height: 116px;
    padding: 16px 14px;
  }

  .about-fact strong {
    font-size: 36px;
  }

  .about-fact span {
    font-size: 14px;
  }

  .about-fact small {
    font-size: 10px;
  }

  .about-intro {
    padding-top: 32px;
  }

  .about-intro__media,
  .about-intro__media img {
    min-height: 260px;
  }

  .about-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .about-principles__grid,
  .about-services__grid,
  .about-process__grid,
  .about-network__grid {
    grid-template-columns: 1fr;
  }

  .about-principle {
    min-height: 0;
  }

  .about-service {
    min-height: 128px;
  }

  .about-process__grid article {
    min-height: 155px;
  }

  .about-final-cta__inner {
    padding: 22px 16px;
  }

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

  .about-final-cta__phone {
    grid-column: auto;
  }

  .about-final-cta .btn {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .about-hero h1 {
    font-size: 58px;
  }

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

  .about-intro__copy h2,
  .about-section-head h2,
  .about-final-cta h2 {
    font-size: 29px;
  }
}


/* 6.5.1 — editable editorial About block */
.about-editorial {
  padding-top: 32px;
  padding-bottom: 46px;
  background: #060a0d;
  color: #fff;
}

.about-editorial__grid {
  display: grid;
  grid-template-columns: 290px minmax(0,1fr);
  gap: 42px;
  align-items: start;
}

.about-editorial__aside {
  position: sticky;
  top: 104px;
  padding: 22px 20px;
  border: 1px solid #29343c;
  border-radius: 16px;
  background:
    radial-gradient(circle at top left, rgba(227,6,19,.08), transparent 38%),
    #0b1115;
}

.about-editorial__aside .eyebrow {
  margin-bottom: 10px;
  color: #ff2634;
  font-size: 12px;
}

.about-editorial__aside h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}

.about-editorial__aside > p:not(.eyebrow) {
  margin: 0;
  color: #96a1a9;
  font-size: 12px;
  line-height: 1.5;
}

.about-editorial__content {
  min-width: 0;
  padding: 28px 30px 30px;
  border: 1px solid #29343c;
  border-radius: 18px;
  background: linear-gradient(180deg,#0d1317,#0a1013);
}

.about-editorial__content > *:first-child {
  margin-top: 0;
}

.about-editorial__content h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(27px,2.3vw,38px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.about-editorial__content h2:not(:first-child) {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid #28323a;
}

.about-editorial__content p {
  max-width: 920px;
  margin: 0 0 17px;
  color: #b9c3c9;
  font-size: 15px;
  line-height: 1.72;
}

.about-editorial__content p strong {
  color: #fff;
}

.about-editorial__content ol {
  counter-reset: about-advantage;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-editorial__content ol li {
  counter-increment: about-advantage;
  position: relative;
  min-height: 142px;
  padding: 18px 18px 18px 62px;
  border: 1px solid #27323a;
  border-radius: 13px;
  background: #0b1115;
  color: #9faab1;
  font-size: 13px;
  line-height: 1.52;
}

.about-editorial__content ol li::before {
  content: counter(about-advantage, decimal-leading-zero);
  position: absolute;
  left: 17px;
  top: 18px;
  color: #ff2634;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.about-editorial__content ol li strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

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

  .about-editorial__aside {
    position: static;
  }
}

@media (max-width: 700px) {
  .about-editorial {
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .about-editorial__aside {
    padding: 18px 16px;
  }

  .about-editorial__aside h2 {
    font-size: 24px;
  }

  .about-editorial__content {
    padding: 22px 16px;
  }

  .about-editorial__content h2 {
    font-size: 27px;
  }

  .about-editorial__content p {
    font-size: 14px;
    line-height: 1.65;
  }

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

  .about-editorial__content ol li {
    min-height: 0;
    padding: 17px 15px 17px 55px;
  }

  .about-editorial__content ol li::before {
    left: 15px;
    top: 18px;
    font-size: 18px;
  }
}
