/* =====================================================================
   ReNews Company Profile module
   Every rule is scoped to .cp / .cp-* so it never changes the site's
   own header, footer, Bootstrap or other pages.
   ===================================================================== */

.cp {
  --cp-navy: #0b2350;
  --cp-navy-2: #0e3471;
  --cp-blue: #1b5fd1;
  --cp-blue-soft: #e9f1fe;
  --cp-line: #e2e8f0;
  --cp-line-2: #d5dde8;
  --cp-text: #1e293b;
  --cp-muted: #5b6678;
  --cp-soft: #f6f9fc;
  --cp-green: #12a150;
  --cp-gold: #c98a12;
  --cp-red: #dc2626;
  --cp-radius: 10px;
  --cp-shadow: 0 1px 3px rgba(15, 35, 70, .07), 0 1px 2px rgba(15, 35, 70, .04);

  display: block;
  max-width: 820px;
  margin: 0 auto;
  padding: 14px 16px 44px;
  color: var(--cp-text);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.cp--wide { max-width: 1100px; }
.cp *, .cp *::before, .cp *::after { box-sizing: border-box; }
.cp [hidden] { display: none !important; }
.cp a { color: var(--cp-blue); text-decoration: none; }
.cp a:hover { text-decoration: underline; }
.cp img { max-width: 100%; display: block; }
.cp h1, .cp h2, .cp h3 { color: var(--cp-navy); margin: 0; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; font-family: inherit; }
.cp p { margin: 0; }
.cp-ico { width: 18px; height: 18px; flex: none; }

/* ---------- breadcrumb ---------- */
.cp-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--cp-muted); margin: 0 0 16px; }
.cp-crumb a { color: var(--cp-muted); }
.cp-crumb__sep { opacity: .7; }
.cp-crumb__current { color: var(--cp-text); }
#cp-profile .cp-crumb__current { color: var(--cp-blue); }

