/* =============================================================
   TELSA MEDIA — Premium Layer
   Awwwards-tier richness: grain, cursor states, kinetic type,
   image-follow work list, sticky stacks, page transitions
   ============================================================= */

/* -------------------------------------------------------------
   1. Film grain texture
   ------------------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 6; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grain-shift 0.6s steps(3) infinite; }
}
@keyframes grain-shift {
  0% { transform: translate(0,0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -4%); } 100% { transform: translate(0,0); }
}

/* -------------------------------------------------------------
   2. Cursor states (label + view/drag)
   ------------------------------------------------------------- */
.cursor-label {
  position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  transform: translate(-50%, -50%) scale(0.5);
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; color: #fff; text-transform: uppercase;
  padding: 0.55rem 0.9rem; border-radius: var(--r-pill);
  background: var(--pink); box-shadow: var(--shadow-pink);
  opacity: 0; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  white-space: nowrap;
}
.cursor-label.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none), (pointer: coarse) { .cursor-label { display: none; } }

/* -------------------------------------------------------------
   3. Clip-path reveals
   ------------------------------------------------------------- */
[data-clip] { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out); will-change: clip-path; }
[data-clip="up"] { clip-path: inset(100% 0 0 0); }
[data-clip].in { clip-path: inset(0 0 0 0); }

/* -------------------------------------------------------------
   4. Kinetic oversized type (scroll-reactive statement)
   ------------------------------------------------------------- */
.kinetic { position: relative; 
  /* padding-block: clamp(4rem, 10vw, 9rem);  */
  overflow: hidden; }
.kinetic__line {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 8.5vw, 8rem); line-height: 0.98; letter-spacing: -0.03em;
  color: var(--ink); white-space: nowrap; will-change: transform;
}
.kinetic__line .o { color: transparent; -webkit-text-stroke: 1.2px var(--line-strong); }
.kinetic__line em { font-style: italic; font-weight: 400; }
.kinetic--center { text-align: center; }

/* -------------------------------------------------------------
   5. Image-follow project list (signature interaction)
   ------------------------------------------------------------- */
.worklist { position: relative; border-top: 1px solid var(--line); }
.worklist__row {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) 0; border-bottom: 1px solid var(--line);
  cursor: pointer; z-index: 2;
}
.worklist__row .idx { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-3); width: 3ch; flex: 0 0 auto; }
.worklist__row .name {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 4.5vw, 3.4rem); line-height: 1; color: var(--ink);
  transition: transform 0.5s var(--ease), color 0.4s var(--ease), opacity 0.4s var(--ease);
  flex: 1;
}
.worklist__row .cat { font-size: var(--fs-sm); font-weight: 600; color: var(--text-3); white-space: nowrap; transition: color 0.4s var(--ease); }
.worklist__row .go { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: var(--ink); transition: all 0.45s var(--ease); }
.worklist__row .go svg { width: 18px; height: 18px; }
.worklist:hover .worklist__row .name { opacity: 0.35; }
.worklist__row:hover .name { opacity: 1; transform: translateX(1.5rem); color: var(--pink); }
.worklist__row:hover .cat { color: var(--ink); }
.worklist__row:hover .go { background: var(--pink); border-color: var(--pink); color: #fff; transform: rotate(0); }
.worklist__preview {
  position: fixed; top: 0; left: 0; z-index: 4; width: 300px; height: 380px; margin: -190px 0 0 -150px;
  border-radius: var(--r-lg); overflow: hidden; pointer-events: none;
  opacity: 0; transform: scale(0.8) rotate(-6deg); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
  box-shadow: var(--shadow-lg); will-change: transform;
}
.worklist__preview.show { opacity: 1; transform: scale(1) rotate(0); }
.worklist__preview i { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s var(--ease); }
.worklist__preview i.active { opacity: 1; }
.worklist__preview .pv-mark { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 860px) {
  .worklist__row { flex-wrap: wrap; gap: 0.5rem 1rem; }
  .worklist__row:hover .name { transform: none; }
  .worklist__row .cat { width: 100%; order: 3; }
  .worklist__preview { display: none; }
}

/* -------------------------------------------------------------
   6. Sticky stacking cards
   ------------------------------------------------------------- */
.stack { position: relative; }
.stack__card {
  position: sticky; top: calc(var(--nav-h) + 2rem);
  border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line); overflow: hidden;
  min-height: 340px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-lg);
}
.stack__card + .stack__card { margin-top: 2rem; }
.stack__card:nth-child(1) { top: calc(var(--nav-h) + 2rem); }
.stack__card:nth-child(2) { top: calc(var(--nav-h) + 3rem); }
.stack__card:nth-child(3) { top: calc(var(--nav-h) + 4rem); }
.stack__card:nth-child(4) { top: calc(var(--nav-h) + 5rem); }
.stack__num { font-family: var(--font-display); font-size: 0.9rem; letter-spacing: 0.1em; opacity: 0.6; }
.stack__card h3 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 1rem 0; }
.stack__card p { max-width: 620px; }
.stack__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.stack__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.stack__tags span { font-size: var(--fs-xs); font-weight: 600; padding: 0.4rem 0.85rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.5); border: 1px solid var(--line); }
.stack__card--dark { background: var(--ink); color: rgba(255,255,255,0.72); border-color: transparent; }
.stack__card--dark h3 { color: #fff; }
.stack__card--dark p { color: rgba(255,255,255,0.72); }
.stack__card--dark .stack__tags span { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.85); }
.stack__glow { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }

