/* ==========================================================================
   Company Profile — public directory page
   Namespaced entirely under .company-page so nothing here leaks onto the
   rest of the (WordPress-derived) site chrome.
   ========================================================================== */

.company-page {
  --cp-accent: #957EFC;
  --cp-accent-2: #7c5cff;
  --cp-accent-3: #DEB1FF;
  --cp-gradient: linear-gradient(135deg, #957EFC, #DEB1FF);
  --cp-ink: #14141c;
  --cp-muted: #4a4a55;
  --cp-line: rgba(20, 20, 28, 0.09);
  --cp-radius-lg: 20px;
  --cp-radius-md: 14px;
  --cp-radius-sm: 10px;
  font-family: 'Inter', sans-serif;
  color: var(--cp-ink);
  -webkit-font-smoothing: antialiased;
}

.company-page * { box-sizing: border-box; }

.company-page img { max-width: 100%; height: auto; display: block; }

.company-page a { text-decoration: none; color: inherit; }

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

/* -------------------------------------------------------------------- */
/* Breadcrumb                                                            */
/* -------------------------------------------------------------------- */
.company-page .cp-breadcrumb {
  font-size: 13px;
  letter-spacing: .01em;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.company-page .cp-breadcrumb a { color: rgba(255, 255, 255, .78); }
.company-page .cp-breadcrumb a:hover { color: #fff; }
.company-page .cp-breadcrumb span.sep { opacity: .4; }
.company-page .cp-breadcrumb span.current { color: #fff; }

/* -------------------------------------------------------------------- */
/* Hero                                                                   */
/* -------------------------------------------------------------------- */
.company-page .cp-hero {
  position: relative;
  background-color: #0b0b12;
  background-image:
    radial-gradient(1200px 500px at 20% -10%, rgba(149, 126, 252, .30), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(222, 177, 255, .14), transparent 55%);
  padding: 132px 0 64px;
  overflow: hidden;
  isolation: isolate;
}
.company-page .cp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../uploads/2025/06/shape-grid.webp');
  background-repeat: no-repeat;
  background-position: right -80px top -40px;
  background-size: 720px auto;
  opacity: .10;
  z-index: -1;
  pointer-events: none;
}

.company-page .cp-hero__main {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.company-page .cp-logo {
  flex: 0 0 220px;
  width: 220px;
  height: 120px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.company-page .cp-logo img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
  width: auto;
}
.company-page .cp-logo .cp-logo__fallback {
  font-family: 'Arapey', serif;
  font-size: 28px;
  color: var(--cp-ink);
}

.company-page .cp-identity { flex: 1 1 380px; min-width: 260px; }

.company-page .cp-identity h1 {
  font-family: 'Arapey', serif;
  font-weight: 400;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.1;
  margin: 0 0 12px;
}

.company-page .cp-tagline {
  color: #c9c9d4;
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 20px;
  max-width: 640px;
}

.company-page .cp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #c9c9d4;
}
.company-page .cp-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.company-page .cp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.company-page .cp-pill--verified {
  background: rgba(149, 126, 252, .16);
  border: 1px solid rgba(149, 126, 252, .5);
  color: #cfc2ff;
}
.company-page .cp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1c766;
  font-size: 14px;
  letter-spacing: 1px;
}
.company-page .cp-rating__num {
  color: #c9c9d4;
  letter-spacing: normal;
  font-weight: 600;
}
.company-page .cp-price {
  color: #c9c9d4;
  font-weight: 600;
  letter-spacing: .04em;
}

.company-page .cp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.company-page .cp-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  color: #e4e4ec;
  font-size: 13px;
  transition: border-color .18s ease, background .18s ease;
}
.company-page a.cp-chip:hover {
  border-color: rgba(149, 126, 252, .6);
  background: rgba(149, 126, 252, .12);
}

.company-page .cp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}
.company-page .cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.company-page .cp-btn--primary {
  background: var(--cp-gradient);
  color: #16101f;
  box-shadow: 0 14px 30px rgba(149, 126, 252, .35);
}
.company-page .cp-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(149, 126, 252, .45); }
.company-page .cp-btn--ghost {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
}
.company-page .cp-btn--ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.company-page .cp-btn--block { width: 100%; }

.company-page .cp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}
.company-page .cp-stat {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 20px 18px;
  backdrop-filter: blur(6px);
}
.company-page .cp-stat__value {
  font-family: 'Arapey', serif;
  font-size: 32px;
  line-height: 1.1;
  background: var(--cp-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.company-page .cp-stat__label {
  font-size: 12.5px;
  color: #b7b7c4;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* -------------------------------------------------------------------- */
/* Body                                                                   */
/* -------------------------------------------------------------------- */
.company-page .cp-body {
  background: #fff;
  padding: 64px 0 96px;
}
.company-page .cp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: start;
}

.company-page .cp-section { margin-bottom: 52px; }
.company-page .cp-section:last-child { margin-bottom: 0; }

.company-page .cp-h2 {
  font-family: 'Arapey', serif;
  font-weight: 400;
  font-size: 26px;
  color: var(--cp-ink);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 14px;
}
.company-page .cp-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  border-radius: 4px;
  background: var(--cp-gradient);
}

.company-page .cp-prose {
  color: var(--cp-muted);
  font-size: 16px;
  line-height: 1.75;
}
.company-page .cp-prose p { margin: 0 0 18px; }
.company-page .cp-prose p:last-child { margin-bottom: 0; }
.company-page .cp-prose strong, .company-page .cp-prose b { color: var(--cp-ink); font-weight: 700; }
.company-page .cp-prose ul, .company-page .cp-prose ol { margin: 0 0 18px; padding-left: 22px; }
.company-page .cp-prose a { color: var(--cp-accent-2); text-decoration: underline; }

.company-page .cp-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.company-page .cp-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  color: var(--cp-ink);
  line-height: 1.5;
}
.company-page .cp-highlights .cp-check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cp-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16101f;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

