@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

.sales {
  background: #ffffff;
  border: 1px solid rgba(234, 110, 137, 0.15);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(234, 110, 137, 0.12);
  padding: 2.75rem;
  color: #2a1b21;
  max-width: 820px;
  margin-inline: auto;
}

.sales__tagline {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: #ea6e89;
  margin-bottom: 0.75rem;
}

/* .sales__headline {
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  line-height: 1;
  margin: 0 0 1.2rem;
  text-align: start;
  color: #ffffff;
  font-weight: 800;
  font-family: "Lilita One", "Poppins", "Segoe UI", sans-serif;
  -webkit-text-stroke: 1.6px #cd6178;
} */

.sales__banner {
  width: 100%;
  border-radius: 18px;
  margin: 0 0 1rem;
  display: block;
}

.sales__promise {
  font-size: 1.2rem;
  font-weight: 600;
  color: #3c2831;
  margin-bottom: 1rem;
}

.sales__lead {
  font-size: 1.1rem;
  color: #5c3a45;
  margin-bottom: 1.5rem;
}

.sales__body {
  margin: 1.5rem 0 2rem;
  color: #634a53;
}

.sales__question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3c2831;
  margin: 0.5rem 0 1.25rem;
}

.sales__offers {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.sales__plans-title {
  margin: 2rem 0 0.5rem;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  color: #ea6e89;
}

.plan-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 1.5rem;
}

.plan-card {
  border: 1px solid rgba(234, 110, 137, 0.16);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  background: #fff8fb;
  color: #2a1b21;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-height: 120px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(234, 110, 137, 0.25);
  border-color: rgba(234, 110, 137, 0.45);
}

.plan-name {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.plan-name--image {
  display: flex;
  justify-content: center;
  padding: 0.25rem 0;
}

.plan-name--image img {
  width: 100%;
  max-width: 420px;
  display: block;
}

.plan-emotions {
  list-style: none;
  padding-left: 0;
  margin: 0.25rem 0 0;
  display: grid;
  gap: 0.35rem;
  color: #5c3a45;
  font-size: 0.9rem;
  line-height: 1.35;
}

.plan-emotions li {
  position: relative;
  padding-left: 2.3rem;
}

.plan-emotions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.6rem;
  height: 1.6rem;
  background: url("../assets/sparkles.png") no-repeat center / contain;
}

.plan-meta {
  font-size: 0.95rem;
  color: #7c5c68;
  letter-spacing: 0.02em;
}