/* -------------------------------------------------------------
   7. Horizontal scroll showcase
   ------------------------------------------------------------- */
.hscroll { position: relative; }
.hscroll__pin { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hscroll__track { display: flex; gap: clamp(1.25rem, 2.5vw, 2rem); padding-inline: var(--gutter); will-change: transform; }
.hscroll__panel {
  flex: 0 0 auto; width: min(440px, 80vw); aspect-ratio: 3/4; border-radius: var(--r-lg);
  position: relative; overflow: hidden; border: 1px solid var(--line);
}
.hscroll__panel .hp-body { position: absolute; inset: 0; z-index: 2; padding: 2rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(180deg, transparent 40%, rgba(20,20,26,.8)); }
.hscroll__panel h3 { color: #fff; }
.hscroll__intro { flex: 0 0 auto; width: min(420px, 80vw); padding-inline: var(--gutter); }
@media (max-width: 860px) {
  .hscroll__pin { height: auto; display: block; padding-block: 2rem; }
  .hscroll__track { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; }
  .hscroll__panel { scroll-snap-align: center; }
}

/* -------------------------------------------------------------
   8. Awards / recognition strip
   ------------------------------------------------------------- */
.awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.award {
  display: flex; flex-direction: column; gap: 0.35rem; padding: 1.5rem; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.award:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.award__badge { display: flex; align-items: center; gap: 0.5rem; color: var(--pink); font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; }
.award__badge svg { width: 18px; height: 18px; }
.award h4 { font-family: var(--font-display); font-size: 1.15rem; }
.award p { font-size: var(--fs-xs); color: var(--text-3); margin: 0; }
@media (max-width: 860px) { .awards { grid-template-columns: repeat(2, 1fr); } }

/* -------------------------------------------------------------
   9. Scroll-velocity marquee (skew handled via JS var)
   ------------------------------------------------------------- */
.marquee__track, .tst-track { transform: skewX(var(--skew, 0deg)); transition: transform 0.3s var(--ease); }


/* -------------------------------------------------------------
   11. Marquee band variant (big editorial)
   ------------------------------------------------------------- */
.bigmarquee { overflow: hidden; padding-block: clamp(1.5rem, 3vw, 2.5rem); border-block: 1px solid var(--line); }
.bigmarquee .marquee__track { align-items: center; }
.bigmarquee .bm-item { display: inline-flex; align-items: center; gap: 1.25rem; padding-inline: 1.5rem; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: -0.02em; color: var(--ink); }
.bigmarquee .bm-item.o { color: transparent; -webkit-text-stroke: 1.2px var(--line-strong); }
.bigmarquee .bm-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); flex: 0 0 auto; }

/* -------------------------------------------------------------
   12. Tilt / 3D hover for feature media
   ------------------------------------------------------------- */
[data-tilt] { transform-style: preserve-3d; transition: transform 0.4s var(--ease); will-change: transform; }
[data-tilt] > * { transform: translateZ(0); }

/* Work tiles that carry a real preview image: drop the gradient sheen/grid overlay */
.work-card__img.has-img::before, .work-card__img.has-img::after { display: none; }

/* Case-study results band: 3 across, stacking cleanly on small screens */
.stats.stats--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .stats.stats--3 { grid-template-columns: 1fr; gap: 2rem; } }

