/* Contact CTA section component */

.he-contact-section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--he-slate-300);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .he-contact-section { flex-direction: row; align-items: stretch; }
}

.he-contact-section__visual {
  position: relative;
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .he-contact-section__visual { width: 50%; min-height: auto; padding: 4rem 5rem; }
}

.he-contact-section__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.he-contact-section__visual-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(220, 38, 38, 0.15);
  background-image:
    linear-gradient(
      to top,
      rgba(153, 27, 27, 0.6),
      rgba(220, 38, 38, 0.35),
      transparent
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.2),
      transparent 60%
    );
}

.he-contact-section__visual-content {
  position: relative;
  z-index: 1;
  max-width: 32rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 1024px) { .he-contact-section__visual-content { text-align: left; } }

.he-contact-section__title {
  margin: 0;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--he-white);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.he-contact-section__text {
  margin: 0;
  color: var(--he-white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.he-contact-section__actions {
  width: 100%;
  background: var(--he-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1024px) { .he-contact-section__actions { width: 50%; padding: 4rem 5rem; } }

.he-contact-section__actions::before,
.he-contact-section__actions::after {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.he-contact-section__actions::before { right: -3rem; bottom: -3rem; background: rgba(239,68,68,0.1); }
.he-contact-section__actions::after { left: -3rem; top: -3rem; background: rgba(255,255,255,0.05); }

.he-contact-section__actions-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 28rem;
}

.he-contact-section__block { margin-bottom: 1.5rem; }
.he-contact-section__block:last-child { margin-bottom: 0; }

.he-contact-section__block-heading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  color: var(--he-white);
}

.he-contact-section__block-heading h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) { .he-contact-section__block-heading h3 { font-size: 1.25rem; } }

.he-contact-section__divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 1.5rem 0;
}

.he-contact-section__note {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: rgba(254, 226, 226, 0.5);
}

@media (min-width: 640px) { .he-contact-section__note { font-size: 0.6875rem; } }