.plan-card--special {
  position: relative;
  padding-top: 1.9rem;
  background: #fff2f6;
  border-color: rgba(234, 110, 137, 0.45);
  box-shadow: 0 14px 32px rgba(234, 110, 137, 0.25);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: linear-gradient(120deg, #ea6e89, #f3a2b5);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-price {
  font-weight: 800;
  color: #e25478;
  font-size: 1.2rem;
}

.plan-price small {
  color: #ea6e89;
  font-weight: 600;
}

.plan-price strong {
  font-size: 1.4rem;
  color: #d32755;
}

.plan-price s {
  color: rgba(42, 27, 33, 0.5);
  margin-right: 0.35rem;
  font-weight: 600;
  text-decoration: line-through;
}

.plan-cta {
  margin-top: 0.4rem;
  height: 50px;
  border: none;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  background: linear-gradient(120deg, #ea6e89, #f3a2b5);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: ctaPulse 2.6s ease-in-out infinite;
}

.plan-cta:hover {
  box-shadow: 0 12px 24px rgba(234, 110, 137, 0.38);
}

@keyframes ctaPulse {

  0%,
  100% {
    transform: translateZ(0) scale(1);
    box-shadow: 0 10px 20px rgba(234, 110, 137, 0.35);
  }

  20% {
    transform: translateZ(0) scale(1.03);
    box-shadow: 0 14px 26px rgba(234, 110, 137, 0.4);
  }

  40% {
    transform: translateZ(0) scale(0.99);
    box-shadow: 0 8px 18px rgba(234, 110, 137, 0.3);
  }

  60% {
    transform: translateZ(0) scale(1.04);
    box-shadow: 0 16px 28px rgba(234, 110, 137, 0.42);
  }

  80% {
    transform: translateZ(0) scale(1);
    box-shadow: 0 10px 20px rgba(234, 110, 137, 0.35);
  }
}

.sales__fineprint {
  margin-top: 1.25rem;
  text-align: center;
}

.sales__message-img {
  width: 100%;
  max-width: 520px;
  display: inline-block;
}

.sales__guarantee {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #7c5c68;
  text-align: center;
}

.sales__panel {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.sales__cta-lead {
  font-weight: 800;
  color: #fff;
  margin: 1.4rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.plan-modal__close[data-plan-close]::before {
  content: "×";
}

.sales__testimonials {
  margin-top: 1.5rem;
}

.sales__testimonials h3,
.sales__faq h3 {
  text-align: center;
  margin: 1rem 0 0.75rem;
  font-size: 1.4rem;
  color: #2a1b21;
}

.testimonial-carousel {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 16px;
  border: 1px solid rgba(234, 110, 137, 0.15);
  background: #fff8fb;
  padding: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.testimonial-track {
  display: flex;
  gap: 0.75rem;
  animation: testimonialSlide 14s linear infinite;
}

.testimonial-carousel:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 200px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(234, 110, 137, 0.18);
  background: #f5f5f5;
}

.testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes testimonialSlide {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.sales__faq {
  margin-top: 1.75rem;
}

.faq-list {
  display: grid;
  gap: 0.5rem;
}

.faq-item {
  width: 100%;
  text-align: left;
  background: #fff8fb;
  border: 1px solid rgba(234, 110, 137, 0.25);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-weight: 700;
  color: #2a1b21;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item .faq-icon {
  font-weight: 900;
  color: #ea6e89;
  margin-left: 0.75rem;
}

.faq-item.is-open {
  border-color: rgba(234, 110, 137, 0.5);
  box-shadow: 0 10px 24px rgba(234, 110, 137, 0.18);
}

.faq-answer {
  display: none;
  padding: 0.25rem 1rem 0.85rem;
  color: #5c3a45;
  line-height: 1.5;
  border-left: 3px solid rgba(234, 110, 137, 0.35);
}

.faq-answer.is-open {
  display: block;
  animation: fadeIn 0.25s ease;
  font-size: 15px;
}

.sales__logo {
  margin-top: 1.75rem;
  text-align: center;
}

.sales__logo img {
  width: 220px;
  max-width: 60%;
  filter: drop-shadow(0 8px 20px rgba(234, 110, 137, 0.15));
}

.template-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.template-modal.is-open {
  display: flex;
}

.template-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.template-modal__content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  width: min(900px, 90vw);
  max-height: 92vh;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.template-modal__content h3 {
  margin: 0 0 0.75rem;
  color: #2a1b21;
  text-align: center;
}

.template-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  border: none;
  background: #eb748e;
  padding: 0.25rem 0.8rem;
  border-radius: 10px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.template-modal__close:hover {
  background: #f289a2;
  box-shadow: 0 10px 22px rgba(234, 110, 137, 0.25);
}

.template-modal__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  max-height: 82vh;
  overflow: auto;
  padding: 0.25rem;
}

/* .sales__summary {
  margin: 1.2rem 0 1.4rem;
} */

.sales__summary-lead {
  font-size: 1rem;
  color: #7c5c68;
  text-align: start;
}

.summary-card {
  border: 1px solid rgba(234, 110, 137, 0.25);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.summary-box {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 0.35rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: #2a1b21;
  font-weight: 700;
}

.summary-box--template {
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  background: #fff;
}

.summary-box--template:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(234, 110, 137, 0.18);
  border-color: rgba(234, 110, 137, 0.5);
}

.summary-label {
  color: #7c5c68;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
}

.summary-value {
  color: #000000;
  font-weight: 600;
  font-size: 15px;
}

.summary-thumb {
  width: 100%;
  height: 95px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(234, 110, 137, 0.25);
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #7c5c68;
}

.summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.summary-helper {
  display: block;
  margin-top: 0.35rem;
  color: #7c5c68;
  font-size: 0.85rem;
  text-align: center;
}

.warning-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.warning-modal.is-open {
  display: flex;
}

.warning-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.warning-modal__content {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  width: min(420px, 90vw);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
  text-align: center;
  z-index: 1;
}

.warning-modal__content p {
  margin: 0 0 0.9rem;
  color: #2a1b21;
  font-weight: 700;
}

.warning-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.summary-change {
  border: 1px solid rgba(234, 110, 137, 0.4);
  background: #fff;
  color: #ea6e89;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.summary-change:hover {
  border-color: rgba(234, 110, 137, 0.7);
  box-shadow: 0 10px 22px rgba(234, 110, 137, 0.15);
}

.summary-change--ghost {
  background: #fff;
  color: #7c5c68;
}

@media (max-width: 768px) {
  .sales {
    padding: 2rem;
  }

  .sales__offers {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex-basis: 160px;
  }
}