/* -------------------------------------------------------------
   13b. Trust / recognition strip
   ------------------------------------------------------------- */
.trust { border-block: 1px solid var(--line); }
.trust__inner { padding-block: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.75rem; }
.trust__label { text-align: center; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-3); }
.trust__logos { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; }
.trust__logos .marquee__track { display: flex; width: max-content; align-items: center; animation: marquee 34s linear infinite; }
.trust__logos:hover .marquee__track { animation-play-state: paused; }
.trust__logos .cl {
  flex: 0 0 auto; padding-inline: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.6rem);
  letter-spacing: -0.01em; color: var(--text-3); opacity: 0.7; transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
  display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap;
}
.trust__logos .cl:hover { opacity: 1; color: var(--ink); }
.trust__logos .cl::before { content: ""; width: 20px; height: 20px; border-radius: 5px; background: var(--grad-brand); opacity: 0.85; }
.trust__chips { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* -------------------------------------------------------------
   13c. Card gradient-border sheen on hover (subtle)
   ------------------------------------------------------------- */
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.4px; pointer-events: none;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s var(--ease); z-index: 3;
}
.card:hover::after { opacity: 0.55; }

/* -------------------------------------------------------------
   14. Service landing page (conversion)
   ------------------------------------------------------------- */
/* Hero: pitch + quote form */
.svc-hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.svc-quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.svc-quote::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-brand); }
.svc-quote h3 { font-size: var(--fs-h4); margin-bottom: 0.35rem; }
.svc-quote .field { margin-bottom: 0.9rem; }
.svc-quote .field input, .svc-quote .field textarea { padding: 0.8rem 1rem; }
.svc-quote textarea { min-height: 84px; }
.svc-quote__reassure { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.75rem; font-size: var(--fs-xs); color: var(--text-3); }
.svc-quote__reassure svg { width: 15px; height: 15px; color: var(--cyan); flex: 0 0 auto; }

/* Trust badges row */
.guarantees { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: center; }
.guarantee { display: inline-flex; align-items: center; gap: 0.6rem; font-size: var(--fs-sm); font-weight: 600; color: var(--text-2); }
.guarantee svg { width: 20px; height: 20px; color: var(--pink); flex: 0 0 auto; }

