/* ---------------------------------------------------
   Packaging Papa — Public Site CSS
   --------------------------------------------------- */
:root {
  --primary: #0d1b2a;
  --accent: #e63946;
  --accent-dark: #c1121f;
  --white: #ffffff;
  --light: #f8f9fa;
  --text: #1a1a2e;
  --muted: #6b7280;
  --border: #e5e7eb;
  --font: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Announcement Bar ---- */
.announcement-bar {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
}

/* ---- Header ---- */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo-link { display: flex; align-items: center; }
.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
  text-transform: lowercase;
}
.logo-text strong { color: var(--accent); text-transform: uppercase; }
.logo-img { max-height: 52px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-nav a {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,.1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: 6px; }
.btn-block { width: 100%; justify-content: center; }

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(230,57,70,.35); }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: #1a2d44; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.mt-10 { margin-top: 10px; }
.mt-40 { margin-top: 40px; }
.text-center { text-align: center; }

/* ---- Hero ---- */
.hero {
  background: var(--primary);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 70% 50%, rgba(230,57,70,.12) 0%, transparent 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 24px;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: rgba(230,57,70,.15);
  border: 1px solid rgba(230,57,70,.3);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--accent); }
.hero-body { color: rgba(255,255,255,.75); font-size: 18px; line-height: 1.7; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge-pill {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

/* Hero 3D box graphic */
.hero-graphic { display: flex; align-items: center; justify-content: center; }
.hero-box-visual { position: relative; width: 360px; height: 360px; }
.feature-chip {
  position: absolute;
  background: rgba(255,255,255,.95);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  white-space: nowrap;
}
.chip-1 { top: 30px; left: -20px; }
.chip-2 { top: 30px; right: -20px; }
.chip-3 { bottom: 80px; left: -20px; }
.chip-4 { bottom: 80px; right: -20px; }

.hero-box-img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 330px;
  height: auto;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.5));
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* ---- Sections ---- */
.section-white { padding: 80px 0; }
.section-dark { background: var(--primary); padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 12px; }
.section-header p { color: var(--muted); font-size: 18px; }
.section-header.light h2, .section-header.light p { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.7); }

/* ---- Portfolio Grid ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
  display: block;
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: #f1f5f9;
  overflow: hidden;
}
.portfolio-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.06); }
.portfolio-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
  background: #f1f5f9;
}
.portfolio-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
}
.portfolio-cat {
  background: var(--accent);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.portfolio-card-body { padding: 20px; }
.portfolio-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.portfolio-card-body p { color: var(--muted); font-size: 14px; }

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-btn {
  padding: 8px 18px; border-radius: 100px; border: 2px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all .2s; display: inline-block;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent); border-color: var(--accent); color: var(--white);
}

/* ---- Portfolio Detail ---- */
.portfolio-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #f1f5f9;
}
.gallery-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-count {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.6); color: var(--white);
  padding: 4px 10px; border-radius: 100px; font-size: 13px;
}
.gallery-thumbs { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .thumb {
  width: 80px; height: 60px; object-fit: cover;
  border-radius: 6px; cursor: pointer; border: 2px solid transparent;
  transition: border-color .2s; opacity: .7;
}
.gallery-thumbs .thumb:hover, .gallery-thumbs .thumb.active { border-color: var(--accent); opacity: 1; }
.gallery-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 4/3; background: #f1f5f9; border-radius: var(--radius);
  color: var(--muted); gap: 8px;
}
.gallery-placeholder span { font-size: 48px; }
.portfolio-description { margin-top: 32px; }
.portfolio-description h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.portfolio-description p { color: var(--muted); line-height: 1.8; }

.project-details-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px;
}
.project-details-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.detail-divider { height: 1px; background: var(--border); margin-bottom: 16px; }
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.detail-row:last-child { border-bottom: none; }
.detail-label { font-size: 14px; color: var(--muted); }
.detail-value { font-size: 14px; font-weight: 600; text-align: right; }
.accent-text { color: var(--accent); }

.like-cta-card {
  margin-top: 20px; background: var(--primary); color: var(--white);
  border-radius: var(--radius); padding: 28px; text-align: center;
}
.like-icon { font-size: 36px; margin-bottom: 12px; }
.like-cta-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.like-cta-card p { color: rgba(255,255,255,.7); margin-bottom: 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Page Hero ---- */
.page-hero {
  background: var(--primary);
  padding: 60px 0 48px;
  color: var(--white);
}
.page-hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 18px; }
.page-hero-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 12px; }
.portfolio-nav-links { display: flex; gap: 8px; }
.category-tag {
  display: inline-block; background: var(--accent);
  color: var(--white); padding: 4px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px;
}
.category-tag.small { font-size: 11px; padding: 3px 10px; }
.breadcrumbs { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.6); }
.breadcrumbs a { color: rgba(255,255,255,.7); }
.breadcrumbs a:hover { color: var(--white); }

