/* ==========================================================================
   50 Star Packaging — Home page (Home Page template)
   Built from the "new home" Elementor template. Everything is scoped to
   .pak-home so it cannot affect other pages.
   ========================================================================== */

.pak-home {
  --ph-navy: #2A3775;
  --ph-red: #E21D38;
  --ph-light: #E9EBF4;
  --ph-soft: #F6F7F9;
  --ph-ink: #171A24;
  --ph-text: #3B3F52;
  --ph-muted: #8A8FA3;
  --ph-line: #E3E6EF;
  --ph-pink: #FFF4F5;
  --ph-font: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ph-ease: cubic-bezier(.2, .7, .2, 1);
  --ph-soft-bg: #F5F6FA;
  --ph-radius: 16px;
  --ph-wrap: var(--pak-container, 1272px);
  --ph-gutter: 24px;
  --ph-space: 70px;
  /* Tokens used by the shared product card (pak-pcard). */
  --pkg-blue: var(--ph-navy);
  --pkg-red: var(--ph-red);
  --pkg-heading: var(--ph-navy);
  --pkg-text: var(--ph-text);
  --pkg-border: #D9DCE8;
  --pkg-soft-gray: var(--ph-soft);
  --pkg-font: var(--ph-font);
  --pkg-fs-text: 16px;
  --pkg-ease: var(--ph-ease);
  font-family: var(--ph-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ph-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.pak-home *, .pak-home *::before, .pak-home *::after { box-sizing: border-box; }
.pak-home img { max-width: 100%; }
.pak-home :is(h1, h2, h3, h4, p, ul, ol, figure, blockquote) { margin: 0; }
.pak-home :is(button, a):focus-visible { outline: 2px solid var(--ph-red); outline-offset: 3px; }

@media (max-width: 767px) { .pak-home { --ph-space: 50px; --ph-gutter: 16px; } }

/* ---------- Section spacing ----------
   Every section: 70px top and bottom (50px on phones).
   .is-joined = same background as the section above, so no top padding.
   ------------------------------------------------------------------------ */
.pak-home .ph-section { position: relative; padding: var(--ph-space) 0; }
.pak-home .ph-section.is-joined { padding-top: 0; }
.pak-home .ph-bg-white { background: #fff; }
.pak-home .ph-bg-soft { background: var(--ph-soft-bg); }
.pak-home .ph-wrap { width: 100%; max-width: calc(var(--ph-wrap) + var(--ph-gutter) * 2); margin: 0 auto; padding: 0 var(--ph-gutter); }

/* ---------- Section heading (same as the product, industry and blog pages) ----------
   Small red label → H2 (navy, red words) → intro text.
   ------------------------------------------------------------------------ */
.pak-home .ph-head { max-width: 760px; margin: 0 0 40px; }
.pak-home .ph-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.pak-home .ph-head.is-center .ph-lead { margin-left: auto; margin-right: auto; max-width: 680px; }

.pak-home .ph-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--ph-font) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  letter-spacing: 2.08px !important;
  text-transform: uppercase !important;
  color: #e21d38 !important;
}
.pak-home .ph-eyebrow::before { content: ""; flex: 0 0 24px; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.pak-home .ph-head.is-center .ph-eyebrow::after { content: ""; flex: 0 0 24px; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }

/* One H2 style for every section heading on the page. */
.pak-home .ph-h2 {
  font-family: var(--ph-font) !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 48px !important;
  letter-spacing: -0.4px !important;
  text-transform: none !important;
  color: #2a3775 !important;
}
@media (max-width: 767px) {
  .pak-home .ph-h2 { font-size: 28px !important; line-height: 36px !important; }
}
.pak-home .ph-h2 em { font-style: normal; color: var(--ph-red); }
.pak-home .ph-lead { margin-top: 14px; font-size: var(--pak-lead, 17px); line-height: 1.65; color: var(--ph-text); }

/* Heading on the left, slider arrows on the right */
.pak-home .ph-rowhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; }
.pak-home .ph-rowhead__text { max-width: 760px; }
@media (max-width: 767px) {
  .pak-home .ph-head { margin-bottom: 28px; }
  .pak-home .ph-rowhead { margin-bottom: 22px; }
  .pak-home .ph-rowhead .ph-lead { display: none; }
}

/* Buttons */
.pak-home .ph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 28px;
  font-family: var(--ph-font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: var(--ph-navy);
  border: 2px solid var(--ph-navy);
  border-radius: 8px;
  text-decoration: none;
  transition: background .25s var(--ph-ease), border-color .25s var(--ph-ease), color .25s var(--ph-ease), transform .25s var(--ph-ease);
}
.pak-home .ph-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ph-ease); }
.pak-home .ph-btn:hover { color: #fff; background: var(--ph-red); border-color: var(--ph-red); transform: translateY(-2px); }
.pak-home .ph-btn:hover svg { transform: translateX(3px); }
.pak-home .ph-btn--outline { color: var(--ph-navy); background: transparent; }
.pak-home .ph-btn--outline:hover { color: #fff; background: var(--ph-navy); border-color: var(--ph-navy); }
.pak-home .ph-center { display: flex; justify-content: center; margin-top: 40px; }
.pak-home .ph-empty { padding: 40px; text-align: center; background: var(--ph-soft); border-radius: 16px; }

/* Tabs (products and customizations) */
.pak-home .ph-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 34px;
  margin: 0 0 32px;
}
.pak-home .ph-tab {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 8px 2px 10px;
  font-family: var(--ph-font);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ph-navy);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.pak-home .ph-tab:hover { color: var(--ph-navy); background: transparent; border-bottom-color: var(--ph-red); }
.pak-home .ph-tab.is-active { color: var(--ph-red); border-bottom-color: var(--ph-red); }
.pak-home .ph-panel[hidden] { display: none; }
.pak-home .ph-panel.is-in { animation: ph-fade .45s var(--ph-ease); }
@keyframes ph-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .pak-home .ph-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 22px;
    margin: 0 calc(var(--ph-gutter) * -1) 24px;
    padding: 0 var(--ph-gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .pak-home .ph-tabs::-webkit-scrollbar { display: none; }
  .pak-home .ph-tab { flex: 0 0 auto; font-size: 17px; white-space: nowrap; }
}

/* Scroll reveal (only when JS is running) */
.pak-home.is-js [data-ph-reveal] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--ph-ease); }
.pak-home.is-js [data-ph-reveal].is-visible > * { opacity: 1; transform: none; }
.pak-home.is-js [data-ph-reveal].is-visible > :nth-child(2) { transition-delay: .08s; }
.pak-home.is-js [data-ph-reveal].is-visible > :nth-child(3) { transition-delay: .16s; }
.pak-home.is-js [data-ph-reveal].is-visible > :nth-child(4) { transition-delay: .24s; }
.pak-home.is-js [data-ph-reveal].is-visible > :nth-child(5) { transition-delay: .32s; }
.pak-home.is-js [data-ph-reveal].is-visible > :nth-child(6) { transition-delay: .40s; }