/* Deliverables checklist */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 500; color: var(--text); }
.checks .ck { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(233,30,143,0.1); color: var(--pink); margin-top: 1px; }
.checks .ck svg { width: 15px; height: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.75rem, 3vw, 2.25rem); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { border-color: transparent; box-shadow: var(--shadow-lg); position: relative; background: linear-gradient(180deg, #fff, #fff) padding-box, var(--grad-brand) border-box; border: 2px solid transparent; }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad-brand); color: #fff; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.4rem 0.9rem; border-radius: var(--r-pill); white-space: nowrap; }
.price-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.price-card__desc { font-size: var(--fs-sm); color: var(--text-3); margin-top: 0.25rem; min-height: 2.6em; }
.price-card__price { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: -0.02em; margin: 1.1rem 0 0.25rem; }
.price-card__price small { font-size: var(--fs-sm); font-weight: 500; color: var(--text-3); display: block; letter-spacing: 0; font-family: var(--font-body); }
.price-card ul { display: grid; gap: 0.6rem; margin: 1.25rem 0 1.5rem; }
.price-card li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-2); }
.price-card li svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--pink); margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* Sticky conversion CTA bar */
.svc-sticky {
  position: fixed; left: 50%; bottom: clamp(0.75rem, 2vw, 1.25rem); transform: translate(-50%, 200%);
  z-index: 900; width: min(920px, calc(100% - 1.5rem));
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  padding: 0.7rem 0.75rem 0.7rem 1.5rem; border-radius: var(--r-pill);
  background: rgba(20,20,26,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg); transition: transform 0.5s var(--ease); color: #fff;
}
.svc-sticky.show { transform: translate(-50%, 0); }
.svc-sticky__txt { font-weight: 600; font-size: var(--fs-sm); min-width: 0; }
.svc-sticky__txt b { color: #fff; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-sticky__txt span { color: rgba(255,255,255,0.6); display: block; font-weight: 500; font-size: var(--fs-xs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-sticky .btn { flex: 0 0 auto; white-space: nowrap; }
.svc-sticky__close { flex: 0 0 auto; color: rgba(255,255,255,0.5); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.svc-sticky__close:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* "What's included" card grid */
.inc-grid { gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.inc-card { display: flex; flex-direction: column; padding: clamp(1.75rem, 3vw, 2.5rem); }
.inc-card h3 { margin-bottom: 0.75rem; }
.inc-card p { flex: 1 1 auto; font-size: var(--fs-sm); }
.inc-card .card__num { font-size: 0.95rem; }

@media (max-width: 1024px) { .svc-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 900px)  { .checks { grid-template-columns: repeat(2, 1fr); } .pricing { grid-template-columns: 1fr; } .price-card--featured { transform: none; } }
@media (max-width: 640px) {
  .checks { grid-template-columns: 1fr; }
  .svc-sticky { gap: 0.75rem; padding: 0.55rem 0.55rem 0.55rem 1.15rem; }
  .svc-sticky__txt span { display: none; }
  .svc-sticky__txt b { font-size: var(--fs-sm); }
  .svc-sticky .btn { padding: 0.8rem 1.15rem; font-size: var(--fs-sm); }
}
/* Smallest phones: drop the label and let the CTA fill the bar so nothing is cramped */
@media (max-width: 430px) {
  .svc-sticky { width: calc(100% - 1rem); left: 0.5rem; transform: translate(0, 200%); padding-left: 0.75rem; }
  .svc-sticky.show { transform: translate(0, 0); }
  .svc-sticky__txt { display: none; }
  .svc-sticky .btn { flex: 1 1 auto; }
}

/* -------------------------------------------------------------
   13. Reduced motion
   ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  [data-clip] { clip-path: none !important; }
  .kinetic__line, .hscroll__track, .marquee__track, .tst-track { transform: none !important; }
  .cursor-label { display: none; }
  .stack__card { position: static; }
  .pf-shot img, .pf-nextcard { transition: none !important; }
}

/* -------------------------------------------------------------
   14. Portfolio case-study pages
   ------------------------------------------------------------- */
.pf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); flex: 0 0 auto; }

/* hero meta row */
.pf-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1.1rem, 3vw, 2.5rem); margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.pf-meta { display: flex; flex-direction: column; gap: 0.3rem; }
.pf-meta__k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 700; }
.pf-meta__v { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); max-width: 30ch; }
.pf-meta-row .btn { margin-left: auto; }

