/* ProfitX3 marketing site — shared with restaurant.html tokens */
:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --text: #1d1d1f;
  --muted: #86868b;
  --hero-soft: #5c5c61;
  --line: #e8e8ed;
  --ink: #1d1d1f;
  --accent: #0071e3;
  --google-blue: #1a73e8;
  --max: 1080px;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
.px3-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(251,251,253,0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.28s ease;
  will-change: transform;
}
.px3-nav.px3-nav--hidden {
  transform: translateY(-100%);
}
.px3-nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 0 24px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.px3-brand { font-weight: 800; font-size: 15px; letter-spacing: 0.06em; }
.px3-nav-links {
  display: flex; align-items: center; gap: 6px 20px; flex-wrap: wrap; justify-content: flex-end;
}
.px3-nav-links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: color 0.15s;
}
.px3-nav-links a:hover, .px3-nav-links a.active { color: var(--text); }
.px3-nav-cta {
  display: inline-flex; align-items: center;
  padding: 8px 16px; border-radius: 980px;
  background: var(--ink); color: #fff !important;
  font-size: 13px; font-weight: 600;
  transition: opacity 0.15s, transform 0.15s;
}
.px3-nav-cta:hover { opacity: 0.88; transform: scale(1.02); }

.px3-lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-right: 8px;
}
.px3-lang-sep { color: var(--muted); padding: 0 2px; user-select: none; }
.px3-lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  font: inherit;
}
.px3-lang-btn:hover { color: var(--text); }
.px3-lang-btn.active { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.px3-nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.px3-nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 1px; transition: 0.2s;
}

