/* MAIN PAGE */
:root {
    --bs-body-font-family: 'Onest', sans-serif;
    --my-text-gray: rgb(59, 59, 59);
    --my-text-black: rgb(0, 0, 0);
    --my-text-blue: rgba(0, 64, 118, 1);
    --my-gray-light: rgb(124, 124, 124);
    --my-gray-84: rgb(84, 84, 84);
    --my-gray-60:rgb(60, 60, 60);
    --bg-footer: rgb(17, 87, 181);
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}
.text-my-gray {
    color: var(--my-gray-60);
}
@font-face {
    font-family: Roboto;
    src: url("/local/templates/mpei_endowment/fonts/Roboto-Regular.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Roboto-Slab;
    src: url("/local/templates/mpei_endowment/fonts/Roboto-Slab.ttf");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: Inter;
    src: url("/local/templates/mpei_endowment/fonts/Inter-VariableFont_opsz,wght.ttf");
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 18px;
    overflow-x: hidden;
}
body {
    font-family: 'Inter';
    overflow-x: hidden;
}
html, body {
    height: 100%;
    margin: 0;
}
footer {
    background: rgba(30, 30, 30, 1);
    padding: 70px 120px;
    min-height: 542px;
    margin-top: 122px;
}
font.tablebodytext {
	display:none;
}
.footer__logo-wrapper {
    width: 204px;
}
div.footer__logo-wrapper > div.footer__logo {
    display: block;
    width: 100%;
}
.requisites {
    margin-top: 30px;
    line-height: 23px;
}
div.requisites > div.footer__sub-logo {
    width: 216px;
}
.requisites-detail {
    gap:70px;
    margin-left: 226px;
}
div.requisites-detail  > div > div > div.requisites-item-detail {
    margin-top: 8px;
}
.footer__copi {
    margin-top: 37px;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main {
    flex: 1;
}
.ms-15 {
    margin-left: 15px;
}
.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-75 {
    margin-bottom: 75px;
}
.mt-75 {
    margin-top: 75px;
}
.mt-60 {
    margin-top: 60px;
}
.mt-55 {
    margin-top: 55px;
}
.mt-50 {
    margin-top: 50px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-25 {
    margin-top: 25px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-15 {
    margin-top: 15px;
}
.mt-10 {
    margin-top: 10px;
}
.mt-5px {
    margin-top: 5px;
}
.fs-25 {
    font-size: 25px;
}
.fs-20 {
    font-size: 20px;
}
.fs-18 {
    font-size: 18px;
}
.fs-30 {
    font-size: 30px;
}
.pt-24 {
    padding-top: 24px;
}
.gap-10 {
	gap:10px;
}
.gap-15 {
	gap:15px;
}
.gap-20 {
    gap:20px;
}
.gap-35 {
    gap:35px;
}
.gap-63 {
    gap: 63px;
}
.fit-cont {
    width: fit-content;
}
.blue {
    color: var(--my-text-blue);
}
a {
    text-decoration: unset;
}
a.nav-link {
    color: var(--my-text-black);
}
a.nav-link:hover {
    color: var(--my-text-blue) !important;
}
.headerWrapp {
    border-bottom: 1px solid rgba(227, 227, 227, 1);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.header-container {
    margin-top: 15px;
}
div.logo-container > div.logo-text {
    margin-left: 15px;
    line-height: 23px;
}
div.logo-container > div.logo-text > p:nth-child(1) {
    margin-top: 41px;
}
.btn-deposit {
    width: 234px;
    height: 49px;
    font-size: 18px;
    margin-top: 4px;
    padding: 14px 29px;
}
.btn-deposit-footer {
    width: 170px;
    height: 34px;
    font-size: 18px;
    padding: 5px 12px 5px 12px;
}
.btn-deposit-main {
    width: 275px;
    height: 50px;
}
.btn-red-main {
    background-color: rgba(193, 8, 49, 1);
    border: none;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
 }
.btn-red-main:disabled {
    background-color: rgba(229, 229, 229, 1);
    color: rgba(145, 144, 144, 1);
    cursor: not-allowed;
    opacity: 1;
}
.btn-red-main:hover, .btn-red-main:active {
    background-color: rgba(160, 6, 40, 1) !important;
    transform: translateY(-2px);
}

.btn-blue-main {
    background-color: rgba(18, 115, 212, 1);
    border: none;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
 }
.btn-blue-main:disabled {
    background-color: rgba(229, 229, 229, 1);
    color: rgba(145, 144, 144, 1);
    cursor: not-allowed;
    opacity: 1;
}
.btn-blue-main:hover, .btn-blue-main:active {
    background-color: rgba(10, 150, 240, 1) !important;
    transform: translateY(-2px);
}

.btn-red-donate {
    height: 57px;
    border-radius: 5px;
}
.footer-btns {
    margin-left: 226px;
    gap:12px;
}
.footer-btn {
  min-width: 109px;
  height: 34px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 5px 12px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 34px;
  background: rgba(30, 30, 33, 1);
  transition: background 0.3s ease;
}
.footer-btn:hover {
  background: rgba(5, 80, 144, 1);
  text-decoration: none;
}
.footer-last-row {
    margin-top: 112px;
    line-height: 23px;
}
.main-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 2.414;
    overflow: hidden;
    border-radius: 40px;
    display: flex;
}
.main-img-wrap img {
    width: 100%;
    object-fit: cover;
    object-position: top;
}
.main-img-text {
    position: absolute;
    top:30%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
}
.main-img-text h1 {
    font-size: clamp(20px, 3.65vw, 50px);
    line-height: clamp(16px, 2.9vw, 56px);
}
.main-img-text p {
    margin-top: 23px;
    margin-bottom: 0px;
    font-size: clamp(12px, 1.35vw, 26px);
    line-height: clamp(14px, 2.08vw, 40px);
}
.about-text {
    font-size: clamp(16px, 1.302vw, 18px);
    line-height: 1.167;
}
.fond-heading {
    font-size: clamp(19px, 1.5625vw, 25px);
    line-height: 1.16;
}


.heading-lined {
    position: relative;
    margin-bottom: 15px !important; 
    display: inline-block; 

}


.heading-lined::after {
    content: "";
    display: block;
    width: 20%;         
    height: 3px;        
    background-color: #C10831; 
    margin: 12px auto 0; 
    border-radius: 5px;
}

.progress-container {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 1;
}
.circular-progress {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}
.progress-ring {
    fill: none;
    stroke-width: 16;
}
.progress-ring-bg {
    stroke: #e0e0e0;
}
.progress-ring-fill {
    stroke: rgba(16, 101, 186, 1);
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
}
.progress-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 55%;
    max-width: 180px;
}
.progress-label {
    color: #6c757d;
    font-size: clamp(0.65rem, 2.2vw, 18px);
    margin-bottom: clamp(4px, 1vw, 6px);
}
.progress-numbers {
    font-size: clamp(1.1rem, 4vw, 23px);
    font-weight: 700;
    color: #212529;
    margin-bottom: clamp(6px, 1.5vw, 10px);
    line-height: 1.2;
}
.progress-remaining {
    color: #6c757d;
    font-size: clamp(0.65rem, 2.2vw, 18px);
    margin-bottom: clamp(2px, 0.5vw, 4px);
}
.progress-remaining-value {
    font-size: clamp(0.9rem, 3.2vw, 18px);
    color: #495057;
    font-weight: 600;
}
.rector-img-wrap {
    width: 317px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
}
.rector-img-wrap img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    transform: scale(1.05);
}
.rector-heading {
    font-size: clamp(16px, 1.302vw, 20px);
    line-height: 1.15;
}
.rector-desc {
    color: rgb(144, 144, 144);
    font-size: clamp(14px, 1.042vw, 18px);
    line-height: 1.15;
}

.rector-full-bg {
    position: relative;
    /* Заменяем внешние отступы на внутренние, чтобы фон закрашивал их */
    padding-top: 60px; 
    padding-bottom: 60px;
}

/* Псевдоэлемент, который создает фон на всю ширину */
.rector-full-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw; /* Ширина во весь экран */
    height: 100%;
    z-index: -1; /* Убираем фон под текст */
    
    /* --- ВАРИАНТ 1: СИНИЙ ФОН --- */
    /*background-color: #0d47a1; */

    /* --- ВАРИАНТ 2: ИЗображение (раскомментируйте строку ниже и удалите background-color выше) --- */
     background: linear-gradient(rgba(16, 101, 186, 0.8), rgba(16, 101, 186, 0.3)), url('/local/templates/mpei_endowment/img/Back2_mpei.png') no-repeat center center/cover;
}

/* Делаем текст белым внутри этого блока */
.rector-full-bg h3,
.rector-full-bg p,
.rector-full-bg div,
.rector-full-bg .rector-heading,
.rector-full-bg .rector-desc,
.rector-full-bg .about-text {
    color: #ffffff !important;
}

/* Небольшая коррекция для фото, чтобы лучше смотрелось на темном */
.rector-full-bg .rector-img-wrap img {
    border: 2px solid rgba(255,255,255,0.3);
}


@media (max-width: 768px) {
    .rector-full-bg::before {
        background: rgba(16, 101, 186, 0.8) !important;
    }
}

.timeline-section {
    max-width: 900px;
}
.section-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: #212529;
}
.timeline-item {
    display: flex;
    gap: 30px;
    position: relative;
}
.timeline-item:not(:last-child) {
    margin-bottom: 15px;
}
.timeline-icon-wrapper {
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.timeline-icon {
    width: 141px;
    height: 141px;
    background-color: #d9d9d9;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    border: unset;
}
.timeline-arrow {
    position: absolute;
    top: 141px;
    left: 50%;
    transform: translate(-50%, 10%);
    width: 26px;
    height: 62px;
}
.timeline-content {
    flex-grow: 1;
    padding-top: 10px;
}
.timeline-title {
    font-size: clamp(1rem, 2.5vw, 20px);
    font-weight: 700;
    margin-bottom: 15px;
    color: #212529;
}
.timeline-text {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: #495057;
    line-height: 1.6;
}
.img-card-wrap {
    width: 404px;
    aspect-ratio: 1.6;
    overflow: hidden;
    border-radius: 40px;
    display: flex;
    background: rgba(196, 196, 196, 1);
}
.card-desc-heading {
    font-size: clamp(16px, 1.302vw, 20px);
    line-height: 1.16;
}
.timeline-icon img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    transform: scale(1.01);
}
/* COMAND PAGE */
.comand .fond-heading {
    font-size: clamp(18px, 1.725vw, 25px);
}
.comand .fs-25, .docs .fs-25, .contacts .fs-25 {
    font-size: clamp(16px, 1.302vw, 25px);
    line-height: 1.16;
}
.comand .rector-img-wrap {
    width: 100%;
}
.comand .person-card {
    max-width: clamp(280px, 19.74vw, 284px);
}
.comand .gap-80-ad {
    gap: clamp(30px, 3.865vw, 80px);
}
.how-it-works-cards-row {
	flex-wrap: wrap;
}
.how-it-works-card .img-card-wrap img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    transform: scale(1.01);
}
/* DOCS PAGE */
.docs .fs-20, .contacts .fs-20 {
    font-size: clamp(14px, 1.042vw, 20px);
    line-height: 1.22; 
}
.docs .docs-wrap {
    margin-left: 8px;
}
/* DONATE PAGE */
.donate-wrap {
    max-width: 492px;
    margin: 0 auto;
}
.donate-form-input {
    border-radius: 5px;
    background: rgba(240, 245, 249, 1);
    height: 53px;
}
.donate .form-check-input {
    border: 2px solid rgba(207, 219, 232, 1);
    border-radius: 3px;
}
/* PROJECTS PAGE */
.project-card-left-col {
    width: 47%;
    background: rgba(247, 250, 252, 1);
    padding-left: 0px;
    margin-left: calc(var(--bs-gutter-x) * .5);
    padding-right: 0px;
    max-width: 624px;
}
.project-card-left-col-img-wrap {
    height: 327px;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.project-card-left-col-img-wrap img {
    object-fit: cover;
    object-position: top;
    width: 100%;
    transform: scale(1.01);
}
.project-card-right-col {
    width: 53%;
    background: rgba(247, 250, 252, 1);
    padding: 25px 26px 25px 37px;
    max-width: 705px;
    flex: unset;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.btn-project-show-more, .btn-project-show-more:hover, .btn-project-show-more:hover:active {
    background: rgba(18, 115, 212, 1);
    width: 244px;
    height: 55px;
    border-radius: 10px;
}
.project-card-right-col-text-wrap h4 {
    line-height: 1.15;
}
.project-card-right-col-text-wrap p {
    line-height: 1.167;
}
.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 14px;
    color: #333;
}
.collected {
    font-weight: 500;
}
.needed {
    font-weight: 500;
}
.progress-bar-wrapper {
    position: relative;
    width: 100%;
    height: 13px;
    margin-bottom: 16px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}
svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 13px;
}
.progress-line {
    fill: none;
    stroke: rgba(18, 115, 212, 1);
    stroke-width: 13;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
}
.progress-amounts {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.project-card-detail {
	min-height: 529px;
    border-radius: 10px;
    overflow: hidden;
}
.project-card-left-col-detail {
	margin-left: 0;
    max-width: 644px;
    padding-left: 30px;
    padding-top: 30px;
}
.project-card-right-col-detail {
    padding: 0;
    align-items: flex-end;
}
.project-card-left-col-img-wrap-detail {
	height: 100%;
	border-radius: 10px;
    max-width: 624px;
}
.animate-slide-left {
    opacity: 0.5;
    transform: translateX(-200px); 
    animation: slideLeft 1s ease-out forwards;
}
.bx-auth {
	margin: 0 auto;
}
.bx-auth-serv-icons {
	display: none;
}
@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* ═══════════════════════════════════════════
   EW-HERO BLOCK
═══════════════════════════════════════════ */

.ew-hero {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  /* Убираем border-radius и border, растягиваем на всю ширину */
  border-radius: 0;
  border: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.ew-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(10,31,92,0.018) 60px, rgba(10,31,92,0.018) 61px),
    radial-gradient(ellipse at 80% 65%, rgba(193,8,49,0.055) 0%, transparent 55%),
    radial-gradient(ellipse at 5% 15%, rgba(0,64,118,0.05) 0%, transparent 45%);
}