/* screenshot frame */
.pf-shot { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #17171b; aspect-ratio: 16 / 10; }
.pf-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 1.2s var(--ease); }
.pf-shot:hover img { transform: scale(1.03); }
.pf-shot__badge { position: absolute; left: clamp(0.75rem, 2vw, 1.25rem); bottom: clamp(0.75rem, 2vw, 1.25rem); display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(20,20,26,0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: var(--fs-sm); font-weight: 600; padding: 0.55rem 1rem; border-radius: var(--r-pill); border: 1px solid rgba(255,255,255,0.18); }
.pf-shot__badge svg { width: 1em; height: 1em; }

/* challenge & solution */
.pf-cs { align-items: stretch; }
.pf-cs__card { display: flex; flex-direction: column; gap: 1rem; padding: clamp(1.75rem, 3vw, 2.5rem); }
.pf-cs__tag { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.pf-cs__num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 9px; background: var(--grad-brand); color: #fff; font-size: 0.8rem; font-weight: 700; flex: 0 0 auto; }
.pf-cs__card p { color: var(--text-2); line-height: 1.65; margin: 0; }

/* services delivered */
.pf-services { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.pf-services__k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); font-weight: 700; }
.pf-services__tags { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pf-services .chip { align-items: center; }

/* "At a glance" facts contain words ("WordPress", "Matchday") as well as numbers.
   Lower the value's font floor so long words fit their column on small screens
   (each word's min-content then fits the 2-col share). Desktop keeps its min-content
   floor so nothing clips there — hence no min-width:0. 5vw / 4.2rem cap = unchanged. */
.pf-facts .stat__num { font-size: clamp(1.5rem, 5vw, 4.2rem); line-height: 1.05; }
.pf-facts .stat__label { overflow-wrap: break-word; }
@media (max-width: 600px) { .pf-facts { gap: 1.9rem 1rem; } }

/* -------------------------------------------------------------
   15. Trustpilot badge
   ------------------------------------------------------------- */
.tp-center { display: flex; justify-content: center; margin-top: clamp(1.1rem, 2.5vw, 1.6rem); }
.tp-badge { display: inline-flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; text-decoration: none; color: var(--ink); line-height: 1; transition: opacity 0.3s var(--ease); }
.tp-badge:hover { opacity: 0.82; }
.tp-badge--dark { color: #fff; }
.tp-logo { display: inline-flex; align-items: center; gap: 0.35rem; }
.tp-logo__star { width: 21px; height: 21px; flex: 0 0 auto; }
.tp-logo__word { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 1.05rem; color: inherit; }
.tp-stars { display: inline-flex; gap: 3px; }
.tp-star { width: 23px; height: 23px; border-radius: 3px; display: block; flex: 0 0 auto; }
.tp-badge__meta { font-size: var(--fs-sm); font-weight: 600; color: inherit; opacity: 0.9; }
.tp-badge__meta strong { font-weight: 700; opacity: 1; color: inherit; }
.tp-dot { opacity: 0.45; margin: 0 0.1rem; }
/* compact (hero, footer) */
.tp-badge--compact { gap: 0.5rem; }
.tp-badge--compact .tp-logo__word { font-size: 0.98rem; }
.tp-badge--compact .tp-star { width: 19px; height: 19px; }
.tp-badge--compact .tp-badge__meta { font-size: var(--fs-xs); }
@media (max-width: 640px) { .hidden-mobile { display: none !important; } }

/* Trustpilot review cards (testimonials marquee) */
.tst--static { width: auto; }
.tst__tp { display: flex; }
.tst__tp .tp-stars { gap: 2px; }
.tst__tp .tp-star { width: 21px; height: 21px; }
.tst__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.2; }
.tst .tst__quote { font-size: 1.02rem; color: var(--text-2); }
.tst__av--tp { background: #fff; border: 1px solid var(--line); }
.tst__av--tp .tp-mark { width: 26px; height: 26px; }
.tst { gap: 0.9rem; }
.tst .tst__who { margin-top: auto; padding-top: 0.35rem; }

.footer .tp-badge { margin-top: 1.25rem; row-gap: 0.55rem; }
.footer .tp-badge__meta { flex-basis: 100%; }
@media (max-width: 400px) { .tp-badge__meta { flex-basis: 100%; } }

/* visit-live + next project */
.pf-next { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.pf-next__live { display: flex; flex-direction: column; justify-content: center; }
.pf-next__live p { color: var(--text-2); margin-top: 0.75rem; max-width: 46ch; }
.pf-next__actions { margin-top: 1.5rem; }
.pf-nextcard { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.4rem; min-height: 260px; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--r-lg); color: #fff; background: #17171b; box-shadow: var(--shadow-lg); transition: transform 0.5s var(--ease); }
.pf-nextcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 0; transition: transform 0.7s var(--ease); }
.pf-nextcard__tint { position: absolute; inset: 0; z-index: 1; opacity: 0.58; mix-blend-mode: multiply; }
.pf-nextcard::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,0) 22%, rgba(0,0,0,0.74)); }
.pf-nextcard__k, .pf-nextcard__t, .pf-nextcard__s { position: relative; z-index: 3; }
.pf-nextcard:hover { transform: translateY(-4px); }
.pf-nextcard:hover .pf-nextcard__img { transform: scale(1.05); }
.pf-nextcard__k { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; opacity: 0.92; display: inline-flex; align-items: center; gap: 0.4rem; }
.pf-nextcard__k svg { width: 1em; height: 1em; }
.pf-nextcard__t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.05; }
.pf-nextcard__s { font-size: var(--fs-sm); opacity: 0.85; }

