/* Страница «История компании» — вёрстка по макету Figma */

:root {
  --about-blue: #326ea3;
  --about-black: #282828;
  --about-blue-dark: #1a3d5c;
  --about-blue-light: #e8f2fa;
  --about-gray-bg: #f3f6f9;
  --about-panel-bg: #eef3f8;
  --about-radius-xl: 24px;
}

body.page-template-page-templatesabout-php .site-main,
body.page-template-about .site-main {
  overflow-x: hidden;
  font-family: var(--font);
}

/* Унифицированные межблочные заголовки */
.about-section-title {
  margin: 0 auto 20px;
  max-width: 900px;
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--about-blue);
  text-align: center;
}

.about-section-title--left {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: left;
}

.about-section-lead {
  margin: 0 auto;
  font-family: var(--font);
  font-size: clamp(16px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--about-black);
  text-align: center;
}

/* ——— Hero ——— */
.about-hero {
  padding: 32px 0 48px;
  background: #fff;
}

.about-hero__banner {
  position: relative;
  display: flex;
  align-items: center;
  aspect-ratio: 1440 / 360;
  min-height: 240px;
  max-height: 360px;
  border-radius: 4px;
  background-color: #fff;
  overflow: hidden;
}

.about-hero__media {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(65vw, 920px);
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%);
  mask-image: linear-gradient(to right, transparent 0%, #000 32%);
}

.about-hero__content {
  position: absolute;
  z-index: 1;
  top: 0;
  max-width: min(52%, 560px);
  padding: 10px 0 0 20px;
}

.about-hero__title {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  width: 560px;
}

.about-hero__title-line {
  font-family: Inter;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  text-transform: uppercase;
  margin-bottom: 7px;
    display: block;
}
  

.about-hero__title-line--dark {
font-family: Inter;
font-weight: 700;
font-style: Bold;
font-size: 48px;
line-height: 55px;
letter-spacing: 0%;
color: rgba(50, 110, 163, 1);
;

}

.about-hero__text {
  margin: 0;
  max-width: 530px;
  font-size: 16px;
  line-height: 1.5;
  color: #4a6278;
}

/* ——— Intro / Video ——— */
.about-intro {
  padding: 0 0 64px;
  background: #fff;
}

.about-intro__inner {
  margin-inline: auto;
}

.about-intro__mission {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.25;
}

.about-intro__mission-accent,
.about-intro__mission-text {
  display: inline;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
}

.about-intro__mission-line {
  display: inline;
  white-space: nowrap;
}

.about-intro__mission-accent {
  color: var(--about-blue);
}

.about-intro__mission-text {
  color: var(--about-black);
}

/* ——— Benefits ——— */
.about-benefits {
  padding: 56px 0 64px;
  background: #fff;
}

.about-benefits__head {
  margin: 0 auto 36px;
  text-align: center;
}

.about-benefits__panel {
  background: var(--about-panel-bg);
  border-radius: var(--about-radius-xl);
  padding: 40px 32px;
}

.about-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-benefit {
  text-align: center;
}

.about-benefit__icon {
  display: block;
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.about-benefit__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: var(--about-black);
}

.about-benefit__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--about-black);
}

/* ——— HL7 ——— */
.about-hl7 {
  padding: 0 0 64px;
  background: #fff;
}

.about-hl7__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--about-radius-xl);
  overflow: hidden;
}

.about-hl7__card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 140px;
  padding: 28px 32px;
}

.about-hl7__card--partner {
  background: #eef3f8;
  border-radius: 15px;
}

.about-hl7__card--brand {
  border-radius: 0 var(--about-radius-xl) var(--about-radius-xl) 0;
}

.about-hl7__icon {
  flex-shrink: 0;
  width: auto;
  height: 96px;
  object-fit: contain;
}

.about-hl7__logo {
  flex-shrink: 0;
  width: 140px;
  height: auto;
  object-fit: contain;
}

.about-hl7__body {
  min-width: 0;
}

.about-hl7__title {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--about-black);
}

.about-hl7__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--about-black);
}

.about-hl7__title--brand {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--about-black);
}
}

.about-hl7__text--brand {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--about-black);
}

/* ——— Founded 2005 ——— */
.about-founded {
  padding: 64px 0;
  background: #fff;
}

