/* ===== PM CTA Section — External Stylesheet ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@400;500&display=swap');

/* ---------- Variables ---------- */
:root {
  --cta-bg-start:    #ffffff;
  --cta-bg-end:      #f4f6f9;
  --cta-accent:      #25d366;
  --cta-accent-glow: rgba(37,211,102,.45);
  --cta-gold:        #d4a012;
  --cta-text-head:   #0a1628;
  --cta-text-body:   #4a5568;
  --cta-radius:      22px;
  --cta-transition:  .35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Section wrapper ---------- */
.pm-cta-section {
  font-family: 'DM Sans', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px 20px;
  background:
    radial-gradient(ellipse 80% 60% at 10% 50%, rgba(37,211,102,.04) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(212,160,18,.04) 0%, transparent 60%),
    linear-gradient(135deg, var(--cta-bg-start) 0%, var(--cta-bg-end) 100%);
  position: relative;
  overflow: hidden;
}

/* floating orbs */
.pm-cta-section::after {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,211,102,.12) 0%, transparent 70%);
  top: -80px;
  right: -80px;
  pointer-events: none;
  animation: pm-float 8s ease-in-out infinite alternate;
}

/* ---------- Box ---------- */
.pm-cta-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  max-width: 960px;
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--cta-radius);
  padding: 44px 48px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 24px rgba(0,0,0,.08),
    0 0 0 1px rgba(37,211,102,.1) inset,
    0 1px 0 rgba(255,255,255,.9) inset;
  overflow: hidden;
  animation: pm-slide-in .75s cubic-bezier(.22,1,.36,1) both;
}

/* corner accent */
.pm-cta-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 180px; height: 3px;
  background: linear-gradient(90deg, var(--cta-accent), transparent);
  border-radius: var(--cta-radius) 0 0 0;
}

/* ---------- Image ---------- */
.pm-cta-image {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(37,211,102,.4);
  box-shadow:
    0 0 0 6px rgba(37,211,102,.08),
    0 8px 30px rgba(0,0,0,.4);
  position: relative;
  animation: pm-pop .6s .2s cubic-bezier(.34,1.56,.64,1) both;
}

.pm-cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.pm-cta-image:hover img {
  transform: scale(1.06);
}

/* ---------- Content ---------- */
.pm-cta-content {
  flex: 1;
  min-width: 0;
}

.pm-cta-content h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--cta-text-head);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -.02em;
}

/* gold highlight on last word */
.pm-cta-content h2 span {
  color: var(--cta-gold);
}

.pm-cta-content p {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--cta-text-body);
  margin: 0;
  max-width: 420px;
}

/* ---------- WhatsApp Button ---------- */
.pm-whatsapp-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #1ebe5d 0%, #25d366 60%, #1da64f 100%);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow:
    0 4px 20px rgba(37,211,102,.4),
    0 1px 0 rgba(255,255,255,.2) inset;
  transition: var(--cta-transition);
  position: relative;
  overflow: hidden;
}

.pm-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .3s;
}

.pm-whatsapp-btn:hover::before { opacity: 1; }

.pm-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 8px 32px rgba(37,211,102,.55),
    0 1px 0 rgba(255,255,255,.2) inset;
}

.pm-whatsapp-btn:active {
  transform: translateY(-1px) scale(.99);
}

.pm-whatsapp-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
  transition: transform .3s;
}

.pm-whatsapp-btn:hover svg {
  transform: rotate(-8deg) scale(1.15);
}

/* ---------- Pulse ring ---------- */
.pm-pulse {
  animation: pm-slide-in .75s .4s cubic-bezier(.22,1,.36,1) both;
}

.pm-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid var(--cta-accent);
  opacity: 0;
  animation: pm-ring 2.4s ease-out 1.2s infinite;
  pointer-events: none;
}

/* ---------- Keyframes ---------- */
@keyframes pm-ring {
  0%   { transform: scale(.95); opacity: .7; }
  100% { transform: scale(1.25); opacity: 0; }
}

@keyframes pm-float {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes pm-slide-in {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pm-pop {
  from { opacity: 0; transform: scale(.7); }
  to   { opacity: 1; transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .pm-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
    gap: 24px;
  }

  .pm-cta-content p { max-width: 100%; }

  .pm-cta-image {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 480px) {
  .pm-cta-box { padding: 28px 20px; }
  .pm-whatsapp-btn { width: 100%; justify-content: center; }
}