@media (max-width: 800px) {
  .pf-next { grid-template-columns: 1fr; }
  .pf-meta-row .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* -------------------------------------------------------------
   16. Promo modal (lead-gen popup) — dark, on-brand
   ------------------------------------------------------------- */
.pm-overlay {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(8, 8, 12, 0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0.75rem, 3vw, 2rem);
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.pm-overlay.open { opacity: 1; visibility: visible; }
body.pm-open { overflow: hidden; }

.pm {
  position: relative; width: 100%; max-width: 940px; max-height: 92vh;
  color: #fff; border-radius: var(--r-xl); border: 1px solid rgba(255,255,255,0.1);
  background:
    radial-gradient(620px circle at 2% 0%, rgba(233,30,143,0.22), transparent 42%),
    radial-gradient(620px circle at 100% 108%, rgba(17,197,217,0.20), transparent 44%),
    var(--ink);
  box-shadow: 0 50px 130px -30px rgba(0,0,0,0.75);
  overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  transform: translateY(16px) scale(0.98); transition: transform 0.5s var(--ease);
}
.pm-overlay.open .pm { transform: none; }
/* inner scroll layer — keeps .pm's rounded corners clipping cleanly while content scrolls */
.pm__scroll { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; -ms-overflow-style: none; display: grid; grid-template-columns: 1.08fr 0.92fr; }
.pm__scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }
.pm__blob { position: absolute; border-radius: 50%; filter: blur(72px); z-index: 0; pointer-events: none; }
.pm__blob--a { width: 320px; height: 320px; background: var(--purple); top: -130px; left: -40px; opacity: 0.28; }
.pm__blob--b { width: 260px; height: 260px; background: var(--pink); bottom: -90px; right: 38%; opacity: 0.18; }

.pm__close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); cursor: pointer;
  background: rgba(255,255,255,0.08); color: #fff; font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.pm__close:hover { background: rgba(255,255,255,0.18); transform: rotate(90deg); }

