/* ── SECTION 1 ── */
.s1 {
  background: var(--fin-section-bg);
  width: 100%;
  min-height: 841px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 110px 20px;
}

.s1-container {
  width: 100%;
  max-width: 1240px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

/* headline */
.s1-headline {
  font: var(--text-4xl);
  font-family: var(--font-body);
  line-height: normal;
  letter-spacing: var(--ls-md);
  color: var(--color-heading);
  text-align: center;
  text-transform: capitalize;
  max-width: 600px;
}

.s1-headline .italic-blue {
  font-family: var(--font-display);
/*   font-style: italic; */
  font-weight: 600;
  color: var(--color-link);
  letter-spacing: 0;
}

/* cards row */
.s1-cards {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

/* individual card */
.s1-card {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
  border-radius: var(--card-radius-xl);
  border: 1px solid var(--specialist-card-border);
  overflow: hidden;
  background: var(--specialist-card-surface);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 32px;
	.s1-card {
  clip-path: polygon(
    0 32px,
    0 100%,
    calc(100% - 32px) 100%,
    100% calc(100% - 32px),
    100% 110px,
    97% 92px,
    94% 76px,
    90% 62px,
    84% 50px,
    76% 40px,
    66% 30px,
    54% 22px,
    40% 18px,
    28px 18px,
    18px 28px,
    0 40px
  );
}
}

/* subtle card background texture via gradient */
.s1-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--specialist-card-sheen);
  border-radius: var(--card-radius);
  pointer-events: none;
}

/* arrow button top-right */
.card-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 0 var(--card-radius) 0 25px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 13px;
  z-index: 2;
  cursor: pointer;
  transition: background 0.2s ease;
}

.card-arrow:hover {
  background: var(--specialist-card-surface);
}

.card-arrow svg {
  transform: rotate(-45deg);
}

/* icon wrapper */
.card-icon-wrap {
  position: relative;
  z-index: 1;
  background: #EAF6FC;
  border-radius: 53px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-wrap img {
    width: 32px;
    height: 32px;
}

.card-icon-wrap svg {
  width: 28px;
  height: 28px;
}

/* text block */
.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-title {
  font: var(--text-card-title);
  line-height: normal;
  color: var(--color-heading);
}

.card-desc {
  font: var(--text-lg);
  font-weight: 300;
  line-height: 28px;
  color: var(--color-text-body);
}

/* tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--btn-gap);
}

.tag {
  background: var(--white);
  border: 1px solid var(--specialist-tag-border);
  border-radius: 36px;
  padding: 2px 12px;
  font: var(--text-sm);
  line-height: 28px;
  color: var(--color-text-body);
  white-space: nowrap;
}

/* CTA: global .btn + section hook */
.s1-cta-wrap {
  display: flex;
  justify-content: center;
}

.s1-cta {
  text-transform: capitalize;
  white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .s1 {
    padding: 80px 32px 60px;
  }
	
	.s1-headline{
		text-align: left;
	}

  .s1-cards {
    flex-wrap: wrap;
  }

  .s1-card {
    flex: 1 1 calc(50% - 10px);
    min-width: 280px;
  }
	
	.s1-container {
    align-items: flex-start;
  }

  .s1-cta-wrap {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .s1 {
    padding: 40px 16px;
    min-height: unset;
  }
	
	.s1-headline{
		text-align: left;
	}

  .s1-cards {
    flex-direction: column;
  }

  .s1-card {
	  background: #FFFFFF;
    width: 100%;
	  gap: 24px;
  }
}