/* ==========================================================================
   1. Hero slider
   ========================================================================== */
.pak-home .ph-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: clamp(520px, 35vw, 680px);
  display: flex;
  align-items: center;
  background: #DCD6CB;
}
.pak-home .ph-hero__media { position: absolute; inset: 0; z-index: 0; }
.pak-home .ph-hero__media img {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  opacity: 0;
  transition: opacity .9s ease;
}
.pak-home .ph-hero__media img.is-active { opacity: 1; }
.pak-home .ph-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(250,248,244,.94) 0%, rgba(250,248,244,.75) 32%, rgba(250,248,244,0) 54%);
  pointer-events: none;
}
.pak-home .ph-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 56px 13px 84px;
}
.pak-home .ph-hero__track { display: grid; }
.pak-home .ph-slide {
  grid-area: 1 / 1;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}
.pak-home .ph-slide.is-active { opacity: 1; visibility: visible; }
.pak-home .ph-slide > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.pak-home .ph-slide.is-active > * { opacity: 1; transform: none; }
.pak-home .ph-slide.is-active > :nth-child(2) { transition-delay: .12s; }
.pak-home .ph-slide.is-active > :nth-child(3) { transition-delay: .24s; }
.pak-home .ph-slide.is-active > :nth-child(4) { transition-delay: .36s; }

.pak-home .ph-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 20px;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background: var(--ph-navy);
  border-left: 5px solid var(--ph-red);
  border-radius: 0 40px 40px 0;
}
.pak-home .ph-slide__badge-icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; color: var(--ph-red); background: #fff; border-radius: 50%; }
.pak-home .ph-slide__badge-icon svg { width: 16px; height: 16px; }

