.partner-hero {
  padding: 78px 0 64px;
  background:
    radial-gradient(circle at 85% 10%, rgba(40, 96, 232, .16), transparent 28%),
    linear-gradient(180deg, #fbfdff, #f3f7ff);
}

.partner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .8fr);
  align-items: center;
  gap: 70px;
}

.partner-hero h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(45px, 5vw, 68px);
  line-height: 1.03;
  letter-spacing: -.052em;
}

.partner-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.partner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.partner-summary {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
}

.partner-summary > span {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-flow {
  display: grid;
  gap: 13px;
}

.partner-flow div {
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.partner-flow strong {
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--primary);
  color: white;
}

.partner-flow p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}

.partner-flow i {
  color: var(--primary);
  font-size: 21px;
  font-style: normal;
  text-align: center;
}

.partner-benefits,
.partner-data,
.partner-boundaries,
.partner-cta {
  padding: 70px 0;
}

.partner-benefits,
.partner-boundaries {
  background: white;
}

.partner-section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.partner-section-heading h2,
.partner-data h2,
.partner-cta h2 {
  margin-bottom: 0;
  font-size: 34px;
  letter-spacing: -.035em;
}

.partner-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.partner-benefit-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  box-shadow: 0 10px 28px rgba(21, 40, 80, .05);
}

.partner-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 21px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 23px;
  font-weight: 900;
}

.partner-benefit-grid h3 {
  margin-bottom: 10px;
  font-size: 17px;
}

.partner-benefit-grid p,
.partner-data p,
.partner-cta p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.partner-data {
  background: var(--background);
}

.partner-data-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 65px;
}

.partner-data-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px;
}

.partner-data-list span {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  font-size: 13px;
  font-weight: 700;
}

.partner-data-list span::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
}

.boundary-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.boundary-table div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  padding: 18px 21px;
  border-bottom: 1px solid var(--line);
}

.boundary-table div:last-child {
  border-bottom: 0;
}

.boundary-table span {
  color: var(--muted);
}

.partner-cta {
  background: var(--background);
}

.partner-cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 35px;
  border: 1px solid #cfe0ff;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0, rgba(40, 96, 232, .13), transparent 40%),
    white;
  box-shadow: var(--shadow);
}

.partner-cta-box > div:last-child {
  min-width: 230px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 13px;
  background: var(--primary-soft);
}

.partner-cta-box span {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 950px) {
  .partner-hero-grid,
  .partner-data-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 650px) {
  .partner-hero {
    padding-top: 45px;
  }

  .partner-benefit-grid,
  .partner-data-list {
    grid-template-columns: 1fr;
  }

  .boundary-table div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .partner-cta-box {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

/* AUTOSEKLYS MINIMAL INTEGRATION SECTION */

.partner-data-intro {
  max-width: 850px;
  margin-bottom: 30px;
}

.partner-data-intro h2 {
  max-width: 780px;
  margin-bottom: 16px;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -.038em;
}

.partner-data-intro > p {
  max-width: 800px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.minimal-data-highlight {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #bde3ca;
  border-radius: 13px;
  background: var(--green-soft);
}

.minimal-data-highlight > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: white;
  font-weight: 900;
}

.minimal-data-highlight p {
  margin: 0;
  color: #355843;
  font-size: 13px;
  line-height: 1.55;
}

.partner-data-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.partner-data-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 24px rgba(21, 40, 80, .045);
}

.partner-data-item-wide {
  grid-column: 1 / -1;
}

.partner-data-check {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 900;
}

.partner-data-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.partner-data-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.simple-partnership-card {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(400px, 1.15fr);
  align-items: center;
  gap: 45px;
  margin-top: 30px;
  padding: 30px;
  border: 1px solid #cfe0ff;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(40, 96, 232, .12),
      transparent 38%
    ),
    white;
  box-shadow: var(--shadow);
}

.simple-partnership-copy h3 {
  margin-bottom: 15px;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -.03em;
}

.simple-partnership-copy p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.integration-flow {
  display: grid;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8faff;
}

.integration-flow-source,
.integration-flow-center,
.integration-flow-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.integration-flow-source strong,
.integration-flow-center strong,
.integration-flow-result strong {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.integration-flow-source small,
.integration-flow-center small,
.integration-flow-result small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.flow-logo {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f0f2f6;
  color: #333d4d;
  font-size: 13px;
  font-weight: 900;
}

.autoseklys-flow-logo {
  background: var(--primary);
  color: white;
}

.integration-flow-arrow {
  display: grid;
  place-items: center;
  gap: 3px;
  color: var(--muted);
  text-align: center;
}

.integration-flow-arrow span {
  font-size: 10px;
  font-weight: 750;
}

.integration-flow-arrow i {
  color: var(--primary);
  font-size: 18px;
  font-style: normal;
}

.integration-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.integration-services span {
  padding: 7px 9px;
  border: 1px solid #cad8f7;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 9px;
  font-weight: 800;
}

.integration-flow-result {
  justify-content: center;
  text-align: center;
}

@media (max-width: 950px) {
  .simple-partnership-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .partner-data-intro h2 {
    font-size: 30px;
  }

  .partner-data-detail-grid {
    grid-template-columns: 1fr;
  }

  .partner-data-item-wide {
    grid-column: auto;
  }

  .simple-partnership-card {
    gap: 25px;
    padding: 20px;
  }

  .minimal-data-highlight {
    align-items: flex-start;
  }
}


/* AUTOSEKLYS PARTNER CONTACT BUTTONS */

.partner-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 22px;
}

.partner-contact-button {
  min-width: 260px;
  min-height: 62px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 7px 13px 7px 7px;
  border: 1px solid #b9cdfd;
  border-radius: 12px;
  background: rgba(255, 255, 255, .9);
  color: var(--primary);
  text-decoration: none;
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.partner-contact-button:hover {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 12px 28px rgba(40, 96, 232, .13);
  transform: translateY(-2px);
}

.partner-contact-button:focus-visible {
  outline: 3px solid rgba(40, 96, 232, .2);
  outline-offset: 3px;
}

.partner-contact-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-right: 1px solid #d7e1f6;
}

.partner-contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-contact-content {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.partner-contact-content small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.partner-contact-content strong {
  overflow: hidden;
  color: var(--primary);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.partner-contact-arrow {
  font-size: 19px;
  font-weight: 900;
  transition: transform .2s ease;
}

.partner-contact-button:hover .partner-contact-arrow {
  transform: translateX(3px);
}

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

  .partner-contact-button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .partner-contact-button {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    padding-right: 10px;
  }

  .partner-contact-icon {
    width: 40px;
    height: 42px;
  }

  .partner-contact-content strong {
    font-size: 12px;
  }
}