/* Left — value + bonuses */
.pm__left { position: relative; z-index: 1; padding: clamp(1.75rem, 3.5vw, 2.75rem); display: flex; flex-direction: column; gap: 1rem; }
.pm__eyebrow { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink); }
.pm__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0; line-height: 1.08; color: #fff; }
.pm__sub { color: rgba(255,255,255,0.68); margin: 0; line-height: 1.55; font-size: var(--fs-sm); }
.pm__benefits { list-style: none; margin: 0.3rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.pm__benefits li { display: flex; gap: 0.8rem; align-items: center; }
.pm__ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px; background: var(--grad-pink-purple); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -8px rgba(233,30,143,0.6); }
.pm__ic svg { width: 20px; height: 20px; }
.pm__benefits strong { display: block; font-size: 0.98rem; color: #fff; font-weight: 700; line-height: 1.2; }
.pm__benefits li > div span { font-size: var(--fs-xs); color: rgba(255,255,255,0.6); }
.pm__rating { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0.5rem; font-size: var(--fs-sm); color: rgba(255,255,255,0.66); margin: auto 0 0; padding-top: 0.4rem; line-height: 1.5; }
.pm__rating svg { flex: 0 0 auto; width: 15px; height: 15px; color: #ffc93c; margin-top: 3px; }
.pm__rating strong { color: #fff; font-weight: 700; }

/* Right — action */
.pm__right {
  position: relative; z-index: 1; padding: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex; flex-direction: column; justify-content: center; gap: 0.9rem;
  background: rgba(255,255,255,0.035); border-left: 1px solid rgba(255,255,255,0.09);
}
.pm__pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem; background: rgba(255,159,67,0.14); color: #ffb877; font-size: var(--fs-xs); font-weight: 700; padding: 0.5rem 1rem; border-radius: var(--r-pill); border: 1px solid rgba(255,159,67,0.32); }
.pm__pill svg { width: 15px; height: 15px; }
.pm__rh { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0.2rem 0 0; line-height: 1.1; color: #fff; }
.pm__rsub { font-size: var(--fs-sm); color: rgba(255,255,255,0.66); margin: 0 0 0.3rem; line-height: 1.5; }
.pm__btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.1rem; border-radius: var(--r-md); font-weight: 700; font-size: 1.05rem; text-decoration: none; color: #fff; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.pm__btn svg { width: 20px; height: 20px; }
.pm__btn:hover { transform: translateY(-2px); }
.pm__btn--wa { background: #25D366; box-shadow: 0 14px 30px -12px rgba(37,211,102,0.9); }
.pm__btn--wa:hover { background: #2ee06e; }
.pm__btn--call { background: var(--grad-brand); box-shadow: 0 14px 30px -12px rgba(233,30,143,0.7); }
.pm__or { display: flex; align-items: center; gap: 0.85rem; color: rgba(255,255,255,0.4); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pm__or::before, .pm__or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
.pm__secure { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-xs); color: rgba(255,255,255,0.45); margin: 0.3rem 0 0; }
.pm__secure svg { width: 14px; height: 14px; }

@media (max-width: 720px) {
  .pm { max-width: 460px; }
  .pm__scroll { grid-template-columns: 1fr; }
  /* action panel first on mobile, value/bonuses below */
  .pm__right { order: -1; border-left: none; }
  .pm__left { border-top: 1px solid rgba(255,255,255,0.09); }
  .pm__rating { margin-top: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pm-overlay, .pm, .pm__close, .pm__btn { transition: none; }
  .pm__close:hover, .pm__btn:hover { transform: none; }
}

/* -------------------------------------------------------------
   17. Floating "Call us" button (mobile only)
   ------------------------------------------------------------- */
.fab-call {
  position: fixed; z-index: 940;
  right: calc(0.9rem + env(safe-area-inset-right, 0px));
  bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.25rem; border-radius: var(--r-pill);
  background: var(--grad-brand); color: #fff; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; box-shadow: 0 12px 30px -6px rgba(233,30,143,0.6);
  transition: transform 0.3s var(--ease);
}
.fab-call svg { width: 20px; height: 20px; flex: 0 0 auto; }
.fab-call:active { transform: scale(0.95); }
@media (max-width: 768px) {
  .fab-call { display: inline-flex; animation: fab-pulse 2.6s ease-in-out infinite; }
}
/* keep it out of the way of the full-screen overlays */
body.pm-open .fab-call, body.menu-open .fab-call { display: none; }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 12px 30px -6px rgba(233,30,143,0.55), 0 0 0 0 rgba(233,30,143,0.4); }
  50%      { box-shadow: 0 12px 30px -6px rgba(233,30,143,0.55), 0 0 0 12px rgba(233,30,143,0); }
}
@media (prefers-reduced-motion: reduce) { .fab-call { animation: none; } }