.ew-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ew-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: ewFloatUp linear infinite;
}
@keyframes ewFloatUp {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  10%  { opacity: 1; }
  90%  { opacity: .15; }
  100% { opacity: 0; transform: translateY(-100vh) scale(1); }
}

.ew-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.ew-hero-left {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.ew-hero-left.ew-visible {
  opacity: 1;
  transform: none;
}

@keyframes ewPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.6); }
}

.ew-hero-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(36px, 4.2vw, 62px);
  font-weight: 900;
  color: var(--my-text-blue);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.ew-em {
  font-style: normal;
  color: rgba(193,8,49,1);
}

.ew-hero-sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--my-gray-60);
  line-height: 1.65;
  max-width: 500px;
  margin-bottom: 36px;
}

.ew-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.ew-btn-outline {
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 28px;
  border: 2px solid var(--my-text-blue);
  color: var(--my-text-blue);
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: background .3s, color .3s;
  white-space: nowrap;
}
.ew-btn-outline:hover {
  background: var(--my-text-blue);
  color: #fff;
  text-decoration: none;
}

.ew-hero-card {
  background: var(--my-text-blue);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 20px 64px rgba(0,64,118,0.22);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.ew-hero-card.ew-visible {
  opacity: 1;
  transform: none;
}

.ew-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(200,168,75,1);
  margin-bottom: 18px;
}
.ew-card-counter {
  font-size: 46px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}