.pak-home .ph-slide__title {
  font-family: var(--ph-font);
  font-size: inherit !important;
  line-height: 1 !important;
  letter-spacing: -.01em !important;
  text-transform: uppercase;
  color: var(--ph-navy);
}
.pak-home .ph-slide__title span { display: block; color: var(--ph-navy); }
.pak-home .ph-slide__light { margin-bottom: .12em; font-size: clamp(1.9rem, 3.1vw, 2.75rem); font-weight: 400; }
.pak-home .ph-slide__bold { font-size: clamp(2.3rem, 4.1vw, 3.7rem); font-weight: 700; }
.pak-home .ph-slide__bold + .ph-slide__bold { margin-top: .04em; }
.pak-home .ph-slide__title em { font-style: normal; color: var(--ph-red); }
.pak-home .ph-slide__text { max-width: 480px; font-size: 16px; line-height: 1.6; color: #3F4256; }

.pak-home .ph-slide__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.pak-home .ph-slide__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  background: var(--ph-navy);
  border: 1.5px solid var(--ph-navy);
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pak-home .ph-slide__btn:hover { color: #fff; background: var(--ph-red); border-color: var(--ph-red); transform: translateY(-2px); }
.pak-home .ph-slide__btn--outline { color: var(--ph-navy); background: transparent; }
.pak-home .ph-slide__btn--outline:hover { color: #fff; background: var(--ph-navy); border-color: var(--ph-navy); }
.pak-home .ph-slide__mobile-img { display: none; }

.pak-home .ph-hero__controls { position: absolute; left: 24px; bottom: 30px; display: flex; align-items: center; gap: 14px; }
.pak-home .ph-hero__arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--ph-navy);
  background: rgba(255,255,255,.8);
  border: 1.5px solid var(--ph-navy);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.pak-home .ph-hero__arrow svg { width: 16px; height: 16px; }
.pak-home .ph-hero__arrow:hover { color: #fff; background: var(--ph-navy); }
.pak-home .ph-hero__dots { display: flex; gap: 8px; }
.pak-home .ph-hero__dot { width: 10px; height: 10px; padding: 0; background: rgba(42,55,117,.28); border: 0; border-radius: 10px; cursor: pointer; transition: width .3s, background .3s; }
.pak-home .ph-hero__dot.is-active { width: 28px; background: var(--ph-red); }

/* Tablets: text on top, photo underneath */
@media (min-width: 768px) and (max-width: 991px) {
  .pak-home .ph-hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .pak-home .ph-hero__media { position: relative; inset: auto; order: 2; width: 100%; height: 360px; }
  .pak-home .ph-hero__media img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% bottom; -webkit-mask-image: none; mask-image: none; }
  .pak-home .ph-hero__media::before { background: linear-gradient(180deg, #DCD6CB 0%, rgba(220,214,203,0) 25%); }
}
@media (max-width: 991px) {
  .pak-home .ph-hero__inner { padding: 44px 20px 80px; }
  .pak-home .ph-hero__controls { left: 20px; bottom: 24px; }
}
/* Phones: photo shows faintly behind the text, slide photo under the text */
@media (max-width: 767px) {
  .pak-home .ph-hero { display: block; min-height: 0; }
  .pak-home .ph-hero__media img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; -webkit-mask-image: none; mask-image: none; }
  .pak-home .ph-hero__media::before { background: rgba(250, 248, 244, .95); }
  .pak-home .ph-hero__inner { padding: 32px 16px 76px; }
  .pak-home .ph-slide__title { font-size: inherit !important; }
  .pak-home .ph-slide__light { font-size: 28px; }
  .pak-home .ph-slide__bold { font-size: 34px; }
  /* Both hero buttons side by side on phones. */
  .pak-home .ph-slide__buttons { flex-wrap: nowrap; gap: 10px; width: 100%; align-self: stretch; }
  .pak-home .ph-slide__btn { flex: 1 1 0; min-width: 0; padding: 12px 8px; font-size: 13px; white-space: nowrap; text-align: center; }
  .pak-home .ph-slide__mobile-img {
    display: block;
    width: 100%;
    height: auto;
    margin: 4px 0 0;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(42, 55, 117, .14);
  }
  .pak-home .ph-hero__controls { left: 16px; }
}

/* ==========================================================================
   2. Red scrolling strip
   ========================================================================== */
.pak-home .ph-ticker { position: relative; overflow: hidden; width: 100%; padding: 18px 0; color: #fff; background: var(--ph-red); }
.pak-home .ph-ticker__track { display: flex; width: max-content; animation: ph-ticker 40s linear infinite; will-change: transform; }
.pak-home .ph-ticker:hover .ph-ticker__track { animation-play-state: paused; }
.pak-home .ph-ticker__list { display: flex; align-items: center; flex-shrink: 0; margin: 0; padding: 0; list-style: none; }
.pak-home .ph-ticker__list li { display: flex; align-items: center; margin: 0; font-size: 18px; font-weight: 600; line-height: 1.2; letter-spacing: .01em; white-space: nowrap; }
.pak-home .ph-ticker__list li::after { content: "\2605"; margin: 0 40px; font-size: 14px; opacity: .9; }
@keyframes ph-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 767px) {
  .pak-home .ph-ticker { padding: 14px 0; }
  .pak-home .ph-ticker__track { animation-duration: 30s; }
  .pak-home .ph-ticker__list li { font-size: 16px; }
  .pak-home .ph-ticker__list li::after { margin: 0 24px; font-size: 12px; }
}

/* ==========================================================================
   Sliding cards (hot selling boxes, reviews)
   ========================================================================== */
.pak-home .ph-mq { position: relative; overflow: hidden; overflow-x: clip; overflow-y: visible; padding: 8px 0 22px; margin: -8px 0 -22px; touch-action: pan-y; }
.pak-home .ph-mq__track { display: flex; align-items: stretch; width: max-content; margin: 0; padding: 0; list-style: none; will-change: transform; }
.pak-home .ph-mq__item { flex: 0 0 auto; margin: 0 24px 0 0; padding: 0; list-style: none; }
.pak-home .ph-mq--fluid { --per: 3; --gap: 24px; container-type: inline-size; }
.pak-home .ph-mq--4 { --per: 4; }
.pak-home .ph-mq--3 { --per: 3; }
.pak-home .ph-mq--fluid .ph-mq__item { width: calc((100cqw - (var(--per) - 1) * var(--gap)) / var(--per)); margin-right: var(--gap); }
.pak-home .ph-mq-nav { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.pak-home .ph-mq-arrow {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  color: var(--ph-navy);
  background: #fff;
  border: 1px solid var(--ph-navy);
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.pak-home .ph-mq-arrow svg { width: 18px; height: 18px; }
.pak-home .ph-mq-arrow:hover { color: #fff; background: var(--ph-red); border-color: var(--ph-red); transform: translateY(-2px); }
@media (max-width: 1199px) { .pak-home .ph-mq--4 { --per: 3; } }
@media (max-width: 991px) { .pak-home .ph-mq--fluid { --per: 2; } }
@media (max-width: 767px) {
  .pak-home .ph-mq--fluid { --per: 1.15; --gap: 16px; }
  .pak-home .ph-mq-nav { gap: 8px; }
  .pak-home .ph-mq-arrow { width: 38px; height: 38px; }
  .pak-home .ph-mq-arrow svg { width: 15px; height: 15px; }
}

/* ==========================================================================
   3. Hot selling boxes
   ========================================================================== */
.pak-home .ph-hot__card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--ph-radius);
  background: var(--ph-soft);
  text-decoration: none;
  box-shadow: 0 12px 22px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.pak-home .ph-hot__card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px rgba(42,55,117,.16); }
.pak-home .ph-hot__card { aspect-ratio: 1 / 1; }
.pak-home .ph-hot__card > img { position: absolute; inset: 0; display: block; width: 100%; height: 100% !important; object-fit: cover; -webkit-user-drag: none; user-select: none; transition: transform .6s var(--ph-ease); }
.pak-home .ph-hot__card:hover > img { transform: scale(1.05); }
.pak-home .ph-hot__card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(23,26,36,.38) 0%, rgba(23,26,36,.12) 55%, rgba(23,26,36,0) 100%);
  z-index: 1;
  pointer-events: none;
}
.pak-home .ph-hot__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #fff;
  background: var(--ph-red);
  border-radius: 50px;
}
.pak-home .ph-hot__badge svg { width: 12px; height: 12px; flex-shrink: 0; }
.pak-home .ph-hot__body { position: absolute; left: 24px; right: 22px; bottom: 22px; z-index: 3; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.pak-home .ph-hot__name { flex: 1; font-size: 19px; font-weight: 800; line-height: 1.3; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.pak-home .ph-hot__icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; color: #fff; background: var(--ph-red); border-radius: 50%; transition: background .3s, transform .3s; }
.pak-home .ph-hot__icon svg { width: 16px; height: 16px; }
.pak-home .ph-hot__card:hover .ph-hot__icon { background: var(--ph-navy); transform: translateX(3px); }
@media (max-width: 1024px) { .pak-home .ph-hot__name { font-size: 18px; } }
@media (max-width: 767px) {
  .pak-home .ph-hot__badge { top: 12px; left: 12px; padding: 7px 11px; font-size: 10px; }
  .pak-home .ph-hot__body { left: 16px; right: 15px; bottom: 16px; }
  .pak-home .ph-hot__name { font-size: 16px; }
  .pak-home .ph-hot__icon { width: 36px; height: 36px; }
}

/* ==========================================================================
   4. Product tabs + product cards
   ========================================================================== */
.pak-home .ph-pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pak-home .pak-pcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--pkg-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s var(--ph-ease), box-shadow .25s var(--ph-ease);
}
.pak-home .pak-pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(42, 55, 117, .12); }
.pak-home .pak-pcard__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--ph-soft); overflow: hidden; }
.pak-home .pak-pcard__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ph-ease); }
.pak-home .pak-pcard:hover .pak-pcard__media img { transform: scale(1.05); }
.pak-home .pak-pcard__placeholder { color: var(--pkg-border); }
.pak-home .pak-pcard__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: var(--ph-navy);
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pak-home .pak-pcard__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: 8px; min-width: 0; padding: 18px; }
.pak-home .pak-pcard__title { margin: 0; font-size: 19px !important; font-weight: 700; line-height: 26px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pak-home .pak-pcard__title a { color: var(--ph-navy); text-decoration: none; }
.pak-home .pak-pcard__title a:hover { color: var(--ph-red); }
.pak-home .pak-pcard__text { margin: 0; min-height: calc(1.6em * 2); font-size: 15px; line-height: 1.6; color: var(--ph-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pak-home .pak-pcard__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 38px;
  margin-top: auto;
  padding: 8px 18px;
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: var(--ph-red);
  border: 2px solid var(--ph-red);
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s, border-color .25s;
}
.pak-home .pak-pcard__btn:hover { color: #fff; background: var(--ph-navy); border-color: var(--ph-navy); }
/* View + Get a quote, always on one line */
.pak-home .pak-pcard__acts { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.pak-home .pak-pcard__acts .pak-pcard__btn { flex: 1 1 0; align-self: stretch; min-width: 0; min-height: 34px; margin-top: 0; padding: 6px 8px; font-size: 13px !important; border-width: 1.5px; }
.pak-home .pak-pcard__acts .pak-pcard__btn:first-child { flex: 0 1 38%; }
.pak-home .pak-pcard__quote { color: var(--ph-navy); background: #fff; border-color: var(--ph-line); }
.pak-home .pak-pcard__quote:hover { color: #fff; background: var(--ph-navy); border-color: var(--ph-navy); }
@media (max-width: 1199px) { .pak-home .ph-pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .pak-home .ph-pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
  .pak-home .ph-pgrid { gap: 12px; }
  .pak-home .pak-pcard__body { padding: 12px; }
  .pak-home .pak-pcard__title { font-size: 16px !important; line-height: 22px !important; }
  .pak-home .pak-pcard__text { display: none; }
  .pak-home .pak-pcard__badge { top: 8px; left: 8px; padding: 4px 9px; font-size: 11px; }
}

/* ==========================================================================
   Industries slider — same card as the Industries page
   ========================================================================== */
.pak-home .ph-ind__card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); transition: transform .5s var(--ph-ease), box-shadow .5s, border-color .4s; }
.pak-home .ph-ind__card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 60px -26px rgba(42, 55, 117, .45); }
.pak-home .ph-ind__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ph-navy); }
.pak-home .ph-ind__media img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--ph-ease); -webkit-user-drag: none; user-select: none; }
.pak-home .ph-ind__card:hover .ph-ind__media img { transform: scale(1.08); }
.pak-home .ph-ind__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 28, 64, .55)); }
.pak-home .ph-ind__body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 18px; }
.pak-home .ph-ind__cat { position: absolute; top: 14px; left: 14px; z-index: 2; max-width: calc(100% - 28px); padding: 6px 12px; font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ph-navy); background: #fff; border-radius: 30px; }
.pak-home .ph-ind__title { font-size: 20px !important; font-weight: 700 !important; line-height: 1.3 !important; }
.pak-home .ph-ind__title a { color: var(--ph-navy); text-decoration: none; transition: color .3s; }
.pak-home .ph-ind__card:hover .ph-ind__title a { color: var(--ph-red); }
.pak-home .ph-ind__text { margin-top: 8px; font-size: 15px; line-height: 1.6; color: #5c6677; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pak-home .ph-ind__text { margin-bottom: 16px; }
.pak-home .ph-ind__acts { display: flex; flex-wrap: nowrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ph-line); }
.pak-home .ph-ind__acts a { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 10px; font-size: 14px; font-weight: 600; line-height: 1.4; white-space: nowrap; text-decoration: none; border-radius: 8px; transition: background .25s, color .25s, border-color .25s; }
.pak-home .ph-ind__acts svg { width: 15px; height: 15px; }
.pak-home .ph-ind__acts .ph-ind__view { flex: 0 1 40%; }
.pak-home .ph-ind__view { color: #fff; background: var(--ph-navy); border: 1.5px solid var(--ph-navy); }
.pak-home .ph-ind__view:hover { color: #fff; background: var(--ph-red); border-color: var(--ph-red); }
.pak-home .ph-ind__quote { color: var(--ph-navy); border: 1.5px solid var(--ph-line); }
.pak-home .ph-ind__quote:hover { color: var(--ph-red); border-color: var(--ph-red); }

/* ==========================================================================
   5. Why choose us (6 icons)
   ========================================================================== */
.pak-home .ph-why__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }
.pak-home .ph-why__item { display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0; text-align: center; }
.pak-home .ph-why__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 108px;
  height: 108px;
  margin-bottom: 20px;
  color: var(--ph-navy);
  background: var(--ph-light);
  border-radius: 50%;
  transition: background .45s var(--ph-ease), color .45s var(--ph-ease), transform .45s var(--ph-ease), box-shadow .45s var(--ph-ease);
}
.pak-home .ph-why__icon::before { content: ""; position: absolute; inset: -8px; border: 1.5px dashed rgba(42, 55, 117, .28); border-radius: 50%; transition: border-color .45s ease, inset .45s var(--ph-ease); }
.pak-home .ph-why__icon::after {
  content: "\2605";
  position: absolute;
  top: 2px;
  right: 2px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: var(--ph-red);
  border: 3px solid #fff;
  border-radius: 50%;
  transform: scale(0);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.pak-home .ph-why__icon svg { width: 56px; height: 56px; transition: transform .5s var(--ph-ease); }
.pak-home .ph-why__label { max-width: 180px; font-size: 15px !important; font-weight: 700 !important; line-height: 1.4 !important; letter-spacing: .04em; text-transform: uppercase; color: var(--ph-ink); transition: color .3s ease; }
.pak-home .ph-why__item:hover .ph-why__icon { color: #fff; background: var(--ph-navy); transform: translateY(-6px); box-shadow: 0 16px 32px rgba(42, 55, 117, .25); }
.pak-home .ph-why__item:hover .ph-why__icon::before { inset: -11px; border-color: var(--ph-red); animation: ph-spin 8s linear infinite; }
.pak-home .ph-why__item:hover .ph-why__icon::after { transform: scale(1); }
.pak-home .ph-why__item:hover .ph-why__icon svg { transform: scale(1.1) rotate(-6deg); }
.pak-home .ph-why__item:hover .ph-why__label { color: var(--ph-navy); }
@keyframes ph-spin { to { transform: rotate(360deg); } }
@media (max-width: 991px) { .pak-home .ph-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (max-width: 767px) {
  .pak-home .ph-why__grid { grid-template-columns: 1fr; gap: 22px; }
  .pak-home .ph-why__item { flex-direction: row; gap: 22px; text-align: left; }
  .pak-home .ph-why__icon { width: 44px; height: 44px; margin: 0 0 0 6px; }
  .pak-home .ph-why__icon::before { inset: -6px; }
  .pak-home .ph-why__icon::after { top: -2px; right: -2px; width: 22px; height: 22px; font-size: 10px; border-width: 2px; }
  .pak-home .ph-why__icon svg { width: 34px; height: 34px; }
  .pak-home .ph-why__label { max-width: none; font-size: 18px !important; font-weight: 600 !important; line-height: 1.35 !important; letter-spacing: 0; text-transform: none; }
  .pak-home .ph-why__item:hover .ph-why__icon { transform: none; }
}

/* ==========================================================================
   6. Features + quote form
   ========================================================================== */
.pak-home .ph-fq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.pak-home .ph-fq__grid.is-solo { grid-template-columns: 1fr; }
.pak-home .ph-fq__title { max-width: 560px; margin-bottom: 40px; }
.pak-home .ph-fq__cards { --off: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0 0 var(--off); list-style: none; }
.pak-home .ph-fq__card {
  --y: 0px;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 28px 24px 26px;
  background: #fff;
  border: 1px solid var(--ph-light);
  border-radius: var(--ph-radius);
  box-shadow: 0 14px 34px rgba(42, 55, 117, .08);
  transform: translateY(var(--y));
  transition: transform .5s var(--ph-ease), box-shadow .5s var(--ph-ease), border-color .4s ease;
}
.pak-home .ph-fq__card:nth-child(even) { --y: var(--off); }
.pak-home .ph-fq__card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--ph-red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ph-ease); }
.pak-home .ph-fq__icon { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 22px; color: var(--ph-navy); background: var(--ph-light); border-radius: 50%; isolation: isolate; transition: background .4s ease, color .4s ease, transform .5s var(--ph-ease); }
.pak-home .ph-fq__icon::before { content: ""; position: absolute; z-index: -1; top: -6px; left: -8px; width: 38px; height: 38px; background: rgba(226, 29, 56, .16); border-radius: 50%; transition: transform .5s var(--ph-ease), background .4s ease; }
.pak-home .ph-fq__icon svg { width: 28px; height: 28px; }
.pak-home .ph-fq__card-title { margin: 0 0 8px; font-size: 20px !important; font-weight: 700; line-height: 1.3 !important; color: var(--ph-ink); transition: color .35s ease; }
.pak-home .ph-fq__card-text { font-size: 15px; line-height: 1.65; color: var(--ph-text); }
.pak-home .ph-fq__card:hover { transform: translateY(calc(var(--y) - 8px)); border-color: transparent; box-shadow: 0 26px 50px rgba(42, 55, 117, .16); }
.pak-home .ph-fq__card:hover::after { transform: scaleX(1); }
.pak-home .ph-fq__card:hover .ph-fq__icon { color: #fff; background: var(--ph-navy); transform: rotate(-6deg); }
.pak-home .ph-fq__card:hover .ph-fq__icon::before { background: var(--ph-red); transform: translate(4px, 4px) scale(.7); }
.pak-home .ph-fq__card:hover .ph-fq__card-title { color: var(--ph-navy); }
/* The cards keep their stagger after the reveal. */
.pak-home.is-js .ph-fq__grid[data-ph-reveal] > .ph-fq__intro { opacity: 1; transform: none; }
.pak-home.is-js .ph-fq__grid[data-ph-reveal] .ph-fq__title { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s var(--ph-ease); }
.pak-home.is-js .ph-fq__grid[data-ph-reveal] .ph-fq__card { opacity: 0; transform: translateY(calc(var(--y) + 36px)); transition: opacity .7s ease, transform .7s var(--ph-ease), box-shadow .5s var(--ph-ease), border-color .4s ease; }
.pak-home.is-js .ph-fq__grid[data-ph-reveal] > .ph-fq__quote { transform: translateX(40px); transition-delay: .15s; }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__title { opacity: 1; transform: none; }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__card { opacity: 1; transform: translateY(var(--y)); }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__card:nth-child(1) { transition-delay: .15s; }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__card:nth-child(2) { transition-delay: .25s; }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__card:nth-child(3) { transition-delay: .35s; }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__card:nth-child(4) { transition-delay: .45s; }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__card.is-settled { transition-delay: 0s; }
.pak-home.is-js .ph-fq__grid.is-visible .ph-fq__card:hover { transform: translateY(calc(var(--y) - 8px)); }
.pak-home.is-js .ph-fq__grid.is-visible > .ph-fq__quote { transform: none; }

.pak-home .ph-fq__quote {
  min-width: 0;
  padding: 8px;
  background: #fcfcff;
  border: 1px solid #DDE1EE;
  border-radius: var(--ph-radius);
  box-shadow: 0 24px 60px rgba(42, 55, 117, .12);
}
.pak-home .ph-fq__quote .elementor-field-textual { background-color: #fff; }
.pak-home .ph-fq__missing { padding: 24px; font-size: 15px; color: #8a2424; background: #fff4f4; border-color: #f2c4c4; }
@media (max-width: 1199px) { .pak-home .ph-fq__grid { gap: 44px; } .pak-home .ph-fq__card { padding: 24px 20px; } }
@media (max-width: 991px) { .pak-home .ph-fq__grid { grid-template-columns: 1fr; gap: 40px; } .pak-home .ph-fq__title { max-width: none; } }
@media (max-width: 575px) {
  .pak-home .ph-fq__title { margin-bottom: 28px; }
  .pak-home .ph-fq__cards { --off: 0px; grid-template-columns: 1fr; gap: 14px; }
  .pak-home .ph-fq__card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px 18px 18px 16px; }
  .pak-home .ph-fq__icon { grid-row: span 2; width: 56px; height: 56px; margin: 0; align-self: start; }
  .pak-home .ph-fq__icon::before { width: 30px; height: 30px; }
  .pak-home .ph-fq__icon svg { width: 24px; height: 24px; }
  .pak-home .ph-fq__card-title { margin-bottom: 4px; font-size: 18px !important; }
}

/* ==========================================================================
   7. Customizations
   ========================================================================== */
.pak-home .ph-cu__panel { text-align: center; }
.pak-home .ph-cu__panel img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: var(--ph-radius); }

/* ==========================================================================
   8. Boxes by material
   ========================================================================== */
.pak-home .ph-mat__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.pak-home .ph-mat__grid > li { margin: 0; }
.pak-home .ph-mat__card { position: relative; display: grid; grid-template-columns: 42% 1fr; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); transition: transform .45s var(--ph-ease), box-shadow .45s var(--ph-ease), border-color .45s ease; }
.pak-home .ph-mat__card::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--ph-navy), var(--ph-red)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ph-ease); }
.pak-home .ph-mat__media { position: relative; overflow: hidden; min-height: 260px; background: var(--ph-light); }
.pak-home .ph-mat__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ph-ease); }
.pak-home .ph-mat__body { display: flex; flex-direction: column; justify-content: center; padding: 30px 28px; }
.pak-home .ph-mat__title { margin: 0 0 16px; font-size: 22px !important; font-weight: 700; line-height: 1.25 !important; letter-spacing: -.01em; color: var(--ph-navy); }
.pak-home .ph-mat__list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.pak-home .ph-mat__list li { position: relative; margin: 0; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--ph-text); }
.pak-home .ph-mat__list li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 17px;
  height: 17px;
  background: var(--ph-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A3775' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat;
  border-radius: 50%;
  transition: background-color .35s ease;
}
.pak-home .ph-mat__card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 22px 44px rgba(42, 55, 117, .12); }
.pak-home .ph-mat__card:hover::after { transform: scaleX(1); }
.pak-home .ph-mat__card:hover .ph-mat__media img { transform: scale(1.06); }
.pak-home .ph-mat__card:hover .ph-mat__list li::before { background-color: #DCE0F0; }
@media (max-width: 1199px) { .pak-home .ph-mat__body { padding: 26px 22px; } .pak-home .ph-mat__title { font-size: 20px !important; } }
@media (max-width: 991px) { .pak-home .ph-mat__grid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 575px) {
  .pak-home .ph-mat__card { grid-template-columns: 1fr; }
  .pak-home .ph-mat__media { min-height: 0; aspect-ratio: 16 / 9; }
  .pak-home .ph-mat__body { padding: 22px 20px 24px; }
}

/* ==========================================================================
   9. Process
   ========================================================================== */
.pak-home .ph-pr__wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.pak-home .ph-pr__intro .ph-head { margin-bottom: 0; }
.pak-home .ph-pr__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 48px; margin: 36px 0 0; padding: 30px 0 0; list-style: none; border-top: 1px solid #DDE1EC; }
.pak-home .ph-pr__stat { margin: 0; }
.pak-home .ph-pr__stat strong { display: block; font-size: 34px; font-weight: 700; line-height: 1; color: var(--ph-navy); }
.pak-home .ph-pr__stat span { display: block; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ph-muted); }
.pak-home .ph-pr__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #DDE1EC; }
.pak-home .ph-pr__item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 20px; gap: 24px; align-items: center; margin: 0; padding: 24px 0; border-bottom: 1px solid #DDE1EC; }
.pak-home .ph-pr__item::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: var(--ph-red); transform: scaleX(0); transform-origin: left; transition: transform .6s ease; }
.pak-home .ph-pr__media { display: block; width: 96px; height: 96px; overflow: hidden; border-radius: 10px; background: var(--ph-light); }
.pak-home .ph-pr__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pak-home .ph-pr__text { min-width: 0; }
.pak-home .ph-pr__text h3 { margin: 0 0 6px; font-size: 22px !important; font-weight: 700 !important; line-height: 28px !important; color: var(--ph-navy); transition: transform .45s ease; }
.pak-home .ph-pr__text p { max-width: 470px; font-size: 17px; line-height: 1.6; color: var(--ph-text); transition: transform .45s ease; }
.pak-home .ph-pr__star { align-self: start; padding-top: 4px; font-size: 16px; line-height: 1; color: #CDD2E3; transition: color .3s, transform .6s ease; }
.pak-home .ph-pr__item:hover::after { transform: scaleX(1); }
.pak-home .ph-pr__item:hover h3,
.pak-home .ph-pr__item:hover p { transform: translateX(6px); }
.pak-home .ph-pr__item:hover .ph-pr__star { color: var(--ph-red); transform: rotate(144deg) scale(1.25); }
@media (min-width: 992px) { .pak-home .ph-pr__intro { position: sticky; top: 110px; } }
@media (max-width: 1199px) {
  .pak-home .ph-pr__wrap { gap: 48px; }
  .pak-home .ph-pr__item { grid-template-columns: 84px minmax(0, 1fr) 18px; gap: 20px; }
  .pak-home .ph-pr__media { width: 84px; height: 84px; }
}
@media (max-width: 991px) { .pak-home .ph-pr__wrap { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 767px) {
  .pak-home .ph-pr__text h3 { font-size: 19px !important; line-height: 25px !important; }
  .pak-home .ph-pr__text p { font-size: 16px; }
}
@media (max-width: 575px) {
  .pak-home .ph-pr__wrap { gap: 32px; }
  .pak-home .ph-pr__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; padding-top: 24px; }
  .pak-home .ph-pr__stat strong { font-size: 26px; }
  .pak-home .ph-pr__stat span { font-size: 10px; letter-spacing: .1em; }
  .pak-home .ph-pr__item { grid-template-columns: 68px minmax(0, 1fr); gap: 16px; padding: 18px 0; align-items: start; }
  .pak-home .ph-pr__media { width: 68px; height: 68px; }
  .pak-home .ph-pr__star { display: none; }
  .pak-home .ph-pr__text h3 { font-size: 18px !important; line-height: 24px !important; }
  .pak-home .ph-pr__text p { font-size: 15px; }
  .pak-home .ph-pr__item:hover h3,
  .pak-home .ph-pr__item:hover p { transform: none; }
}

/* ==========================================================================
   10. Reviews
   ========================================================================== */
.pak-home .ph-rev__card { position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 30px 28px 26px; overflow: hidden; background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); user-select: none; transition: transform .45s ease, box-shadow .45s ease, border-color .45s ease; }
.pak-home .ph-rev__card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--ph-red); transform: scaleX(0); transform-origin: left; transition: transform .55s ease; }
.pak-home .ph-rev__top { display: flex; align-items: flex-start; justify-content: space-between; height: 30px; margin-bottom: 14px; }
.pak-home .ph-rev__stars { font-size: 19px; line-height: 1; letter-spacing: 3px; color: #F5A623; }
.pak-home .ph-rev__quote { height: 30px; font-size: 64px; font-weight: 700; line-height: .95; color: #FDE3E7; transition: color .4s; }
.pak-home .ph-rev__text { flex: 1; margin: 0 0 24px; padding: 0; font-size: 17px; font-style: normal; line-height: 1.7; color: var(--ph-text); background: none; border: 0; quotes: none; }
.pak-home .ph-rev__text::before,
.pak-home .ph-rev__text::after { content: none; }
.pak-home .ph-rev__author { font-style: normal; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid #EDEFF5; }
.pak-home .ph-rev__avatar { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; font-size: 15px; font-weight: 700; color: #fff; background: var(--ph-navy); border-radius: 50%; transition: background .4s; }
.pak-home .ph-rev__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pak-home .ph-rev__who strong { font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--ph-ink); }
.pak-home .ph-rev__who span { font-size: 14px; line-height: 1.3; color: var(--ph-muted); }
.pak-home .ph-rev__card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 20px 40px rgba(42,55,117,.13); }
.pak-home .ph-rev__card:hover::after { transform: scaleX(1); }
.pak-home .ph-rev__card:hover .ph-rev__quote { color: var(--ph-red); }
.pak-home .ph-rev__card:hover .ph-rev__avatar { background: var(--ph-red); }
@media (max-width: 767px) {
  .pak-home .ph-rev__card { padding: 24px 20px 20px; }
  .pak-home .ph-rev__text { font-size: 16px; }
}

/* ==========================================================================
   11. SEO text box
   ========================================================================== */
.pak-home .ph-seo__grid { display: grid; grid-template-columns: minmax(0, 65fr) minmax(0, 33fr); gap: 2%; align-items: stretch; }
.pak-home .ph-seo__grid.is-solo { grid-template-columns: 1fr; }
.pak-home .ph-seo__box { padding: 20px; background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); }
.pak-home .ph-seo__scroll { height: 520px; padding-right: 18px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: var(--ph-red) #F6F6F6; }
.pak-home .ph-seo__scroll::-webkit-scrollbar { width: 10px; }
.pak-home .ph-seo__scroll::-webkit-scrollbar-track { margin: 10px 0; background: #F6F6F6; border-radius: 10px; }
.pak-home .ph-seo__scroll::-webkit-scrollbar-thumb { background: var(--ph-red); border-radius: 15px; }
.pak-home .ph-seo__scroll :is(h2, h3, h4) { margin: 0 0 10px; font-weight: 700 !important; color: var(--ph-ink); }
.pak-home .ph-seo__scroll h2 { font-size: var(--pak-h2-article, 28px) !important; line-height: 1.3 !important; color: var(--ph-navy); }
.pak-home .ph-seo__scroll h2:not(:first-child) { margin-top: 26px; }
.pak-home .ph-seo__scroll h3 { margin-top: 20px; font-size: var(--pak-h3, 21px) !important; line-height: 1.35 !important; color: var(--ph-navy); }
.pak-home .ph-seo__scroll p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: var(--ph-text); }
.pak-home .ph-seo__scroll ul { margin: 0 0 16px; padding-left: 22px; }
.pak-home .ph-seo__scroll li { margin: 0 0 6px; font-size: 16px; line-height: 1.6; color: var(--ph-text); }
.pak-home .ph-seo__scroll li::marker { color: var(--ph-red); }
.pak-home .ph-seo__scroll a { color: var(--ph-red); }
.pak-home .ph-seo__media { min-height: 360px; background-position: center center; background-size: cover; background-repeat: no-repeat; border-radius: var(--ph-radius); }
@media (max-width: 991px) {
  .pak-home .ph-seo__grid { grid-template-columns: 1fr; gap: 20px; }
  .pak-home .ph-seo__media { order: -1; min-height: 300px; }
}
@media (max-width: 767px) {
  .pak-home .ph-seo__box { padding: 10px; }
  .pak-home .ph-seo__scroll { height: 440px; padding-right: 12px; }
  .pak-home .ph-seo__scroll h2 { font-size: 20px !important; }
  .pak-home .ph-seo__scroll h3 { font-size: 18px !important; }
  .pak-home .ph-seo__media { min-height: 240px; }
}

/* ==========================================================================
   12. FAQ
   ========================================================================== */
.pak-home .ph-faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; align-items: start; }
.pak-home .ph-faq__item { border-bottom: 1px solid #E3E6EF; }
.pak-home .ph-faq__item summary {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ph-navy);
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}
.pak-home .ph-faq__item summary::-webkit-details-marker { display: none; }
.pak-home .ph-faq__item summary:hover,
.pak-home .ph-faq__item[open] summary { color: var(--ph-red); }
.pak-home .ph-faq__icon { position: relative; flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px; background: currentColor; border-radius: 50%; color: var(--ph-navy); transition: background .2s; }
.pak-home .ph-faq__item summary:hover .ph-faq__icon,
.pak-home .ph-faq__item[open] .ph-faq__icon { color: var(--ph-red); }
.pak-home .ph-faq__icon::before,
.pak-home .ph-faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; background: #fff; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .25s ease; }
.pak-home .ph-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.pak-home .ph-faq__item[open] .ph-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.pak-home .ph-faq__answer { padding: 0 4px 20px 43px; }
.pak-home .ph-faq__answer p { font-size: 15px; line-height: 1.7; color: var(--ph-text); }
.pak-home .ph-faq__item[open] .ph-faq__answer { animation: ph-fade .35s var(--ph-ease); }
@media (max-width: 991px) { .pak-home .ph-faq__grid { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .pak-home .ph-faq__item summary { gap: 12px; padding: 16px 0; font-size: 15px; }
  .pak-home .ph-faq__answer { padding: 0 0 18px 34px; }
}

/* ==========================================================================
   13. Latest blogs
   ========================================================================== */
.pak-home .ph-blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pak-home .ph-blog__card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--ph-line); border-radius: var(--ph-radius); transition: transform .35s var(--ph-ease), box-shadow .35s var(--ph-ease); }
.pak-home .ph-blog__card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(42,55,117,.12); }
.pak-home .ph-blog__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ph-light); }
.pak-home .ph-blog__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ph-ease); }
.pak-home .ph-blog__card:hover .ph-blog__media img { transform: scale(1.05); }
.pak-home .ph-blog__cat { position: absolute; top: 14px; left: 14px; padding: 6px 12px; font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--ph-red); border-radius: 999px; }
.pak-home .ph-blog__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 22px 22px 24px; }
.pak-home .ph-blog__date { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ph-muted); }
.pak-home .ph-blog__title { font-size: 20px !important; font-weight: 700; line-height: 1.35 !important; }
.pak-home .ph-blog__title a { color: var(--ph-navy); text-decoration: none; }
.pak-home .ph-blog__title a:hover { color: var(--ph-red); }
.pak-home .ph-blog__text { font-size: 15px; line-height: 1.65; color: var(--ph-text); }
.pak-home .ph-blog__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--ph-red); text-decoration: none; }
.pak-home .ph-blog__more svg { width: 15px; height: 15px; transition: transform .25s; }
.pak-home .ph-blog__more:hover svg { transform: translateX(4px); }
@media (max-width: 991px) {
  .pak-home .ph-blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .pak-home .ph-blog__grid { grid-template-columns: 1fr; } }

