/* ============================================================
   Packagly — why-choose-packagly.css  (split from style.css)
   Depends on: common.css (variables, reset, icon helpers)
   Responsive @media rules live in responsive.css
   ============================================================ */

/* ============================================================
   WHY CHOOSE PACKAGLY  (light intro + dark quote/FAQ panel)
============================================================ */
.why-choose {
  background: linear-gradient(180deg, #f4f7f2 0%, #eef2ec 100%);
  color: #16241c;
  padding: 72px 0;
}

/* ---- top grid: intro | video | stats ---- */
.why-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.92fr;
  grid-template-areas: "intro video stats";
  gap: 26px;
  align-items: stretch;
  margin-bottom: 30px;
}
.why-intro {
  grid-area: intro;
}
.why-video {
  grid-area: video;
}
.why-stats {
  grid-area: stats;
}

.why-lead {
  font-size: 16px;
  color: #5d6b62;
  line-height: 1.6;
  max-width: 46ch;
  margin: 14px 0 0;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 26px;
  margin-top: 26px;
}
.wf-item {
  display: flex;
  gap: 14px;
}
.wf-ico {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(112, 174, 19, 0.35);
  background: rgba(112, 174, 19, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wf-ico .icon {
  width: 22px;
  height: 22px;
}
.wf-item h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 5px;
  color: #16241c;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.wf-item p {
  margin: 0;
  font-size: 13.5px;
  color: #65726a;
  line-height: 1.5;
}

/* ---- video card ---- */
.video-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #13251a, #0a160e);
}
.video-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: none;
}
/* once playing: show the video, hide the poster / overlay / play / caption */
.video-card.is-playing .video-card__video {
  display: block;
}
.video-card.is-playing .video-card__img,
.video-card.is-playing .video-card__play,
.video-card.is-playing .video-card__caption,
.video-card.is-playing::after {
  display: none;
}
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 12, 7, 0.2) 0%,
    rgba(4, 12, 7, 0.85) 100%
  );
}
.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease;
}
.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.07);
}
.video-card__play .icon {
  width: 26px;
  height: 26px;
  margin-left: 3px;
  filter: brightness(0) saturate(100%) invert(56%) sepia(63%) saturate(508%)
    hue-rotate(40deg) brightness(94%) contrast(89%);
}
.video-card__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
}
.vc-title {
  display: block;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.vc-title .accent {
  color: var(--green);
}
.vc-sub {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

/* ---- stats 2x2 ---- */
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(160deg, #0e2114 0%, #08150d 100%);
  border: 1px solid rgba(112, 174, 19, 0.25);
  border-radius: 18px;
  overflow: hidden;
}
.stat-cell {
  padding: 26px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.stat-cell:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-cell:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-ico .icon {
  width: 30px;
  height: 30px;
}
.stat-num {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9fb0a4;
  line-height: 1.25;
}

/* ============================================================
   QUOTE + FAQ dark panel
============================================================ */
.quote-faq {
  display: grid;
  /* minmax(0,…) stops a column from refusing to shrink (grid blowout) */
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background:
    radial-gradient(
      120% 120% at 0% 0%,
      rgba(112, 174, 19, 0.12),
      transparent 45%
    ),
    linear-gradient(160deg, #0c1f14 0%, #07140d 100%);
  border: 1px solid rgba(112, 174, 19, 0.18);
  border-radius: 24px;
  overflow: hidden;
}
.qf-col {
  padding: 34px 36px;
  min-width: 0;
}
.qf-quote {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.qf-head {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
/* text block must be allowed to shrink so the sub copy wraps inside the card */
.qf-head > div {
  flex: 1 1 auto;
  min-width: 0;
}
.qf-sub {
  overflow-wrap: break-word;
}
.qf-head-ico {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(112, 174, 19, 0.12);
  border: 1px solid rgba(112, 174, 19, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qf-head-ico .icon {
  width: 26px;
  height: 26px;
}
.qf-title {
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.qf-title .accent {
  color: var(--green);
}
.qf-sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.5;
}

/* form fields (dark) */
.qf-field {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 13px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.qf-field::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.qf-field:focus {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.08);
}
.qf-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.qf-select option {
  color: #14241b;
}
.qf-textarea {
  resize: vertical;
  min-height: 84px;
}

/* upload + captcha row */
.qf-row-bottom {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: stretch;
}
.qf-upload {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease;
}
.qf-upload:hover {
  border-color: var(--green);
}
.qf-upload-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(112, 174, 19, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qf-upload-ico .icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(56%) sepia(63%) saturate(508%)
    hue-rotate(40deg) brightness(94%) contrast(89%);
}
.qf-upload-text strong {
  display: block;
  font-size: 13.5px;
  color: #fff;
  font-weight: 700;
}
.qf-upload-text small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.qf-captcha {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qf-cap-num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  font-weight: 800;
  color: #fff;
}
.qf-cap-op {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}
.qf-cap-input {
  width: 92px;
  height: 48px;
}

.qf-submit {
  width: 100%;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    filter 0.2s ease,
    transform 0.15s ease;
}
.qf-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.qf-submit .icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.qf-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.qf-privacy .icon {
  width: 16px;
  height: 16px;
}

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.faq-item.is-open {
  border-color: rgba(112, 174, 19, 0.45);
  background: rgba(112, 174, 19, 0.06);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: none;
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
}
.faq-item.is-open .faq-q {
  color: var(--green);
}
.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  color: currentColor;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
}
.faq-toggle::before {
  left: 0;
  top: 50%;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-toggle::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.faq-item.is-open .faq-toggle::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a p {
  margin: 0;
  padding: 0 18px 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.6;
}

.faq-help {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  flex-wrap: wrap;
}
.faq-help-ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(112, 174, 19, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-help-ico .icon {
  width: 24px;
  height: 24px;
}
.faq-help-text {
  flex: 1;
  min-width: 150px;
}
.faq-help-text strong {
  display: block;
  color: #fff;
  font-size: 15px;
}
.faq-help-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
}
.faq-help-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 20px;
  border-radius: 10px;
  transition: filter 0.2s ease;
}
.faq-help-btn:hover {
  filter: brightness(1.06);
}
.faq-help-btn .icon {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* ---- responsive ---- */
