/* Customer Support Block */

.customer-support {
  position: relative;
  width: 100%;
  background-color: #1b4759;
  overflow: hidden;
}

/* Rounded corner options */
.customer-support--rounded-both {
  border-radius: 16px;
}

.customer-support--rounded-top {
  border-radius: 16px 16px 0 0;
}

.customer-support--rounded-bottom {
  border-radius: 0 0 16px 16px;
}

/* Background decorations */
.customer-support__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.customer-support__decoration {
  position: absolute;
  opacity: 0.3;
}

.customer-support__decoration--top-left {
  top: 215px;
  left: -173px;
  width: 509px;
  height: 228px;
}

.customer-support__decoration--bottom-right {
  bottom: -101px;
  right: -173px;
  width: 509px;
  height: 228px;
}

/* Container */
.customer-support__container {
  position: relative;
  max-width: min(1280px, 100%);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2rem);
}

/* Intro section */
.customer-support__intro {
  text-align: center;
  max-width: 768px;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.5rem);
}

.customer-support__label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 20px;
  letter-spacing: 1.54px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.customer-support__title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: #edf7fc;
  margin: 0;
}

.customer-support__description {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  line-height: 1.37;
  color: #ffffff;
  margin: 0;
}

/* Section title */
.customer-support__section-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-align: center;
  margin: clamp(1rem, 2vw, 1.5rem) 0;
}

/* Cards container */
.customer-support__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 1000px;
}

@media (min-width: 768px) {
  .customer-support__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Card */
.customer-support__card {
  background-color: #1b4759;
  border: 2px solid rgba(237, 247, 252, 0.4);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.5rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1rem);
  min-height: 200px;
}

.customer-support__card:last-child {
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.customer-support__card-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  line-height: 1.23;
  letter-spacing: -0.06em;
  color: #a1d2e5;
  margin: 0;
}

/* Contact info */
.customer-support__contact-info {
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1vw, 0.5rem);
}

.customer-support__contact-item {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1rem);
}

.customer-support__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.customer-support__contact-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  line-height: 1.37;
  color: #edf7fc;
  text-decoration: none;
  transition: color 0.2s ease;
}

.customer-support__contact-link:hover {
  color: #a1d2e5;
}

.customer-support__contact-link--underline {
  text-decoration: underline;
  text-underline-position: from-font;
}

/* AnyDesk logo */
.customer-support__anydesk-logo {
  width: clamp(140px, 20vw, 170px);
  height: auto;
  object-fit: contain;
}

/* Button */
.customer-support__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #edf7fc;
  color: #1b4759;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.1875rem);
  line-height: 1.26;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1.25rem, 3vw, 1.5rem);
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 48px;
}

.customer-support__button:hover {
  background-color: #a1d2e5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.customer-support__button:active {
  transform: translateY(0);
}

/* Bottom text */
.customer-support__bottom-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.25;
  color: #ffffff;
  text-align: center;
  max-width: 768px;
  margin: 0;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .customer-support__decoration--top-left,
  .customer-support__decoration--bottom-right {
    opacity: 0.15;
  }

  .customer-support__card {
    min-height: auto;
  }

  .customer-support__card:last-child {
    gap: 1.5rem;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .customer-support__container {
    padding: clamp(4rem, 6vw, 5rem) clamp(1.5rem, 4vw, 2rem);
  }
}

/* Large screen adjustments */
@media (min-width: 1280px) {
  .customer-support__decoration--top-left {
    left: -100px;
  }

  .customer-support__decoration--bottom-right {
    right: -100px;
  }
}

