/* ===========================================================================
   Aqaratk — public company / broker profile (company.php)
   ===========================================================================
   The hero deliberately echoes the homepage showcase band: navy field, gold
   pools, gold-ringed logo. Arriving here from one of those cards should feel
   like the card opened out, not like a jump to an unrelated page.
   =========================================================================== */

.co-hero {
  position: relative; isolation: isolate;
  background: var(--navy, #0B1B33);
  padding: 46px 0 42px;
  overflow: hidden;
  text-align: center;
}
.co-hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 10% 0%,   rgba(201,162,39,.22), transparent 62%),
    radial-gradient(46% 58% at 92% 100%, rgba(15,118,110,.20), transparent 62%);
}
.co-hero::after {
  content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.55), transparent);
}
.co-hero-in { display: flex; flex-direction: column; align-items: center; }

/* ---------- Logo ---------- */
.co-ring {
  position: relative;
  width: 108px; height: 108px;
  border-radius: 50%; padding: 3px;
  background: linear-gradient(145deg, var(--gold-light, #E3C15A), var(--gold, #C9A227) 45%, #EADFB8);
  flex: 0 0 auto;
}
.co-ring-sq { border-radius: 26px; }
.co-ava {
  position: relative; width: 100%; height: 100%;
  border-radius: inherit; overflow: hidden;
  display: grid; place-items: center;
  background: #fff;
}
.co-mono { font-size: 40px; font-weight: 800; line-height: 1; color: var(--navy, #0B1B33); }
.co-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; background: #fff;
}
.co-ring-sq .co-img { object-fit: contain; padding: 10px; }

.co-tick {
  position: absolute; bottom: 0; inset-inline-end: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal, #0F766E); color: #fff;
  border: 3px solid var(--navy, #0B1B33);
}

/* ---------- Identity ---------- */
.co-role {
  margin-top: 16px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light, #E3C15A);
}
[dir="rtl"] .co-role { letter-spacing: 0; }

.co-name {
  margin: 7px 0 0; color: #fff;
  font-size: clamp(23px, 3.4vw, 34px); letter-spacing: -.02em; line-height: 1.25;
}
.co-sub { margin: 6px 0 0; color: rgba(255,255,255,.62); font-size: 14px; }
.co-vf  { margin: 8px 0 0; color: #7FD8C4; font-size: 12.5px; font-weight: 700; }

/* ---------- Numbers ---------- */
.co-stats {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin-top: 24px;
}
.co-stat {
  min-width: 108px;
  padding: 12px 18px; border-radius: 13px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
}
.co-stat-wide { min-width: 168px; }
.co-stat b {
  display: block; font-size: 19px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.co-stat i {
  display: block; font-style: normal; margin-top: 3px;
  font-size: 11.5px; color: rgba(255,255,255,.6);
}

/* ---------- Contact ---------- */
.co-cta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 22px; }
.co-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  color: #fff; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.co-btn:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.co-btn-gold {
  background: linear-gradient(135deg, var(--gold-light, #E3C15A), var(--gold, #C9A227));
  color: #1a1400; border-color: transparent;
}
.co-btn-gold:hover { filter: brightness(1.06); background: linear-gradient(135deg, var(--gold-light, #E3C15A), var(--gold, #C9A227)); }

/* ---------- Body ---------- */
.co-h2 {
  font-size: 19px; margin: 0 0 14px; color: var(--navy, #0B1B33);
  display: flex; align-items: center; gap: 10px;
}
.co-count {
  font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 999px;
  background: var(--surface-2, #F4F2EF); color: var(--ink-3, #64748B);
}
.co-about {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #E7E5E1);
  border-radius: var(--radius, 14px);
  padding: 20px 22px; margin-bottom: 30px;
}
.co-about p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--ink-2, #3D4A5C); }

/* ---------- Pager ---------- */
.co-pager { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.co-page {
  min-width: 40px; padding: 9px 13px; border-radius: 10px;
  text-align: center; text-decoration: none; font-size: 13.5px; font-weight: 700;
  color: var(--navy, #0B1B33);
  background: var(--surface, #fff);
  border: 1px solid var(--line, #E7E5E1);
  transition: border-color .16s ease;
}
.co-page:hover { border-color: var(--navy, #0B1B33); }
.co-page.on { background: var(--navy, #0B1B33); color: #fff; border-color: transparent; }

/* ---- Section head + Grid/Map toggle ------------------------------------- */
.co-sec-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 14px;
}
.co-sec-head .co-h2 { margin: 0; }

.co-views {
  display: inline-flex; padding: 3px; gap: 3px;
  background: var(--surface-2, #F4F2EF);
  border: 1px solid var(--line, #E7E5E1);
  border-radius: 11px;
}
.co-view {
  display: inline-flex; align-items: center; gap: 7px;
  /* 40px + 3px of track padding each side clears the 44px touch floor the
     rest of the site holds to, without a chunky control on desktop. */
  min-height: 40px; padding: 0 15px; border-radius: 9px;
  font-size: 13.5px; font-weight: 700; text-decoration: none;
  color: var(--ink-2, #3D4A5C);
  transition: background-color .16s ease, color .16s ease;
}
.co-view:hover { color: var(--navy, #0B1B33); }
.co-view.on {
  background: var(--surface, #fff);
  color: var(--navy, #0B1B33);
  box-shadow: 0 1px 3px rgba(15, 23, 41, .10);
}
.co-view svg { flex: none; }

.co-map-note {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 12px; padding: 11px 14px;
  border-radius: 10px; font-size: 13.5px; line-height: 1.6;
  background: #FEF6E7; color: var(--warn-ink, #B35309);
  border: 1px solid #F5DFB4;
}
.co-map-note svg { flex: none; }

/* ---- Profile enquiry form ------------------------------------------------ */
.co-contact { margin-top: 40px; }
.co-contact-in {
  background: var(--surface, #fff);
  border: 1px solid var(--line, #E7E5E1);
  border-radius: var(--radius, 14px);
  padding: 26px 24px 28px;
  max-width: 720px; margin: 0 auto;
}
.co-contact-sub {
  margin: -6px 0 20px; line-height: 1.7;
  font-size: 14px; color: var(--ink-3, #617086);
}
.co-form { display: flex; flex-direction: column; gap: 15px; position: relative; }
.co-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.co-field { display: flex; flex-direction: column; gap: 7px; }
.co-field > span {
  font-size: 13px; font-weight: 700; color: var(--ink-2, #3D4A5C);
}
.co-field > span b { color: var(--danger, #DC2626); font-weight: 700; }
.co-field textarea.input { resize: vertical; min-height: 96px; line-height: 1.65; }
.co-form-send { align-self: flex-start; min-width: 190px; }

/* Honeypot: hidden from people, still present for a bot to fill in.
   Clipped to a 1px box rather than pushed off-screen with a big negative
   offset - in an RTL layout that offset lands OUTSIDE the page and gives the
   whole document a phantom horizontal scrollbar. Clipping has no direction, so
   it behaves identically in Arabic and English. display:none is avoided
   deliberately: bots skip fields they can tell are not rendered. */
.co-hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%);
}

@media (max-width: 560px) {
  .co-contact-in { padding: 22px 18px 24px; }
  .co-form-row { grid-template-columns: 1fr; }
  .co-form-send { align-self: stretch; width: 100%; }
}

/* Keyboard focus. Missing from this file until now - every interactive
   element here was reachable by Tab but gave no sign of where you were. */
.co-btn:focus-visible,
.co-page:focus-visible,
.co-view:focus-visible {
  outline: 3px solid var(--gold, #C9A227);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .co-sec-head { gap: 10px; }
  .co-views { width: 100%; }
  .co-view { flex: 1; justify-content: center; }
  .co-hero { padding: 34px 0 32px; }
  .co-ring { width: 88px; height: 88px; }
  .co-mono { font-size: 33px; }
  .co-stat { min-width: 92px; padding: 10px 14px; }
  .co-stat b { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .co-btn { transition: none; }
  .co-btn:hover { transform: none; }
}