/* ---- Features Grid ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--white);
}
.feature-icon { font-size: 36px; margin-bottom: 16px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.7; }

/* ---- Why Us ---- */
.why-us {}

/* ---- CTA Banner ---- */
.cta-banner {
  background: var(--accent);
  padding: 64px 0;
  color: var(--white);
}
.cta-banner h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { font-size: 18px; margin-bottom: 28px; opacity: .9; }
.cta-banner .btn-accent { background: var(--white); color: var(--accent); }
.cta-banner .btn-accent:hover { background: #f8f8f8; }

/* ---- Templates ---- */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.template-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--white);
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.template-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.template-thumb { display: block; aspect-ratio: 1/1; background: #fff; border-bottom: 1px solid var(--border); overflow: hidden; }
.template-thumb img { width: 100%; height: 100%; object-fit: contain; }
.template-body { padding: 20px; }
.template-body h3 { font-size: 18px; font-weight: 700; margin: 8px 0; }
.template-body p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-details { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 24px; flex-shrink: 0; }
.contact-item strong { display: block; font-weight: 700; margin-bottom: 2px; }
.contact-item a { color: var(--accent); }

.quote-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--border); border-radius: 8px;
  font-family: var(--font); font-size: 15px;
  color: var(--text); background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { resize: vertical; }