/* Photos that fill a fixed box (the global "height: auto" rule would shrink them). */
.pak-home :is(.ph-blog__media, .ph-mat__media, .ph-pr__media, .pak-pcard__media) img { height: 100% !important; }
.pak-home .ph-hero__media img { height: 100% !important; }
@media (max-width: 767px) { .pak-home .ph-slide__mobile-img { height: auto !important; } }

/* Without the quote form, the four feature cards sit in one row. */
@media (min-width: 992px) {
  .pak-home .ph-fq__grid.is-solo .ph-fq__title { max-width: 760px; }
  .pak-home .ph-fq__grid.is-solo .ph-fq__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .pak-home *, .pak-home *::before, .pak-home *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .pak-home .ph-ticker__track { animation: ph-ticker 120s linear infinite !important; }
}

/* Industry cards: no description or divider, photo fills the whole image area. */
.pak-home .ph-ind__text { display: none; }
.pak-home .ph-ind__acts { border-top: 0; padding-top: 16px; }
.pak-home .ph-ind__media img { width: 100% !important; height: 100% !important; max-width: none !important; }

/* Features + quote form from a shortcode ([single_product]): the shortcode
   brings its own layout, spacing and background. */
.pak-home .ph-fq--shortcode { padding: 0 !important; }
.pak-home .ph-fq--shortcode > * { max-width: 100%; }