@media (max-width: 768px) {
  .px3-nav-inner {
    position: relative;
    justify-content: flex-end;
    gap: 4px;
  }
  .px3-lang-switch {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 0;
    z-index: 2;
  }
  .px3-brand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  .px3-nav-toggle { display: block; }
  .px3-nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(251,251,253,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .px3-nav.open .px3-nav-links {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .px3-nav-links a { padding: 10px 0; font-size: 15px; }
  .px3-nav-cta { justify-content: center; margin-top: 8px; }
}

/* ── LAYOUT ── */
.px3-main {
  padding-top: var(--nav-h);
  transition: padding-top 0.28s ease;
}
body.px3-nav-is-hidden:not(.has-marquee) .px3-main {
  padding-top: 0;
}
.px3-section {
  padding: 88px 24px;
  max-width: var(--max); margin: 0 auto;
}
.px3-section-wide { max-width: 1200px; }
.px3-section-full { max-width: none; padding-left: 0; padding-right: 0; }

.px3-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.px3-h1 {
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 700; letter-spacing: -0.035em; line-height: 1.08;
  margin-bottom: 20px;
}
.px3-h1-stack .px3-h1-kicker {
  font-weight: 600; color: var(--muted);
  font-size: clamp(0.95rem, 2.2vw, 1.12rem);
  line-height: 1.45; margin-top: 8px;
}

/* Homepage hero headline — center-aligned big/small hierarchy */
.px3-hl-stack {
  display: flex; flex-direction: column; gap: 0;
  max-width: 720px; width: 100%;
  margin: 0 auto 28px; text-align: center;
}
.px3-hl-stack--center { align-items: center; }
.px3-hl-setup {
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 400; letter-spacing: 0.01em;
  color: var(--hero-soft); line-height: 1.4;
  margin-bottom: 20px;
}
.px3-hl-block {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; margin-bottom: 18px;
}
.px3-hl-big {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: clamp(1.35rem, 3.4vw, 2rem);
  font-weight: 700; letter-spacing: -0.028em;
  color: var(--text); line-height: 1.15;
}
.px3-hl-small {
  font-size: clamp(0.88rem, 1.9vw, 1.08rem);
  font-weight: 400; letter-spacing: 0.01em;
  color: var(--hero-soft); line-height: 1.4;
  max-width: 480px;
}
.px3-hl-google-icon {
  flex-shrink: 0;
  vertical-align: middle;
}
.px3-hl-threshold { font-weight: 700; color: var(--text); }
.px3-hl-kicker {
  font-size: clamp(0.82rem, 1.55vw, 0.98rem);
  font-weight: 400; font-style: italic;
  letter-spacing: 0.01em; color: var(--hero-soft);
  line-height: 1.5; max-width: 560px;
  margin-top: 4px;
}
.px3-h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.12;
  margin-bottom: 16px;
}
.px3-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted); line-height: 1.55; max-width: 640px;
}
.px3-center { text-align: center; }
.px3-center .px3-lead { margin-left: auto; margin-right: auto; }
.px3-center-block {
  text-align: center;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.px3-center-block .px3-lead { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.px3-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 980px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: opacity 0.15s, transform 0.15s;
}
.px3-btn:hover { opacity: 0.88; transform: scale(1.015); }
.px3-btn-primary { background: var(--ink); color: #fff; }
.px3-btn-secondary {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}
.px3-btn-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.px3-center .px3-btn-row { justify-content: center; }
.px3-hero .px3-btn-row { justify-content: center; }

/* ── HERO (homepage) ── */
.px3-hero {
  min-height: auto;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 72px 24px 88px;
  position: relative;
  background: var(--bg);
}
@media (max-width: 768px) {
  .px3-hero { padding: 48px 20px 64px; }
}
.px3-hero-bg { display: none; }
.px3-hero-inner {
  position: relative; z-index: 1;
  max-width: 720px; width: 100%;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}

.px3-hero-metrics {
  margin: 0 auto 36px;
  width: 100%;
  display: flex; justify-content: center;
}

.px3-metric-strip {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.px3-metric-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.px3-metric-divider {
  width: 1px; height: 44px;
  background: var(--line);
}
.px3-metric-cell { text-align: center; min-width: 0; }
.px3-metric-label {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--hero-soft);
  margin-bottom: 6px;
}
.px3-metric-value {
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums; line-height: 1;
  color: var(--text);
}
.px3-metric-value .px3-star {
  color: #f5a623; font-size: 0.82em; font-weight: 600;
}
.px3-metric-sub {
  font-size: 11px; color: var(--hero-soft);
  margin-top: 5px; font-variant-numeric: tabular-nums;
  line-height: 1.3;
}
.px3-metric-bar {
  height: 2px; background: rgba(0,0,0,0.06);
  border-radius: 1px; margin-top: 10px; overflow: hidden;
}
.px3-metric-bar-fill {
  height: 100%; border-radius: 1px;
  transition: width 0.1s linear;
}
.px3-metric-bar-fill.google {
  background: linear-gradient(90deg, #4285f4, #34a853);
}
.px3-metric-bar-fill.insta {
  background: linear-gradient(90deg, #f58529, #dd2a7b);
}

/* Legacy metric cards — kept for other pages if needed */
.px3-metric-card {
  display: none;
}

.px3-hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted); max-width: 520px; margin: 0 auto;
}

/* Numbered pitch list — restaurant.html guarantee style */
.px3-hero-pitch {
  max-width: 640px; margin: 0; text-align: left;
}
.px3-hero-pitch-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--hero-soft);
  margin-bottom: 20px;
}
.px3-guarantee-list {
  display: flex; flex-direction: column; gap: 16px;
}
.px3-g-item {
  display: grid; grid-template-columns: 36px 1fr;
  gap: 0 12px; align-items: start;
}
.px3-g-num {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700; letter-spacing: -0.06em;
  line-height: 0.9; color: var(--text);
}
.px3-g-title {
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 700; letter-spacing: -0.022em;
  line-height: 1.22; color: var(--text);
}
.px3-g-sub {
  margin-top: 3px; font-size: 12px; line-height: 1.55; color: var(--hero-soft);
}

/* Featured videos on homepage media band */
.px3-featured-videos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 36px; text-align: left;
}
@media (max-width: 768px) {
  .px3-featured-videos { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}
.px3-media-band-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
}

/* ── CARDS GRID ── */
.px3-grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .px3-grid-3 { grid-template-columns: 1fr; } }

.px3-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.px3-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.px3-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  background: var(--bg);
}
.px3-card h3 {
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.px3-card-problem {
  font-size: 14px; font-weight: 600; color: var(--text);
  line-height: 1.45; margin-bottom: 10px;
}
.px3-card-solution {
  font-size: 13px; color: var(--muted); line-height: 1.55; margin-bottom: 16px;
}
.px3-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.px3-card-link {
  font-size: 14px; font-weight: 600; color: var(--accent);
}

/* ── STEPS ── */
.px3-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  counter-reset: step;
}
@media (max-width: 768px) { .px3-steps { grid-template-columns: 1fr; } }
.px3-step { position: relative; padding-left: 48px; }
.px3-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.px3-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.px3-step p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* Outcome + contrast section (homepage) */
.px3-contrast-section .px3-h2 { max-width: 720px; }
.px3-contrast-lead {
  max-width: 640px; margin-top: 12px; margin-bottom: 36px;
  color: var(--hero-soft); font-size: clamp(1rem, 2.1vw, 1.15rem);
}
.px3-contrast-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .px3-contrast-grid { grid-template-columns: 1fr; } }
.px3-contrast-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 22px;
}
.px3-contrast-item-highlight {
  border-color: rgba(29,29,31,0.18);
  box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}
