:root {
  --partner-bg: var(--bg-base);
  --partner-bg-dark: var(--bg-base);
  --partner-card: var(--bg-card);
  --partner-card-alt: var(--bg-card2);
  --partner-gold: var(--yellow);
  --partner-text-soft: var(--muted);
  --partner-text-muted: var(--muted);
  --partner-border: rgba(255, 214, 0, 0.3);
}

.section,
.operation {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
  background: var(--bg-base);
}

.operation {
  padding-block: 140px;
  text-align: center;
}

.header,
.operation-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  font-size: 13px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.operation-header {
  margin-bottom: 60px;
  font-size: 12px;
}

.title,
.operation-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
}

.title {
  margin-bottom: 60px;
  font-size: 64px;
}

.operation-title {
  max-width: 900px;
  margin: auto;
  font-size: 72px;
}

.title span,
.operation-title span,
.gold {
  color: var(--partner-gold);
}

.section .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  min-width: 0;
}

.section .cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.section .card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--partner-card), var(--partner-card-alt));
  cursor: default;
  transition: transform 0.3s, border-color 0.3s;
}

.section .card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 214, 0, 0.4);
}

.section .icon {
  display: flex;
  min-width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--partner-gold);
  border-radius: 50%;
  color: var(--partner-gold);
  font-size: 30px;
}

.section .card h3 {
  margin-bottom: 8px;
  color: var(--partner-gold);
  font-size: 28px;
}

.section .card p,
.benefits li,
.step p {
  color: var(--partner-text-soft);
  line-height: 1.6;
}

.benefits h2 {
  margin-bottom: 25px;
  font-family: var(--font-display);
  font-size: 40px;
}

.benefits ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  list-style: none;
}

.benefits li {
  position: relative;
  padding-left: 20px;
}

.benefits li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--partner-gold);
  font-size: 22px;
}

.benefits strong {
  color: var(--partner-gold);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-top: 120px;
  min-width: 0;
}

.timeline-line {
  position: absolute;
  inset: -25px 0 auto;
  z-index: -1;
  height: 26px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--bg-base), #0d1655, #1a2f9e);
}

.step {
  text-align: left;
}

.step small {
  color: var(--partner-gold);
  font-weight: 700;
  letter-spacing: 1px;
}

.dot {
  width: 14px;
  height: 14px;
  margin-bottom: 25px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: var(--partner-bg);
}

.step h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.steps {
  padding: 80px 20px;
  background: var(--partner-bg-dark);
}

.steps .container {
  max-width: 1200px;
  margin: auto;
}

.steps-header {
  margin-bottom: 50px;
}

.steps-header .tag {
  display: block;
  margin-bottom: 10px;
  color: var(--partner-text-muted);
  font-size: 12px;
  letter-spacing: 1px;
}

.steps-header h2 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
}

.steps-header h2 span,
.step-number {
  color: var(--partner-gold);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-width: 0;
}

.step-card {
  padding: 24px;
  border: 1px solid var(--partner-border);
  border-radius: 16px;
  transition: transform 0.3s, border-color 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--partner-gold);
}

.step-number {
  display: block;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 700;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.step-card p {
  color: var(--partner-text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.partner-contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
  padding: 90px 20px;
  background: var(--bg-base);
  overflow: hidden;
}
.partner-contact-copy,
.partner-form {
  max-width: 1200px;
}
.partner-contact-copy {
  justify-self: end;
  max-width: 440px;
}
.partner-contact-copy h2 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
}
.partner-contact-copy h2 span {
  color: var(--yellow);
}
.partner-contact-copy p {
  margin-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}
.partner-form {
  width: min(720px, 100%);
  min-width: 0;
  padding: 2rem;
  border: 1px solid var(--border-md);
  border-radius: 18px;
  background: var(--bg-form);
}

body footer {
  background: var(--bg-card);
}

footer .logo-footer {
  align-items: flex-start;
}

footer .logo-footer .logo-img-footer {
  width: 86px;
  max-width: 86px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .partner-contact {
    grid-template-columns: 1fr;
  }

  .partner-contact-copy {
    justify-self: start;
    max-width: 720px;
  }

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

  .steps-header h2 {
    font-size: 36px;
  }
}

@media (max-width: 1000px) {
  .operation-title {
    font-size: 42px;
  }

  .timeline {
    grid-template-columns: 1fr;
    margin-top: 60px;
  }

  .timeline-line {
    display: none;
  }
}

@media (max-width: 900px) {
  .title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .section .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 667px) {
  .section,
  .operation,
  .steps,
  .partner-contact {
    padding: 2.5rem 1.5rem;
  }

  .title,
  .operation-title {
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }

  .header,
  .operation-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 520px) {
  .section,
  .operation,
  .steps,
  .partner-contact {
    padding: 2rem 1.2rem;
  }

  .partner-form {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
  }

  .partner-contact-copy,
  .partner-form {
    max-width: 100%;
  }

  .title,
  .operation-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  }

  .section .card {
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 12px;
  }

  .section .card h3 {
    font-size: 1.1rem;
  }

  .section .card p {
    font-size: 0.85rem;
  }

  .section .icon {
    min-width: 54px;
    width: 54px;
    height: 54px;
    font-size: 1.8rem;
  }

  footer .logo-footer .logo-img-footer {
    width: 68px;
    max-width: 68px;
  }
}