.ew-card-suffix {
  font-size: 16px;
  color: rgba(255,255,255,.45);
  margin-bottom: 18px;
}

.ew-progress-track {
  height: 6px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 10px;
}
.ew-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(200,168,75,1) 0%, rgba(232,201,106,1) 100%);
  border-radius: 3px;
  transition: width 2s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.ew-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  animation: ewShimmer 2.5s 2s infinite;
}
@keyframes ewShimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(200%); }
}

.ew-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-bottom: 24px;
}
.ew-card-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin-bottom: 18px;
}
.ew-card-remain-lbl {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 4px;
}
.ew-card-remain {
  font-size: 24px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  margin-bottom: 22px;
}
.ew-card-btn {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: rgba(193,8,49,1);
  color: #fff !important;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
.ew-card-btn:hover {
  background: rgba(160,6,40,1);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .ew-hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 40px;
  }
}
@media (max-width: 576px) {
  .ew-hero-inner { padding: 36px 24px; }
  .ew-hero-title  { font-size: 34px; }
  .ew-hero-btns   { flex-direction: column; align-items: flex-start; }
  .ew-btn-outline { width: 275px; justify-content: center; }
}

/* ═══════════════════════════════════════════
   EW-MISSION BLOCK
═══════════════════════════════════════════ */