.px3-contrast-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--hero-soft);
  margin-bottom: 10px;
}
.px3-contrast-item-highlight .px3-contrast-tag { color: var(--text); }
.px3-contrast-item h3 {
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 700; letter-spacing: -0.022em;
  line-height: 1.25; color: var(--text);
  margin-bottom: 8px;
}
.px3-contrast-item p {
  font-size: 13px; line-height: 1.55; color: var(--hero-soft);
}
.px3-contrast-footnote {
  margin-top: 10px; font-size: 11px; font-style: italic;
  color: var(--hero-soft); opacity: 0.9;
}
.px3-contrast-section .px3-btn-row { margin-top: 32px; }

/* ── STATS STRIP ── */
.px3-stats {
  background: var(--ink); color: #fff;
  padding: 56px 24px;
}
.px3-stats-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
@media (max-width: 768px) { .px3-stats-inner { grid-template-columns: repeat(2, 1fr); } }
.px3-stat-num {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800; letter-spacing: -0.02em;
}
.px3-stat-lbl { font-size: 12px; color: rgba(255,255,255,0.65); margin-top: 6px; }

/* ── MEDIA BAND ── */
.px3-media-band {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
  color: #f5f5f7;
  padding: 88px 24px;
}
.px3-media-band .px3-eyebrow { color: rgba(255,255,255,0.45); }
.px3-media-band .px3-h2 { color: #fff; }
.px3-media-band .px3-lead { color: rgba(255,255,255,0.65); margin-left: auto; margin-right: auto; }
.px3-media-band .px3-center-block { text-align: center; }
.px3-media-links {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; justify-content: center;
}
.px3-media-links a {
  padding: 14px 24px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 14px; font-weight: 600;
  transition: background 0.15s;
}
.px3-media-links a:hover { background: rgba(255,255,255,0.08); }

/* ── QUOTE ── */
.px3-quote {
  padding: 72px 24px;
  max-width: 720px; margin: 0 auto; text-align: center;
}
.px3-quote blockquote {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 500; line-height: 1.6; letter-spacing: -0.01em;
  color: var(--text);
}
.px3-quote cite {
  display: block; margin-top: 20px;
  font-size: 14px; font-style: normal; color: var(--muted);
}

/* ── FOOTER ── */
.px3-footer {
  border-top: 1px solid var(--line);
  padding: 48px 24px 32px;
  background: var(--surface);
}
.px3-footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
@media (max-width: 768px) { .px3-footer-inner { grid-template-columns: 1fr 1fr; } }
.px3-footer-brand p { font-size: 13px; color: var(--muted); margin-top: 8px; max-width: 280px; }
.px3-footer-col h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.px3-footer-col a {
  display: block; font-size: 14px; color: var(--text); margin-bottom: 8px;
}
.px3-footer-col a:hover { color: var(--accent); }
.px3-footer-bottom {
  max-width: var(--max); margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); text-align: center;
}

/* ── SCROLL REVEAL ── */
.px3-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.px3-reveal.visible { opacity: 1; transform: none; }

/* ── PAGE HERO (inner pages) ── */
.px3-page-hero {
  padding: 40px 24px 32px;
  max-width: var(--max); margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.px3-section-tight-top { padding-top: 32px; }
.px3-section-after-hero { padding-top: 32px; padding-bottom: 48px; }

/* ── VIDEO GRID (work.html) ── */
.px3-video-section { margin-bottom: 40px; }
.px3-video-section h2 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 6px;
}
.px3-video-section .px3-cat-desc {
  font-size: 14px; color: var(--muted); margin-bottom: 20px;
}
.px3-video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px;
}
.px3-video-thumb {
  position: relative; aspect-ratio: 16/9; border-radius: 12px;
  overflow: hidden; cursor: pointer; border: 1px solid var(--line);
  background: #111;
}
.px3-video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.px3-video-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.25); transition: background 0.2s;
}
.px3-video-thumb:hover::after { background: rgba(0,0,0,0.1); }
.px3-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.95); z-index: 2;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.px3-play svg { margin-left: 3px; }
.px3-video-cap {
  padding: 10px 4px 0; font-size: 13px; color: var(--muted);
}

/* ── PHOTO GRID (real-estate) ── */
.px3-photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px;
}
.px3-photo-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line);
}