.about-founded__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-founded__year {
  margin: 0 0 24px;
  font-size: clamp(96px, 14vw, 200px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0;
  color: rgba(50, 110, 163, 0.43);
}

.about-founded__desc {
  margin: 0;
  max-width: 673px;
  font-size: 36px;
  font-weight: 600;
  line-height: 50px;
  color: #282828;
}

.about-founded__desc-bottom {
  margin: 0;
  max-width: 673px;
  font-size: 18px;
  font-weight: 400;
  color: var(--about-black);
  padding-top: 40px;
}

.about-founded__media img {
  width: 100%;
  height: auto;
  border-radius: var(--about-radius-xl);
  object-fit: cover;
  image-rendering: auto;
}

/* ——— Timeline ——— */
.about-timeline {
  padding: 64px 0 72px;
  background: var(--about-gray-bg);
}

.about-timeline .about-section-title--left {
  margin-bottom: 40px;
  text-align: center;
}

.about-timeline__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-timeline__item {
  display: grid;
  grid-template-columns: minmax(240px, 280px) 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--about-radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(26, 61, 92, 0.06);
}

.about-timeline__year-col {
  padding: 28px 24px;
  background: #f8fafc;
  border-right: 1px solid #eef2f7;
  min-width: 0;
}

.about-timeline__year {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--about-blue);
  overflow-wrap: break-word;
  hyphens: auto;
}

.about-timeline__item--long-year .about-timeline__year {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2;
}

.about-timeline__label {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--about-black);
  opacity: 0.75;
}

.about-timeline__content {
  padding: 28px 32px;
}

.about-timeline__content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-timeline__content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--about-black);
  opacity: 0.85;
}

.about-timeline__content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--about-blue);
}

.about-timeline__content li:last-child {
  margin-bottom: 0;
}

/* ——— Consultation ——— */
.about-consultation {
  padding: 72px 0 88px;
  background: var(--about-gray-bg);
}

.about-consultation .about-section-title {
  margin-bottom: 48px;
  max-width: 820px;
}

.about-consultation__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.about-consultation__form-box {
  background: var(--about-blue);
  border-radius: var(--about-radius-xl);
  padding: 40px;
  color: #fff;
}

.about-consultation__form-lead {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  max-width: 380px;
}

.about-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-form__field input,
.about-form__field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font: inherit;
}

.about-form__field input::placeholder,
.about-form__field textarea::placeholder {
  color: #94a3b8;
}

.about-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.about-form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}

.about-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.about-form__consent input {
  margin-top: 3px;
  flex-shrink: 0;
}

.about-form__consent a {
  color: #fff;
  text-decoration: underline;
}

.about-consultation .btn--submit {
  padding: 14px 28px;
  background: #0095da;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.about-consultation .btn--submit:hover {
  background: #0080bd;
}

.about-consultation__info-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(92, 158, 217, 1);
  border-radius: var(--about-radius-xl);
  padding: 48px 40px;
  color: #fff;
  overflow: hidden;
}

.about-consultation__info-box::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 290px;
  height: 290px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230072bc'%3E%3Cpath d='M12 15.5A3.5 3.5 0 0 1 8.5 12 3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5 3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97 0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.4-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1 0 .33.03.65.07.97l-2.11 1.66c-.19.15-.25.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1.01c.52.4 1.06.74 1.69.99l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.26 1.17-.59 1.69-.99l2.49 1.01c.22.08.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0.35;
  pointer-events: none;
  content: "";
}

.about-consultation__info-title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
}

.about-consultation__info-text {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.55;
  max-width: 320px;
}

.about-consultation__info-box .btn--white {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  min-width: 200px;
}

.about-consultation .form-notice {
  max-width: 720px;
  margin: 0 auto 24px;
}

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .about-hero__content {
    max-width: 58%;
    padding: 32px 28px;
  }

  .about-founded__grid,
  .about-consultation__grid,
  .about-hl7__grid {
    grid-template-columns: 1fr;
  }

  .about-hl7__card--partner {
    border-radius: var(--about-radius-xl) var(--about-radius-xl) 0 0;
  }

  .about-hl7__card--brand {
    border-radius: 0 0 var(--about-radius-xl) var(--about-radius-xl);
  }

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

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

  .about-timeline__year-col {
    border-right: 0;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .about-intro__mission {
    font-size: clamp(20px, 5vw, 32px);
    line-height: 1.22;
  }

  .about-intro__mission-line {
    white-space: normal;
  }

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

  .about-benefits__panel {
    padding: 28px 20px;
  }

  .about-hl7__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .about-hl7__icon {
    height: 72px;
  }

  .about-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .about-consultation .btn--submit {
    width: 100%;
  }

  .about-consultation__form-box,
  .about-consultation__info-box {
    padding: 28px 24px;
  }
}