.ew-ms {
  text-align: center;
  padding: 72px 48px;
  border-top: 1px solid rgba(0,64,118,0.12);
  border-bottom: 1px solid rgba(0,64,118,0.12);
}
.ew-ms-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(193,8,49,1);
  margin-bottom: 28px;
}
.ew-ms-statement {
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 800;
  color: var(--my-text-blue);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 780px;
  margin: 0 auto 32px;
}
.ew-ms-em {
  font-style: normal;
  color: rgba(193,8,49,1);
}
.ew-ms-rule {
  width: 48px;
  height: 3px;
  background: rgba(193,8,49,1);
  margin: 0 auto 28px;
  border-radius: 2px;
}
.ew-ms-sub {
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--my-gray-60);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 400;
}
@media (max-width: 576px) {
  .ew-ms { padding: 48px 24px; }
}

/* ═══════════════════════════════════════════
   EW-P100
═══════════════════════════════════════════ */

.ew-p100 {
  position: relative;
  background: #f7f8fc;
  border-radius: 40px;
  padding: 72px 64px;
  overflow: hidden;
}
.ew-p100-wm {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(180px, 22vw, 300px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(0,64,118,0.055);
  pointer-events: none;
  user-select: none;
}
.ew-p100-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: center;
}
.ew-p100-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(193,8,49,1);
  margin-bottom: 18px;
}
.ew-p100-title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 900;
  color: var(--my-text-blue);
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.ew-p100-accent {
  font-style: normal;
  font-family: 'Raleway', sans-serif;
  color: rgba(193,8,49,1);
}
.ew-p100-body {
  font-size: clamp(15px, 1.1vw, 16px);
  color: var(--my-gray-60);
  line-height: 1.65;
  margin-bottom: 14px;
}
.ew-p100-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.ew-p100-card {
  background: var(--my-text-blue);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,64,118,0.22);
}
.ew-p100-c-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}
.ew-p100-c-amount {
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-bottom: 24px;
}
.ew-p100-track {
  height: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.ew-p100-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(193,8,49,1) 0%, rgba(220,60,60,1) 100%);
  border-radius: 4px;
  transition: width 2s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.ew-p100-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  animation: ewP100Shimmer 2.5s 2.2s infinite;
}
@keyframes ewP100Shimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(200%); }
}
.ew-p100-track-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.38);
  margin-bottom: 24px;
}
.ew-p100-pct {
  background: rgba(193,8,49,0.35);
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
}
.ew-p100-c-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 20px;
}
.ew-p100-remain-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.ew-p100-rlbl {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  margin-bottom: 4px;
}
.ew-p100-rval {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
}
.ew-p100-year {
  font-size: 40px;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}