/* ---------- page titles ---------- */
.cp-title { display: flex; gap: 12px; align-items: flex-start; }
.cp-title h1 { font-size: 21px; }
.cp-crown { width: 40px; height: 40px; border-radius: 50%; background: #fdf0d2; color: var(--cp-gold); display: grid; place-items: center; flex: none; }
.cp-crown .cp-ico { width: 22px; height: 22px; }
.cp-paid { color: var(--cp-red); font-weight: 700; }
.cp-pill { display: inline-block; margin: 6px 0 5px; padding: 2px 9px; border-radius: 4px; background: #fde4a0; color: #7a5208; font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.cp-lead { color: #334155; font-size: 13.5px; margin-top: 2px; }
.cp-h1 { font-size: 23px; }
.cp-h3 { font-size: 16px; margin: 22px 0 10px !important; }
.cp-muted { color: var(--cp-muted); font-size: 12.5px; }
.cp-intro { margin: 0 0 14px; }
.cp-subhead { font-size: 15.5px; margin: 26px 0 6px !important; padding-top: 18px; border-top: 1px solid var(--cp-line); }
.cp-subhead--first { margin-top: 0 !important; padding-top: 0; border-top: 0; }
.cp-subhead + .cp-muted { margin-bottom: 12px; }

/* ---------- notes ---------- */
.cp-note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; padding: 13px 14px; border-radius: 8px; font-size: 13px; line-height: 1.55; color: #2c3546; }
.cp-note--warn { background: #fff6e5; border: 1px solid #f7e0b0; }
.cp-note--info { background: var(--cp-blue-soft); border: 1px solid #d5e4fc; }
.cp-note__icon { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #fff; font: 700 14px/1 Georgia, serif; }
.cp-note--warn .cp-note__icon { background: #b7791f; }
.cp-note--info .cp-note__icon { background: var(--cp-blue); }
.cp-note__icon .cp-ico { width: 15px; height: 15px; }

/* ---------- 7-step indicator ---------- */
.cp-steps { display: flex; list-style: none; margin: 18px 0 20px; padding: 0; }
.cp-step { position: relative; flex: 1 1 0; min-width: 0; text-align: center; }
.cp-step:not(:first-child)::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 1.5px; background: #a9c3ee; }
.cp-step.is-done::before, .cp-step.is-active::before { background: var(--cp-blue); }
.cp-step a { display: block; color: inherit; text-decoration: none !important; }
.cp-step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 6px; border: 1.5px solid var(--cp-blue); border-radius: 50%; background: #fff; color: var(--cp-blue); font-size: 12.5px; font-weight: 600; transition: background .15s; }
.cp-step a:hover .cp-step__num { background: var(--cp-blue-soft); }
.cp-step.is-active .cp-step__num { background: var(--cp-blue); color: #fff; box-shadow: 0 0 0 3px #d9e6fc; }
.cp-step__label { display: block; padding: 0 1px; font-size: 9.5px; line-height: 1.25; font-weight: 500; color: var(--cp-navy); }
.cp-step.is-active .cp-step__label { font-weight: 700; }

/* ---------- accordion ---------- */
.cp-acc { margin-bottom: 10px; background: #fff; border: 1px solid var(--cp-line); border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); overflow: hidden; }
.cp-acc__head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 16px; background: #eef4fb; color: var(--cp-navy) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; }
a.cp-acc__head:hover { background: #e4eefa; }
.cp-acc__num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--cp-blue); color: #fff; font-size: 13px; font-weight: 600; flex: none; }
.cp-acc__title { flex: 1; min-width: 0; }
.cp-acc__chev { display: flex; color: currentColor; opacity: .85; }
.cp-acc.is-open { border-color: #c9d8ee; }
.cp-acc.is-open .cp-acc__head { background: linear-gradient(90deg, #0a2b60, #0e3d84); color: #fff !important; }
.cp-acc.is-open .cp-acc__num { background: #fff; color: var(--cp-navy); }
.cp-acc.is-locked .cp-acc__head { opacity: .55; cursor: not-allowed; }
.cp-acc__body { padding: 18px 16px 18px; }

/* ---------- fields ---------- */
.cp-field { display: block; min-width: 0; margin: 0 0 14px; }
.cp-field--full { grid-column: 1 / -1; }
.cp-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: #1f2a3c; }
.cp-req { color: var(--cp-red); }
.cp-input { display: block; width: 100%; min-height: 42px; margin: 0; padding: 10px 12px; font: inherit; font-size: 14px; color: var(--cp-text); background: #fff; border: 1px solid var(--cp-line-2); border-radius: 6px; box-shadow: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.cp-input::placeholder { color: #9aa5b5; }
.cp-input:focus { outline: none; border-color: var(--cp-blue); box-shadow: 0 0 0 3px rgba(27, 95, 209, .14); }
.cp-select { padding-right: 34px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; }
.cp-textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.cp-textarea--sm { min-height: 76px; }
.cp-help { display: block; margin-top: 5px; font-size: 11.5px; color: #7b8697; }
.cp-counter { text-align: right; }
.cp-counter.is-near { color: #b45309; }
.cp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.cp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 10px; align-items: end; }
.cp-file { position: absolute !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* upload box (logo / cover) */
.cp-upload { position: relative; display: flex; align-items: center; gap: 14px; min-height: 132px; padding: 14px; border: 1px solid var(--cp-line-2); border-radius: 8px; background: #fff; }
.cp-upload__preview { flex: 1; min-width: 0; display: grid; place-items: center; min-height: 100px; }
.cp-upload__preview img { max-width: 100%; max-height: 112px; object-fit: contain; }
.cp-upload--wide .cp-upload__preview img { width: 100%; max-height: 150px; object-fit: cover; border-radius: 6px; }
.cp-upload__empty { display: grid; justify-items: center; gap: 6px; color: #8794a7; font-size: 12.5px; }
.cp-upload__empty .cp-ico { width: 28px; height: 28px; color: #a7b8d2; }
.cp-upload:focus-within { border-color: var(--cp-blue); box-shadow: 0 0 0 3px rgba(27, 95, 209, .14); }

/* ---------- buttons ---------- */
.cp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; margin: 0; padding: 11px 18px; font: inherit; font-size: 14.5px; font-weight: 600; line-height: 1.2; color: var(--cp-navy-2) !important; background: #fff; border: 1.5px solid var(--cp-navy-2); border-radius: 7px; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: filter .15s, background .15s, transform .05s; }
.cp-btn:hover { background: #f3f7fd; }
.cp-btn:active { transform: translateY(1px); }
.cp-btn:disabled { opacity: .55; cursor: progress; }
.cp-btn .cp-ico { width: 16px; height: 16px; }
.cp-btn--primary { background: #0d3372; border-color: #0d3372; color: #fff !important; }
.cp-btn--primary:hover { background: #0a2a5f; }
.cp-btn--blue { background: var(--cp-blue); border-color: var(--cp-blue); color: #fff !important; }
.cp-btn--blue:hover { background: #164fb0; }
.cp-btn--green { background: var(--cp-green); border-color: var(--cp-green); color: #fff !important; }
.cp-btn--green:hover { background: #0e8a44; }
.cp-btn--soft { border: 1px solid #b9cdef; color: var(--cp-blue) !important; background: #fff; }
.cp-btn--soft:hover { background: var(--cp-blue-soft); }
.cp-btn--outline { border-color: #93a8c8; }
.cp-btn--sm { min-height: 38px; padding: 8px 12px; font-size: 13px; border-radius: 6px; }
.cp-btn--block { display: flex; width: 100%; }
.cp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.cp-back { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 13px; }
.cp-back .cp-ico { width: 15px; height: 15px; }
.cp-add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--cp-blue); background: #f5f9ff; border: 1.5px dashed #a8c1ea; border-radius: 8px; cursor: pointer; }
.cp-add:hover { background: var(--cp-blue-soft); }
.cp-link-danger { padding: 2px 0; font: inherit; font-size: 13px; font-weight: 500; color: #c0352b; background: none; border: 0; cursor: pointer; }
.cp-link-danger:hover { text-decoration: underline; }

/* ---------- feedback ---------- */
.cp-feedback { font-size: 13px; margin: 12px 0 0; }
.cp-feedback:empty { margin: 0; }
.cp-feedback.is-ok { color: #15803d; font-weight: 600; }
.cp-feedback.is-busy { color: var(--cp-muted); }
.cp-feedback.is-error { padding: 10px 12px; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 6px; }

/* ---------- repeatable cards ---------- */
.cp-repeat { margin: 0 0 12px; padding: 14px 14px 2px; background: var(--cp-soft); border: 1px solid var(--cp-line); border-radius: 10px; }
.cp-repeat__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 600; color: var(--cp-navy); }
.cp-photo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cp-photo-row .cp-label { margin-bottom: 6px; }
.cp-photo-row .cp-btn { position: relative; }
.cp-photo { display: grid; place-items: center; width: 76px; height: 76px; flex: none; overflow: hidden; border-radius: 50%; background: #e3eaf4; color: #93a6c3; border: 2px solid #fff; box-shadow: var(--cp-shadow); }
.cp-photo--wide { width: 116px; height: 80px; border-radius: 8px; }
.cp-photo img { width: 100%; height: 100%; object-fit: cover; }
.cp-photo .cp-ico { width: 30px; height: 30px; }
.cp-empty-box { margin-bottom: 12px; padding: 18px; text-align: center; color: var(--cp-muted); font-size: 13px; background: var(--cp-soft); border: 1px dashed var(--cp-line-2); border-radius: 10px; }

/* ---------- services (picker + display) ---------- */
.cp-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cp-service { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 104px; padding: 16px 6px 12px; text-align: center; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--cp-navy); background: #fff; border: 1px solid var(--cp-line); border-radius: 8px; box-shadow: var(--cp-shadow); }
.cp-service > .cp-ico { width: 34px; height: 34px; color: #1d5fc6; }
.cp-service > span:last-child { overflow-wrap: normal; word-break: normal; hyphens: none; }
label.cp-service { cursor: pointer; user-select: none; transition: border-color .15s, background .15s; }
label.cp-service:hover { border-color: #a8c1ea; }
.cp-service input { position: absolute; opacity: 0; pointer-events: none; }
.cp-check { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid #c2d0e4; border-radius: 50%; background: #fff; }
.cp-check .cp-ico { width: 11px; height: 11px; color: #fff; stroke-width: 3.2; opacity: 0; }
.cp-service.is-checked { border-color: var(--cp-blue); background: #f1f6ff; box-shadow: 0 0 0 1px var(--cp-blue); }
.cp-service.is-checked .cp-check { background: var(--cp-blue); border-color: var(--cp-blue); }
.cp-service.is-checked .cp-check .cp-ico { opacity: 1; }
.cp-service input:focus-visible ~ .cp-check { outline: 2px solid var(--cp-blue); outline-offset: 2px; }

/* ---------- gallery (form) ---------- */
.cp-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-bottom: 10px; }
.cp-thumbs:empty { display: none; }
.cp-thumb { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #e8eef6; }
.cp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cp-thumb button { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; padding: 0; font: 600 16px/22px Arial, sans-serif; color: #fff; background: rgba(15, 23, 42, .72); border: 0; border-radius: 50%; cursor: pointer; }
.cp-thumb__tag { position: absolute; left: 4px; bottom: 4px; padding: 1px 6px; font-size: 10px; font-weight: 600; color: #fff; background: var(--cp-green); border-radius: 4px; }
.cp-drop { display: grid; justify-items: center; gap: 3px; padding: 20px 12px; text-align: center; color: var(--cp-blue); background: #f5f9ff; border: 1.5px dashed #a8c1ea; border-radius: 10px; cursor: pointer; }
.cp-drop:hover { background: var(--cp-blue-soft); }
.cp-drop .cp-ico { width: 26px; height: 26px; }
.cp-drop small { color: var(--cp-muted); font-size: 12px; }
.cp-count { font-weight: 600; color: var(--cp-navy); }

/* =====================================================================
   PROFILE / REVIEW
   ===================================================================== */
.cp-hero { position: relative; margin: 0 -16px; }
.cp-hero__cover { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, #dce7f5, #f2f6fb); }
.cp-hero__cover--empty { display: grid; place-items: center; color: #a3b5cf; }
.cp-hero__cover--empty .cp-ico { width: 44px; height: 44px; }
.cp-hero__logo { position: absolute; left: 16px; bottom: -16px; display: grid; place-items: center; width: 104px; height: 104px; overflow: hidden; background: #fff; border: 3px solid #fff; border-radius: 6px; box-shadow: 0 4px 14px rgba(10, 25, 55, .22); }
.cp-hero__logo img { width: 100%; height: 100%; object-fit: contain; }
.cp-hero__logo span { font-size: 30px; font-weight: 800; color: var(--cp-navy); }
.cp-badge { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; font-size: 11.5px; font-weight: 600; color: #3b2a05; background: #fff; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .16); }
.cp-badge .cp-ico { width: 14px; height: 14px; color: var(--cp-gold); }

.cp-head { padding-top: 28px; }
.cp-head--review { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.cp-head--review .cp-btn { margin-top: 4px; flex: none; }
.cp-name { font-size: 24px !important; }
.cp-cat { margin-top: 2px; font-size: 14.5px; color: var(--cp-muted); }
.cp-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; font-size: 13px; color: #3c475a; }
.cp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cp-meta .cp-ico { width: 15px; height: 15px; color: var(--cp-blue); }
.cp-cta { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
.cp-cta .cp-btn { padding: 8px 4px; gap: 4px; font-size: 12px; min-width: 0; }
.cp-cta .cp-ico { width: 15px; height: 15px; }

.cp-tabs { display: flex; gap: 22px; margin: 18px -16px 0; padding: 0 16px; overflow-x: auto; border-bottom: 1px solid var(--cp-line); scrollbar-width: none; }
.cp-tabs::-webkit-scrollbar { display: none; }
.cp-tabs a { flex: none; padding: 12px 0 10px; font-size: 13.5px; font-weight: 500; color: #2c3546 !important; border-bottom: 2px solid transparent; text-decoration: none !important; }
.cp-tabs a.is-active { color: var(--cp-navy) !important; font-weight: 600; border-bottom-color: var(--cp-blue); }

.cp-sec { padding: 22px 0; border-bottom: 1px solid #edf1f6; scroll-margin-top: 90px; }
.cp-sec:last-child { border-bottom: 0; }
.cp-sec h2, .cp-sec__head h3 { font-size: 19px; }
.cp-sec > h2 { margin-bottom: 10px; }
.cp-sec__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.cp-sec__links { display: inline-flex; align-items: center; gap: 14px; }
.cp-viewall { padding: 0; font: inherit; font-size: 13px; font-weight: 500; color: var(--cp-blue); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.cp-viewall:hover, .cp-edit:hover { text-decoration: underline; }
.cp-edit { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.cp-edit .cp-ico { width: 14px; height: 14px; }
.cp-about { font-size: 14px; line-height: 1.65; color: #3a4558; }
.cp-about.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.cp-readmore { display: flex; align-items: center; gap: 3px; margin: 8px auto 0; padding: 4px 8px; font: inherit; font-size: 13px; font-weight: 500; color: var(--cp-blue); background: none; border: 0; cursor: pointer; }
.cp-readmore .cp-ico { width: 15px; height: 15px; transition: transform .2s; }
.cp-readmore.is-open .cp-ico { transform: rotate(180deg); }
.cp-empty { font-size: 13px; color: #8390a3; }
.cp-dash { color: #a0aab8; }

/* stats */
.cp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0 0; background: #fff; border: 1px solid var(--cp-line); border-radius: 10px; box-shadow: var(--cp-shadow); }
.cp-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 6px; text-align: center; }
.cp-stat + .cp-stat { border-left: 1px solid var(--cp-line); }
.cp-stat .cp-ico { width: 24px; height: 24px; margin-bottom: 4px; color: var(--cp-navy); }
.cp-stat b { font-size: 20px; line-height: 1.15; color: var(--cp-navy); }
.cp-stat small { font-size: 11.5px; color: var(--cp-muted); }

/* key details */
.cp-kv { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cp-kv th, .cp-kv td { padding: 7px 4px; text-align: left; vertical-align: top; border-bottom: 1px solid #edf1f6; }
.cp-kv th { width: 44%; font-weight: 400; color: #475263; }
.cp-kv tr:last-child th, .cp-kv tr:last-child td { border-bottom: 0; }

/* cards */
.cp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cp-card { min-width: 0; }
.cp-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #e7edf5; }
.cp-card__img--empty { display: grid; place-items: center; color: #a3b5cf; }
.cp-card--person .cp-card__img { aspect-ratio: 1 / 1.08; object-position: center top; }
.cp-card__body { padding: 7px 1px 0; }
.cp-card__title { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--cp-navy); }
.cp-card__sub { font-size: 12px; line-height: 1.4; color: var(--cp-muted); }
.cp-type--commercial { color: var(--cp-green); }
.cp-card--boxed { overflow: hidden; background: #fff; border: 1px solid var(--cp-line); border-radius: 8px; box-shadow: var(--cp-shadow); }
.cp-card--boxed .cp-card__img { border-radius: 0; }
.cp-card--boxed .cp-card__body { padding: 8px 10px 10px; }

/* featured projects */
.cp-slider { overflow: hidden; margin-bottom: 10px; background: #fff; border: 1px solid var(--cp-line); border-radius: 10px; box-shadow: var(--cp-shadow); }
.cp-slide { display: none; }
.cp-slide.is-active { display: block; animation: cpFade .25s ease; }
.cp-slide__media { position: relative; }
.cp-slide__media img, .cp-slide__empty { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e7edf5; }
.cp-slide__body { padding: 10px 12px 12px; }
.cp-slide__body .cp-card__title { font-size: 14px; }
.cp-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; color: var(--cp-navy); background: #fff; border: 0; border-radius: 50%; box-shadow: 0 2px 8px rgba(0, 0, 0, .22); transform: translateY(-50%); cursor: pointer; }
.cp-arrow--prev { left: 10px; }
.cp-arrow--next { right: 10px; }
.cp-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@keyframes cpFade { from { opacity: .3; } to { opacity: 1; } }

/* contact */
.cp-contact { display: grid; gap: 12px; font-size: 14px; color: #2c3546; }
.cp-contact + .cp-contact { margin-top: 12px; }
.cp-contact__row { display: flex; align-items: flex-start; gap: 12px; }
.cp-contact__row > .cp-ico, .cp-contact__row span > .cp-ico { color: var(--cp-blue); margin-top: 1px; }
.cp-contact__row a { color: #2c3546; }
.cp-contact__row div a[target] { color: var(--cp-blue); }
.cp-contact__row--split { flex-wrap: wrap; gap: 8px 22px; }
.cp-contact__row--split span { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.cp-contact__row--split span:last-child a { color: var(--cp-blue); }
.cp-sep { margin: 0 10px; color: #c3ccd8; }

.cp-offices { display: grid; gap: 10px; }
.cp-office { display: grid; gap: 4px; padding: 12px 14px; font-size: 13.5px; background: var(--cp-soft); border: 1px solid var(--cp-line); border-radius: 8px; }
.cp-office b { color: var(--cp-navy); }
.cp-office div { display: flex; align-items: flex-start; gap: 8px; }
.cp-office .cp-ico { width: 15px; height: 15px; margin-top: 2px; color: var(--cp-blue); }

.cp-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cp-social a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 13px; font-weight: 500; color: var(--cp-navy); border: 1px solid var(--cp-line-2); border-radius: 999px; text-decoration: none !important; }
.cp-social a:hover { border-color: var(--cp-blue); color: var(--cp-blue); }
.cp-social .cp-ico { width: 15px; height: 15px; }

.cp-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cp-gallery a { display: block; overflow: hidden; border-radius: 6px; }
.cp-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .25s; }
.cp-gallery a:hover img { transform: scale(1.04); }

/* review page wrapper */
.cp-preview .cp-sec--tight { padding: 16px 0; }
.cp-preview .cp-sec__head { margin-bottom: 8px; }
.cp-preview .cp-sec__head h3, .cp-preview .cp-h3 { font-size: 17px; }
.cp-preview .cp-h3 { margin: 16px 0 6px !important; }
.cp-preview .cp-name { font-size: 22px !important; }
.cp-preview .cp-stats { margin-top: 0; }
.cp-preview .cp-kv th, .cp-preview .cp-kv td { padding: 5px 2px; font-size: 13px; }
.cp-contact--stack { gap: 9px; font-size: 13.5px; }
.cp-head--review .cp-meta { gap: 4px 14px; font-size: 12.5px; }
.cp-edit { width: 28px; height: 28px; justify-content: center; border-radius: 50%; color: var(--cp-muted) !important; }
.cp-edit:hover { background: var(--cp-blue-soft); color: var(--cp-blue) !important; text-decoration: none !important; }
.cp-edit .cp-ico { width: 15px; height: 15px; }
.cp-preview { overflow: hidden; background: #fff; border: 1px solid var(--cp-line); border-radius: 12px; box-shadow: 0 2px 10px rgba(15, 35, 70, .06); }
.cp-preview .cp-hero { margin: 0; }
.cp-preview .cp-hero__cover { height: 180px; }
.cp-preview .cp-hero__logo { width: 96px; height: 96px; bottom: -14px; }
.cp-preview__body { padding: 0 16px 6px; }
.cp-submit { margin: 18px 0 10px; }
.cp-submit .cp-btn { min-height: 48px; font-size: 15px; }

/* payment */
.cp-panel { margin: 0 0 6px; padding: 16px 18px; background: #fff; border: 1px solid var(--cp-line); border-radius: 10px; box-shadow: var(--cp-shadow); }
.cp-panel .cp-h3 { margin-top: 0 !important; }
.cp-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; }
.cp-status { display: inline-block; padding: 1px 8px; font-size: 12px; font-weight: 600; border-radius: 999px; background: #eef2f7; color: #334155; }
.cp-status--pending_payment { background: #fff3d6; color: #8a5a00; }
.cp-status--pending_review { background: #e3eefe; color: #1b4fb0; }
.cp-status--published { background: #dcfce7; color: #166534; }

/* ---------- phones ---------- */
@media (max-width: 480px) {
  .cp-service { font-size: 10.5px; padding: 14px 2px 10px; letter-spacing: -.01em; }
  .cp-service > .cp-ico { width: 30px; height: 30px; }
  .cp-preview .cp-service { font-size: 10px; }
  .cp-sec h2, .cp-sec__head h3 { font-size: 17.5px; }
  .cp-select { padding-right: 28px; background-position: right 9px center; text-overflow: ellipsis; }
  .cp-cta .cp-ico { width: 14px; height: 14px; }
}

/* ---------- small phones ---------- */
@media (max-width: 380px) {
  .cp { padding-left: 12px; padding-right: 12px; }
  .cp-hero, .cp-tabs { margin-left: -12px; margin-right: -12px; }
  .cp-tabs { padding: 0 12px; }
  .cp-step__label { font-size: 8.5px; }
  .cp-step__num { width: 25px; height: 25px; font-size: 11.5px; }
  .cp-step:not(:first-child)::before { top: 12.5px; }
  .cp-service { font-size: 10.5px; padding: 14px 3px 10px; }
  .cp-service > .cp-ico { width: 28px; height: 28px; }
  .cp-grid3 .cp-label { font-size: 11.5px; }
  .cp-cta .cp-btn { font-size: 11.5px; }
  .cp-cta .cp-ico { display: none; }
}
@media (max-width: 520px) {
  .cp-grid2--rows { grid-template-columns: 1fr; }
}

/* ---------- tablets & desktop ---------- */
@media (min-width: 768px) {
  .cp { padding: 22px 24px 60px; }
  .cp-title h1 { font-size: 25px; }
  .cp-h1 { font-size: 27px; }
  .cp-steps { margin: 24px 0 26px; }
  .cp-step__num { width: 34px; height: 34px; font-size: 14px; }
  .cp-step:not(:first-child)::before { top: 17px; }
  .cp-step__label { font-size: 11.5px; }
  .cp-acc__body { padding: 22px 24px; }
  .cp-actions { max-width: 460px; margin-left: auto; }

  .cp-hero { margin: 0; }
  .cp-hero__cover { height: 340px; border-radius: 12px; }
  .cp-hero__logo { left: 24px; bottom: -22px; width: 132px; height: 132px; }
  .cp-badge { right: 18px; bottom: 18px; font-size: 12.5px; padding: 6px 13px; }
  #cp-profile .cp-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; padding-top: 36px; }
  #cp-profile .cp-cta { grid-auto-columns: auto; margin-top: 0; }
  #cp-profile .cp-cta .cp-btn { padding: 9px 16px; font-size: 13.5px; }
  .cp-name { font-size: 30px !important; }
  .cp-tabs { margin: 22px 0 0; padding: 0; gap: 30px; }
  .cp-tabs a { font-size: 14.5px; }
  .cp-sec { padding: 30px 0; }
  .cp-sec h2, .cp-sec__head h3 { font-size: 22px; }
  .cp-about { font-size: 15px; max-width: 860px; }
  .cp-stat { padding: 20px 8px; }
  .cp-stat b { font-size: 26px; }
  .cp-stat small { font-size: 13px; }
  .cp-stat .cp-ico { width: 30px; height: 30px; }
  .cp-service { min-height: 130px; padding: 24px 10px 18px; font-size: 14px; }
  .cp-service > .cp-ico { width: 44px; height: 44px; }
  .cp-cards { gap: 18px; }
  .cp-card__title { font-size: 15px; }
  .cp-card__sub { font-size: 13px; }
  .cp-projects { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .cp-projects .cp-slider { margin: 0; }
  .cp-projects .cp-cards--2 { grid-template-columns: 1fr; gap: 14px; }
  .cp-projects .cp-cards--2 .cp-card--boxed { display: grid; grid-template-columns: 44% 1fr; align-items: center; }
  .cp-projects .cp-cards--2 .cp-card__img { height: 100%; aspect-ratio: auto; min-height: 110px; }
  .cp-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .cp-contact { font-size: 15px; }
  .cp-offices { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cp-preview .cp-hero__cover { height: 260px; border-radius: 0; }
  .cp-preview__body { padding: 0 24px 10px; }
  .cp-preview .cp-tabs { margin: 22px 0 0; }
  #cp-review .cp-submit, #cp-review > .cp-btn--block { max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1024px) {
  #cp-profile #team .cp-cards, #cp-review #team .cp-cards { max-width: 760px; }
  #cp-profile #overview { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 40px; align-items: start; }
  #cp-profile #overview > h2, #cp-profile #overview > .cp-about, #cp-profile #overview > .cp-readmore { grid-column: 1; }
  #cp-profile #overview > .cp-stats { grid-column: 2; grid-row: 1 / span 3; margin-top: 4px; }
  #cp-profile #overview > .cp-readmore { margin-left: 0; padding-left: 0; }
}