/* ── CONTACT ── */
.px3-contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
@media (max-width: 768px) { .px3-contact-grid { grid-template-columns: 1fr; } }
.px3-contact-card {
  padding: 28px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface);
}
.px3-contact-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.px3-contact-card p, .px3-contact-card a { font-size: 15px; color: var(--muted); }
.px3-contact-card a.big-link {
  display: block; font-size: 1.1rem; font-weight: 600; color: var(--text); margin-top: 4px;
}
.px3-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.px3-form input, .px3-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); font-family: inherit; font-size: 15px;
  margin-bottom: 16px; background: var(--bg);
}
.px3-form textarea { min-height: 120px; resize: vertical; }

/* ── ABOUT TEAM ── */
.px3-team {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
@media (max-width: 640px) { .px3-team { grid-template-columns: 1fr; } }
.px3-team-member {
  display: flex; gap: 20px; align-items: flex-start;
}
.px3-team-member img {
  width: 120px; height: 150px; object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line);
}
.px3-team-member h3 { font-size: 1.1rem; font-weight: 700; }
.px3-team-member .role { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.px3-team-member p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ── VIDEO MODAL ── */
.px3-modal {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.85);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.px3-modal.open { display: flex; }
.px3-modal-inner {
  width: 100%; max-width: 960px; position: relative;
}
.px3-modal-inner iframe {
  width: 100%; aspect-ratio: 16/9; border: none; border-radius: 12px;
}
.px3-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 28px; cursor: pointer; padding: 8px;
}

/* Instagram reel cards */
.px3-ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.px3-ig-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.px3-ig-card:hover {
  border-color: var(--text);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.px3-ig-badge {
  align-self: flex-start;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #fff;
}
.px3-ig-label { font-size: 14px; font-weight: 600; }
.px3-ig-cta { font-size: 12px; color: var(--muted); font-weight: 600; }

/* Instagram reel embeds (work page — same pattern as homepage) */
.dc-ig-embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .dc-ig-embed-grid { grid-template-columns: 1fr; max-width: 340px; margin-left: auto; margin-right: auto; }
}
.dc-ig-embed-cell { display: flex; flex-direction: column; gap: 8px; }
.dc-ig-embed-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 125%;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.dc-ig-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.dc-ig-expand-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.dc-ig-expand-btn:hover { background: rgba(0,0,0,0.78); }

.px3-ig-modal .px3-ig-modal-panel {
  width: 100%;
  max-width: min(420px, 94vw);
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55);
}
.px3-ig-modal--expanded .px3-ig-modal-panel {
  max-width: none;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}
.px3-ig-overlay-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 210;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.px3-ig-modal.open .px3-ig-overlay-close { display: flex; }
.px3-ig-modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: #111;
  border-bottom: 1px solid #333;
}
.px3-ig-modal-toolbar button,
.px3-ig-modal-toolbar a {
  font-size: 12px;
  font-weight: 600;
  color: #e4e4e7;
  background: #27272a;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
}
.px3-ig-modal-toolbar button:hover,
.px3-ig-modal-toolbar a:hover { background: #3f3f46; }
.px3-ig-modal-panel iframe {
  display: block;
  width: 100%;
  height: min(78vh, 720px);
  border: 0;
  background: #000;
}
.px3-ig-modal--expanded .px3-ig-modal-panel iframe {
  flex: 1;
  height: auto;
  min-height: 0;
}

/* WhatsApp gate */
.px3-wa-gate { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
a.px3-wa-gate { text-decoration: none; }
.px3-wa-panel {
  width: 100%; max-width: 420px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line);
  padding: 28px 24px 24px; border-radius: 12px;
}
.px3-wa-panel h3 { font-size: 1.125rem; font-weight: 700; margin: 0 0 6px; }
.px3-wa-panel > p { font-size: 14px; color: var(--muted); margin: 0 0 18px; line-height: 1.5; }
.px3-wa-intents { display: grid; gap: 8px; margin-bottom: 16px; }
.px3-wa-intent {
  width: 100%; text-align: left; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--bg);
  font-size: 14px; font-weight: 500; cursor: pointer; border-radius: 8px;
}
.px3-wa-intent:hover { border-color: var(--text); }
.px3-wa-hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.px3-wa-note { font-size: 11px; color: var(--muted); margin: 0; }
.px3-btn-wa {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 20px; font-size: 14px; font-weight: 600;
  border: none; border-radius: 8px; background: #25d366; color: #fff;
  cursor: pointer; width: 100%;
}
.px3-btn-wa:disabled { opacity: 0.45; cursor: not-allowed; }
