/* Pearl Island — CTA Hero Banner */
.pih-cta {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

/* Gradient default background */
.pih-cta--gradient {
  background: linear-gradient(180deg, #2f8fa0, #3B5F5F);
}

/* Image background */
.pih-cta--image {
  background-size: cover;
  background-position: center;
}

/* Overlay for text readability */
.pih-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(30, 36, 48, 0.34);
}

.pih-cta-in {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 720px;
}

.pih-cta--center .pih-cta-in {
  text-align: center;
  max-width: 760px;
}

.pih-cta .script {
  font-family: var(--hx-script, 'Quentin', cursive);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: #fff;
  display: block;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}

.pih-cta h2 {
  font-family: var(--hx-serif, 'Miller Banner', serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
  line-height: 1.1;
  margin: 0;
}

.pih-cta .subtitle {
  color: #fff;
  font-size: 1.1rem;
  max-width: 560px;
  margin: 20px 0 32px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.pih-cta--center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

.pih-cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.pih-cta--center .pih-cta-buttons {
  justify-content: center;
}

.pih-cta .btn {
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.pih-cta .btn-primary {
  background: #EE7266;
  color: #fff;
  box-shadow: 0 10px 26px rgba(238, 114, 102, 0.34);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pih-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(238, 114, 102, 0.46);
}

.pih-cta .btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pih-cta .btn-ghost:hover {
  background: #fff;
  color: #3B5F5F;
}

@media (max-width: 700px) {
  .pih-cta {
    min-height: 40vh;
    padding: 40px 0;
  }

  .pih-cta h2 {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  .pih-cta .subtitle {
    font-size: 1rem;
  }

  .pih-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .pih-cta .btn {
    width: 100%;
    max-width: 340px;
  }

  .pih-cta--center .pih-cta-buttons {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pih-cta .btn {
    transition: none;
  }
}