@media (max-width: 900px) {
  .ew-p100 { padding: 48px 28px; border-radius: 24px; }
  .ew-p100-grid { grid-template-columns: 1fr; gap: 40px; }
  .ew-p100-wm { display: none; }
}
@media (max-width: 576px) {
  .ew-p100-btns { flex-direction: column; }
  .ew-p100-btns .btn { width: 100%; }
}

/* ═══════════════════════════════════════════
   EW-REC — Блок Ректора
═══════════════════════════════════════════ */

.ew-rec {
  background: linear-gradient(135deg, #05122e 0%, rgba(0,64,118,1) 100%);
  border-radius: 40px;
  padding: 56px 64px 64px;
  position: relative;
  overflow: hidden;
}

/* Большой заголовок */
.ew-rec-heading {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: 40px;
  user-select: none;
}
.ew-rec-heading-sub {
  display: block;
  font-size: clamp(13px, 1.5vw, 20px);
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 6px;
}

.ew-rec-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}

.ew-rec-photo-col {
  display: flex;
  justify-content: center;
}

/* Фото — увеличенный круг */
.ew-rec-frame {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(193,8,49,0.5);
  flex-shrink: 0;
}
.ew-rec-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.ew-rec-text-col {
  display: flex;
  flex-direction: column;
}