.company-page .cp-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.company-page .cp-service-card {
  position: relative;
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-md);
  padding: 18px 18px 16px;
  background: #fafaff;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.company-page a.cp-service-card:hover {
  border-color: rgba(149, 126, 252, .55);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(20, 20, 28, .07);
}
.company-page .cp-service-card--primary {
  border-color: var(--cp-accent);
  background: linear-gradient(180deg, rgba(149, 126, 252, .08), rgba(222, 177, 255, .04));
}
.company-page .cp-service-card__name {
  font-weight: 600;
  font-size: 15px;
  color: var(--cp-ink);
  display: block;
}
.company-page .cp-service-card__badge {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #7c5cff;
  background: rgba(149, 126, 252, .12);
  border-radius: 999px;
  padding: 3px 10px;
}

.company-page .cp-chipgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.company-page .cp-chipgrid .cp-chip {
  border: 1px solid var(--cp-line);
  background: #f6f6fb;
  color: var(--cp-ink);
}
.company-page .cp-chipgrid .cp-chip--client {
  border: 1px solid rgba(149, 126, 252, .35);
  background: #fff;
  font-weight: 600;
}

.company-page .cp-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.company-page .cp-project-card {
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-md);
  padding: 22px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.company-page .cp-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(20, 20, 28, .08);
}
.company-page .cp-project-card h3 {
  font-family: 'Arapey', serif;
  font-weight: 400;
  font-size: 19px;
  color: var(--cp-ink);
  margin: 0 0 10px;
}
.company-page .cp-project-card p {
  font-size: 14.5px;
  color: var(--cp-muted);
  line-height: 1.65;
  margin: 0;
}

/* -------------------------------------------------------------------- */
/* Sidebar                                                                */
/* -------------------------------------------------------------------- */
.company-page .cp-side {
  display: grid;
  gap: 24px;
  align-content: start;
}
@media (min-width: 981px) {
  .company-page .cp-side { position: sticky; top: 100px; }
}

.company-page .cp-card {
  border: 1px solid var(--cp-line);
  border-radius: var(--cp-radius-lg);
  background: #fff;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(20, 20, 28, .05);
}
.company-page .cp-card h3 {
  font-family: 'Arapey', serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--cp-ink);
  margin: 0 0 18px;
}

.company-page .cp-contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.company-page .cp-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--cp-muted);
  line-height: 1.5;
}
.company-page .cp-contact-row .cp-ico {
  flex: 0 0 20px;
  font-size: 16px;
  line-height: 1.4;
}
.company-page .cp-contact-row a { color: var(--cp-ink); font-weight: 600; }
.company-page .cp-contact-row a:hover { color: var(--cp-accent-2); }

.company-page .cp-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--cp-line);
}
.company-page .cp-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--cp-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--cp-ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.company-page .cp-social a:hover {
  background: var(--cp-gradient);
  color: #16101f;
  border-color: transparent;
}

/* Inquiry form */
.company-page .cp-form { display: grid; gap: 14px; }
.company-page .cp-field { display: grid; gap: 6px; }
.company-page .cp-field label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #7a7a87;
}
.company-page .cp-field input,
.company-page .cp-field textarea {
  width: 100%;
  border: 1px solid var(--cp-line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: 'Inter', sans-serif;
  color: var(--cp-ink);
  background: #fbfbfe;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.company-page .cp-field input:focus,
.company-page .cp-field textarea:focus {
  outline: none;
  border-color: var(--cp-accent);
  box-shadow: 0 0 0 3px rgba(149, 126, 252, .18);
}
.company-page .cp-field textarea { resize: vertical; min-height: 100px; }
.company-page .cp-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.company-page .cp-flash {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}
.company-page .cp-flash--ok {
  background: rgba(60, 190, 130, .12);
  border: 1px solid rgba(60, 190, 130, .4);
  color: #1c7a4e;
}
.company-page .cp-flash--err {
  background: rgba(230, 90, 90, .1);
  border: 1px solid rgba(230, 90, 90, .4);
  color: #a02b2b;
}

/* -------------------------------------------------------------------- */
/* Responsive                                                             */
/* -------------------------------------------------------------------- */
@media (max-width: 980px) {
  .company-page .cp-grid { grid-template-columns: 1fr; }
  .company-page .cp-side { position: static; }
}

@media (max-width: 640px) {
  .company-page .cp-hero { padding: 120px 0 44px; }
  .company-page .cp-logo { width: 160px; height: 96px; flex-basis: 160px; }
  .company-page .cp-body { padding: 48px 0 64px; }
  .company-page .cp-card { padding: 20px; }
  .company-page .cp-cta-row .cp-btn { width: 100%; }
}