.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 15px; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* ---- Footer ---- */
.site-footer { background: var(--primary); color: rgba(255,255,255,.8); padding: 56px 0 0; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 32px; margin-bottom: 56px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.footer-cta h3 { color: var(--white); font-size: 22px; margin-bottom: 6px; }
.footer-cta p { color: rgba(255,255,255,.65); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-img { height: 48px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand .logo-text.footer-logo { font-size: 20px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 14px; }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links a { display: block; color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 10px; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 12px; display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.footer-contact p svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-contact a { color: rgba(255,255,255,.75); transition: color .2s; }
.footer-contact a:hover { color: var(--accent); }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(230,57,70,.12); border: 1px solid rgba(230,57,70,.35); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; margin-top: 4px; }
.footer-badge svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom a:hover { color: var(--white); }
@media (max-width: 768px) {
  .footer-cta { flex-direction: column; align-items: flex-start; }
}

/* ---- Rich Content ---- */
.rich-content h2 { font-size: 28px; font-weight: 700; margin: 24px 0 12px; }
.rich-content h3 { font-size: 22px; font-weight: 700; margin: 20px 0 10px; }
.rich-content p { margin-bottom: 16px; line-height: 1.8; }
.rich-content ul, .rich-content ol { margin: 0 0 16px 24px; }
.rich-content li { margin-bottom: 6px; line-height: 1.7; }
.content-narrow { max-width: 800px; margin: 0 auto; }
.page-content { max-width: 800px; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .portfolio-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 60px 24px; }
  .hero-graphic { display: none; }
  .hero-ctas { justify-content: center; }
  .hero-badges { justify-content: center; }
  .main-nav { display: none; flex-direction: column; position: fixed; inset: 0; background: var(--primary); z-index: 200; padding: 80px 32px 32px; gap: 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 20px; padding: 12px 16px; }
  .nav-toggle { display: flex; z-index: 300; position: relative; }
  .contact-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .portfolio-nav-links { display: none; }
}
@media (max-width: 480px) {
  .section-white, .section-dark { padding: 48px 0; }
  .hero-title { font-size: 32px; }
  .section-header h2 { font-size: 28px; }
}

/* ── Template cards: clickable areas ─────────────────────────────────────── */
a.template-thumb { display: block; }
.template-title-link { color: inherit; text-decoration: none; }
.template-title-link:hover { text-decoration: underline; }
.template-card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

/* ── Template detail: imported page content ──────────────────────────────── */
.template-content { margin-top: 28px; line-height: 1.7; }
.template-content h2, .template-content h3, .template-content h5 { margin: 24px 0 12px; }
.template-content table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; }
.template-content td { border: 1px solid #e2e8f0; padding: 10px 12px; vertical-align: top; }
.template-content tr td:first-child { background: #f8fafc; width: 30%; }

/* ===== Portfolio detail: share bar, prev/next cards, related projects ===== */
.share-bar { display:flex; align-items:center; gap:16px; flex-wrap:wrap; background:var(--light); border:1px solid var(--border); border-radius:var(--radius); padding:18px 24px; margin-top:48px; }
.share-label { display:inline-flex; align-items:center; gap:8px; color:var(--accent); font-weight:600; }
.share-label svg { width:18px; height:18px; }
.share-btns { display:inline-flex; gap:10px; }
.share-btn { width:40px; height:40px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff; transition:transform .15s ease, opacity .15s ease; }
.share-btn:hover { transform:translateY(-2px); opacity:.9; }
.share-btn svg { width:18px; height:18px; fill:currentColor; }
.share-fb { background:#1877f2; }
.share-x { background:#000; }
.share-li { background:#0a66c2; }
.share-pin { background:#e60023; }
.copy-link-btn { margin-left:auto; display:inline-flex; align-items:center; gap:8px; background:var(--white); border:1px solid var(--border); border-radius:999px; padding:10px 20px; font:inherit; font-weight:600; color:var(--text); cursor:pointer; transition:border-color .15s ease, color .15s ease; }
.copy-link-btn:hover { border-color:var(--accent); color:var(--accent); }
.copy-link-btn.copied { border-color:#16a34a; color:#16a34a; }
.copy-link-btn svg { width:16px; height:16px; }

.project-nav-cards { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:24px; }
.project-nav-card { display:flex; flex-direction:column; align-items:flex-start; gap:12px; border:1px solid var(--border); border-radius:var(--radius); padding:22px; background:var(--white); transition:box-shadow .15s ease, transform .15s ease; }
.project-nav-card:hover { box-shadow:var(--shadow); transform:translateY(-2px); }
.project-nav-card.next { align-items:flex-end; text-align:right; }
.project-nav-label { font-size:.75rem; letter-spacing:.08em; text-transform:uppercase; color:var(--accent); font-weight:700; }
.project-nav-card img { width:64px; height:64px; object-fit:cover; border-radius:8px; }
.project-nav-title { color:var(--accent); font-weight:600; }
.project-nav-card.empty { border:none; background:transparent; }
.project-nav-card.empty:hover { box-shadow:none; transform:none; }

.related-projects { margin-top:56px; }
.related-title { margin-bottom:24px; }

@media (max-width: 640px) {
  .project-nav-cards { grid-template-columns:1fr; }
  .project-nav-card.next { align-items:flex-start; text-align:left; }
  .project-nav-card.empty { display:none; }
  .copy-link-btn { margin-left:0; }
}

/* ---- Template pages: square (1:1) gallery + sidebar cards ---- */
.gallery-square .gallery-main { background: #fff; border: 1px solid var(--border); }
.gallery-square .gallery-main img { aspect-ratio: 1/1; object-fit: contain; background: #fff; }
.gallery-square .gallery-thumbs .thumb { width: 80px; height: 80px; object-fit: contain; background: #fff; border-color: var(--border); }
.gallery-square .gallery-thumbs .thumb:hover, .gallery-square .gallery-thumbs .thumb.active { border-color: var(--accent); }
.tpl-specs .detail-value { text-align: right; max-width: 58%; }
.sidebar-help-card .help-note { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.help-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; font-weight: 600; color: var(--text); }
.help-row:hover { color: var(--accent); }
.help-badge { margin-top: 12px; background: #f0fdf4; color: #166534; font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }

/* ===== Get a Quote page ===== */
.quote-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.quote-form-col h2 { font-size: 28px; margin-bottom: 8px; }
.form-intro { color: var(--muted); margin-bottom: 24px; max-width: 560px; }
.label-hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.form-privacy-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.quote-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.aside-card { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.aside-card h3 { font-size: 17px; margin-bottom: 12px; }
.aside-card .help-note { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.step-row { display: flex; gap: 12px; padding: 8px 0; align-items: flex-start; }
.step-num { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.step-row strong { display: block; margin-bottom: 2px; }
.step-row p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.trust-row { padding: 6px 0; font-weight: 600; color: #166534; font-size: 14.5px; }
.quote-success-panel { max-width: 560px; margin: 0 auto; text-align: center; padding: 40px 24px; }
.quote-success-panel .success-icon { font-size: 56px; margin-bottom: 12px; }
.quote-success-panel h2 { font-size: 30px; margin-bottom: 12px; }
.quote-success-panel p { color: var(--muted); margin-bottom: 28px; font-size: 17px; line-height: 1.6; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.quote-success-panel .btn-ghost { color: var(--primary); border: 2px solid var(--primary); }
.quote-success-panel .btn-ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-aside { position: static; }
}

/* ===== Custom forms (public) ===== */
.form-page-wrap { max-width: 760px; margin: 0 auto; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 1px; width: 1px; overflow: hidden; }
.form-checkbox-row label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.form-checkbox-row input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

/* ===== Blog: listing cards, article page, pagination ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { display: block; aspect-ratio: 16/10; background: #f1f5f9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 42px; background: linear-gradient(135deg, var(--primary) 0%, #1a2d44 100%); }
.blog-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.blog-cat-chip { display: inline-block; background: rgba(230,57,70,.1); color: var(--accent); padding: 3px 12px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; }
.blog-card-body h3 { font-size: 19px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-excerpt { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 16px; }
.blog-card-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--accent); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span.current { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 2px solid var(--border); font-weight: 600; font-size: 14px; }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination span.current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* — Blog listing hero: gradient editorial treatment matching the article hero — */
.blog-hero { background: linear-gradient(160deg, var(--primary) 0%, #16283f 100%); color: var(--white); padding: 56px 0 64px; }
.blog-hero .breadcrumbs { margin: 0 0 18px; }
.blog-hero-head { max-width: 720px; }
.blog-hero-kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.blog-hero h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -.5px; margin-bottom: 14px; }
.blog-hero-standfirst { font-size: 17.5px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 640px; }

/* Featured (newest) post card inside the hero */
.featured-post-card { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr); gap: 0; margin-top: 40px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.featured-post-card:hover { border-color: rgba(230,57,70,.5); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.featured-post-media { position: relative; min-height: 260px; background: #f1f5f9; }
.featured-post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-post-media .blog-card-placeholder { position: absolute; inset: 0; font-size: 56px; }
.featured-post-body { padding: 32px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.featured-post-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.featured-label { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: var(--accent); padding: 4px 12px; border-radius: 100px; }
.featured-post-card .blog-cat-chip { background: rgba(230,57,70,.18); }
.featured-post-body h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: -.4px; margin-bottom: 12px; color: var(--white); }
.featured-post-card:hover h2 { color: var(--accent); }
.featured-post-standfirst { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.featured-post-details { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.featured-post-more { margin-top: auto; font-weight: 700; font-size: 14.5px; color: var(--accent); }

@media (max-width: 900px) {
  .blog-hero { padding: 40px 0 48px; }
  .featured-post-card { grid-template-columns: 1fr; }
  .featured-post-media { aspect-ratio: 16/9; min-height: 0; }
  .featured-post-body { padding: 24px 22px; }
}

/* — Article page: reading progress, editorial hero, contents rail, reading column — */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 500; pointer-events: none; }
.read-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-dark)); }

.article-hero { background: linear-gradient(160deg, var(--primary) 0%, #16283f 100%); color: var(--white); padding: 56px 0 60px; }
.article-hero .breadcrumbs { margin: 0 0 18px; }
.article-hero .blog-cat-chip { background: rgba(230,57,70,.18); }
.article-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 56px; align-items: center; }
.article-hero h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; line-height: 1.14; letter-spacing: -.5px; margin: 14px 0; }
.article-standfirst { font-size: 17.5px; line-height: 1.65; color: rgba(255,255,255,.78); max-width: 640px; margin-bottom: 24px; }
.article-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: rgba(255,255,255,.65); font-size: 14.5px; }
.meta-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; letter-spacing: .5px; }
.article-meta .meta-author { color: #fff; font-weight: 600; }
.meta-dot { opacity: .45; }
.article-hero-media { position: relative; }
.article-hero-media::before { content: ''; position: absolute; inset: 16px -16px -16px 16px; border-radius: var(--radius); background: rgba(230,57,70,.16); }
.article-hero-media img { position: relative; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.article-section { padding-top: 56px; }
.article-layout { max-width: 760px; margin: 0 auto; }
.article-layout.has-toc { max-width: 1080px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.article-main { max-width: 740px; }
.toc-rail { position: sticky; top: 96px; }
.toc-box { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 20px; }
.toc-title { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 12px; }
.toc-box ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc-box li { counter-increment: toc; }
.toc-box ol a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.45; }
.toc-box ol a::before { content: counter(toc, decimal-leading-zero); font-weight: 700; color: var(--accent); font-size: 12.5px; padding-top: 2px; }
.toc-box ol a:hover { background: rgba(230,57,70,.07); color: var(--accent); }
.toc-quote-link { display: block; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); font-weight: 700; font-size: 14px; color: var(--accent); }
.toc-mobile { display: none; }

.article-body { font-size: 17.5px; }
.article-body h2 { font-size: 27px; font-weight: 800; letter-spacing: -.3px; margin: 44px 0 16px; padding-top: 30px; border-top: 1px solid var(--border); scroll-margin-top: 92px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 30px 0 10px; }
.article-body p { margin-bottom: 20px; line-height: 1.85; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 10px; line-height: 1.8; }
.article-body li::marker { color: var(--accent); font-weight: 700; }
.article-body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(230,57,70,.35); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--accent); }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); }
.article-body table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; vertical-align: top; }
.article-body th { background: var(--light); font-weight: 700; }
.article-body blockquote { border-left: 4px solid var(--accent); background: var(--light); padding: 16px 22px; border-radius: 0 8px 8px 0; margin: 0 0 18px; color: var(--text); }

.article-cta { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--primary), #1a2d44); color: var(--white); border-radius: var(--radius); padding: 36px; margin-top: 56px; }
.article-cta::before { content: '📦'; position: absolute; right: -8px; bottom: -20px; font-size: 110px; opacity: .1; transform: rotate(-12deg); }
.article-cta h3 { font-size: 23px; margin-bottom: 8px; }
.article-cta p { color: rgba(255,255,255,.72); margin-bottom: 20px; max-width: 560px; }
.article-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; position: relative; }
.cta-trust { display: flex; gap: 8px; flex-wrap: wrap; position: relative; }
.cta-trust span { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85); }

@media (max-width: 1024px) {
  .article-layout.has-toc { display: block; max-width: 760px; }
  .toc-rail { display: none; }
  .toc-mobile { display: block; margin-bottom: 28px; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); }
  .toc-mobile summary { cursor: pointer; font-weight: 700; padding: 14px 18px; font-size: 15px; }
  .toc-mobile ol { margin: 0; padding: 0 18px 14px 38px; }
  .toc-mobile li { padding: 4px 0; }
  .toc-mobile a { font-weight: 500; color: var(--text); }
  .article-main { max-width: none; }
}
@media (max-width: 900px) {
  .article-hero { padding: 40px 0 46px; }
  .article-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .article-hero-media::before { display: none; }
  .article-hero-media img { aspect-ratio: 16/9; }
  .article-body { font-size: 16.5px; }
  .article-cta { padding: 28px 22px; }
}
/* Article previous/next guide cards */
.article-nav-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.article-nav-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; background: var(--white); transition: box-shadow .15s ease, transform .15s ease; }
.article-nav-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.article-nav-card.next { align-items: flex-end; text-align: right; }
.article-nav-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.article-nav-title { color: var(--text); font-weight: 700; line-height: 1.4; }
.article-nav-card:hover .article-nav-title { color: var(--accent); }
.article-nav-card.empty { border: none; background: transparent; }
.article-nav-card.empty:hover { box-shadow: none; transform: none; }
@media (max-width: 640px) {
  .article-nav-cards { grid-template-columns: 1fr; }
  .article-nav-card.next { align-items: flex-start; text-align: left; }
  .article-nav-card.empty { display: none; }
}

.related-posts { background: var(--light); padding: 64px 0; }

/* ===== About page: story grid, stat tiles, process steps ===== */
.section-light { background: var(--light); padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.about-grid .page-content { max-width: none; }
.stat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: sticky; top: 96px; }
.stat-tile { background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; }
.stat-tile .stat-num { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: 4px; }
.stat-tile .stat-label { font-size: 13.5px; color: var(--muted); font-weight: 500; line-height: 1.4; }
.about-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.about-step { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; }
.about-step .step-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; margin-bottom: 14px; }
.about-step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.about-step p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.light-cards .feature-card { background: var(--light); border-color: var(--border); color: var(--text); }
.light-cards .feature-card h3 { color: var(--text); }
.light-cards .feature-card p { color: var(--muted); }
.feature-link { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; color: var(--accent); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-tiles { position: static; }
  .about-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .about-steps { grid-template-columns: 1fr; }
}

/* ===== Homepage: guides strip & FAQ accordion ===== */
.home-guides .blog-card-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item[open] { border-color: rgba(230,57,70,.45); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--accent); line-height: 1; transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 18px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--accent); font-weight: 600; }

/* ===== Chat assistant widget ===== */
/* Floating WhatsApp button — sits above the chat bubble on every page */
.pp-wa-float { position: fixed; right: 20px; bottom: 88px; z-index: 9000; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .15s ease; }
.pp-wa-float:hover { transform: translateY(-2px); color: #fff; }
.pp-wa-float svg { width: 30px; height: 30px; }
@media (max-width: 480px) { .pp-wa-float { right: 12px; bottom: 76px; width: 48px; height: 48px; } }

.pp-chat { position: fixed; right: 20px; bottom: 20px; z-index: 9000; font-family: inherit; }
.pp-chat-bubble { display: flex; align-items: center; gap: 8px; background: #e5322d; color: #fff; border: none; border-radius: 999px; padding: 13px 20px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-size: 15px; font-weight: 700; transition: transform .15s ease; }
.pp-chat-bubble:hover { transform: translateY(-2px); }
.pp-chat-bubble svg { width: 20px; height: 20px; flex-shrink: 0; }
.pp-chat-icon-close { display: none; }
.pp-chat-open .pp-chat-icon-close { display: block; }
.pp-chat-open .pp-chat-icon-open, .pp-chat-open .pp-chat-bubble-label { display: none; }
.pp-chat-panel { position: absolute; right: 0; bottom: 64px; width: 350px; max-width: calc(100vw - 32px); height: 480px; max-height: calc(100vh - 120px); background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
.pp-chat-head { background: #14213d; color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: flex-start; }
.pp-chat-head strong { display: block; font-size: 15px; }
.pp-chat-head span { font-size: 12px; opacity: .75; }
.pp-chat-close { background: none; border: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; }
.pp-chat-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: #f6f7f9; }
.pp-chat-msg { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; white-space: pre-wrap; word-wrap: break-word; }
.pp-chat-msg.bot { background: #fff; border: 1px solid #e5e7eb; border-bottom-left-radius: 4px; align-self: flex-start; color: #1f2937; }
.pp-chat-msg.user { background: #e5322d; color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.pp-chat-msg.typing { color: #9ca3af; letter-spacing: 2px; }
.pp-chat-msg a { color: #e5322d; font-weight: 700; }
.pp-chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; background: #f6f7f9; border-top: 1px solid #e5e7eb; }
.pp-chat-chip { background: #fff; border: 1px solid #d1d5db; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; cursor: pointer; color: #1f2937; }
.pp-chat-chip:hover { border-color: #e5322d; color: #e5322d; }
.pp-chat-chip-accent { border-color: #e5322d; color: #e5322d; font-weight: 700; }
.pp-chat-inputrow { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #e5e7eb; background: #fff; }
.pp-chat-inputrow input { flex: 1; border: 1px solid #d1d5db; border-radius: 999px; padding: 9px 14px; font-size: 13.5px; outline: none; }
.pp-chat-inputrow input:focus { border-color: #e5322d; }
.pp-chat-inputrow button { background: #e5322d; color: #fff; border: none; border-radius: 50%; width: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pp-chat-inputrow button svg { width: 16px; height: 16px; }
.pp-chat-lead { padding: 12px; border-top: 1px solid #e5e7eb; background: #fff; display: flex; flex-direction: column; gap: 8px; }
.pp-chat-lead-title { font-size: 13px; font-weight: 700; margin: 0; color: #1f2937; }
.pp-chat-lead input, .pp-chat-lead textarea { border: 1px solid #d1d5db; border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: inherit; outline: none; }
.pp-chat-lead input:focus, .pp-chat-lead textarea:focus { border-color: #e5322d; }
.pp-chat-hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; overflow: hidden; }
.pp-chat-lead-btns { display: flex; gap: 8px; }
.pp-chat-send-lead { background: #e5322d; color: #fff; border: none; border-radius: 8px; padding: 9px 14px; font-size: 13px; font-weight: 700; cursor: pointer; flex: 1; }
.pp-chat-send-lead:disabled { opacity: .6; cursor: wait; }
.pp-chat-cancel-lead { background: #fff; border: 1px solid #d1d5db; border-radius: 8px; padding: 9px 12px; font-size: 13px; cursor: pointer; }
@media (max-width: 480px) { .pp-chat { right: 12px; bottom: 12px; } .pp-chat-panel { height: 70vh; } }
.pp-chat-panel[hidden], .pp-chat-lead[hidden], .pp-chat-chips[hidden], .pp-chat-inputrow[hidden] { display: none !important; }