.ew-rec-author {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ew-rec-author-name {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}
.ew-rec-author-role {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.ew-rec-qmark {
  font-size: 56px;
  line-height: 1;
  color: rgba(193,8,49,0.7);
  font-family: 'Georgia', serif;
  font-weight: 900;
  margin-bottom: 12px;
  display: block;
}

.ew-rec-quote {
  border: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: clamp(14px, 1.1vw, 16px);
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  font-style: italic;
}
.ew-rec-quote p { margin-bottom: 14px; }
.ew-rec-quote p:last-child { margin-bottom: 0; }

.ew-rec-sig {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 800;
  color: rgba(193,8,49,0.9);
  font-style: normal;
  margin-top: 20px;
}
.ew-rec-sig::before {
  content: '';
  width: 32px;
  height: 2px;
  background: rgba(193,8,49,0.65);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .ew-rec { padding: 40px 28px; border-radius: 24px; }
  .ew-rec-grid { grid-template-columns: 1fr; gap: 32px; }
  .ew-rec-photo-col { justify-content: flex-start; }
  .ew-rec-frame { width: 200px; height: 200px; }
}

/* ═══════════════════════════════════════════
   EW-HOW — Как это работает
═══════════════════════════════════════════ */

.ew-how {
  background: #f7f8fc;
  border-radius: 40px;
  padding: 56px 48px 64px;
}
.ew-how-head { margin-bottom: 48px; font-family: 'Raleway', sans-serif;   color: var(--my-text-blue);   font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 900}
.ew-how-lead {
  font-size: 15px;
  color: var(--my-gray-60);
  margin-top: 8px;
  margin-bottom: 0;
}

.ew-how-steps {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.ew-how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.ew-how-step.ew-how-step--in {
  opacity: 1;
  transform: none;
}

.ew-how-icon-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 20px;
}
.ew-how-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,64,118,0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.ew-how-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--my-text-blue);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}
.ew-how-step:hover .ew-how-icon::before { opacity: 1; }
.ew-how-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
  transition: filter 0.4s ease;
}
.ew-how-step:hover .ew-how-icon {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 20px 44px rgba(0,64,118,0.15);
}

.ew-how-title {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--my-text-blue);
  line-height: 1.3;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0 8px;
  transition: color 0.25s;
}
.ew-how-step:hover .ew-how-title { color: rgba(193,8,49,1); }

.ew-how-desc {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color: var(--my-gray-60);
  line-height: 1.55;
  padding: 0 8px;
}

.ew-how-arrow {
  flex-shrink: 0;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(193,8,49,0.8);
  margin-top: 47px;
  position: relative;
  z-index: 1;
}
.ew-how-arrow svg {
  width: 50px;
  height: 28px;
}

.ew-how-line { display: none; }

@media (max-width: 900px) {
  .ew-how { padding: 40px 24px 48px; border-radius: 24px; }
  .ew-how-steps { flex-wrap: wrap; gap: 32px; justify-content: center; }
  .ew-how-step  { flex: 0 0 calc(50% - 16px); }
  .ew-how-arrow { display: none; }
}
@media (max-width: 480px) {
  .ew-how-step { flex: 0 0 100%; }
}

/* ═══════════════════════════════════════════
   EW-CTA — Финальный блок
═══════════════════════════════════════════ */

.ew-cta {
  position: relative;
  /* Убираем border и border-radius, растягиваем на всю ширину */
  border-radius: 0;
  border: none;
  background: #fff;
  padding: 100px 48px;
  text-align: center;
  overflow: hidden;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.ew-cta-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ew-cta-decor-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,64,118,0.06);
}
.ew-cta-decor-ring--1 {
  width: 560px;
  height: 560px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.ew-cta-decor-ring--2 {
  width: 380px;
  height: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(193,8,49,0.07);
}
.ew-cta-decor-ring--3 {
  width: 740px;
  height: 740px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(193,8,49,0.08);
}
.ew-cta-decor-ring--4 {
  width: 920px;
  height: 920px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-color: rgba(193,8,49,0.1);
}
.ew-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.ew-cta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(193,8,49,1);
  margin-bottom: 20px;
}
.ew-cta-title {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  color: var(--my-text-blue);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.ew-cta-em {
  font-style: normal;
  color: rgba(193,8,49,1);
}
.ew-cta-desc {
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--my-gray-60);
  line-height: 1.7;
  margin-bottom: 40px;
}
.ew-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ew-cta-tg {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border: 2px solid rgba(0,64,118,0.20);
  border-radius: 40px;
  color: var(--my-text-blue);
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
}

.ew-cta-tg:hover {
  background: var(--my-text-blue);
  border-color: var(--my-text-blue);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}
.ew-cta-tg:hover svg { color: #fff; }

.ew-donors {
	width: 100%;
    margin: 0 auto !important;
    border-radius: 40px;
}

@media (max-width: 768px) {
  .ew-cta { padding: 72px 28px; }
  .ew-cta-desc br { display: none; }
  .ew-cta-btns { flex-direction: column; align-items: stretch; }
  .ew-cta-tg { justify-content: center; }
  .ew-cta-decor-ring--1 { width: 360px; height: 360px; }
  .ew-cta-decor-ring--2 { width: 240px; height: 240px; }
  .ew-cta-decor-ring--3 { width: 480px; height: 480px; }
  .ew-cta-decor-ring--4 { display: none; }
  .ew-donors { border-radius: 24px; }
}