/* ============================================================
   COMPANY.CSS v2 — Results Real Estate Inc.
   Redesigned: modern, unique, professional — light & clean
   All colors use existing theme CSS variables
   ============================================================ */

/* ── BASE RESETS FOR PAGE ──────────────────────────────────── */
.co-page { overflow-x: hidden; }

/* ── SHARED UTILITIES ──────────────────────────────────────── */
.co-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 14px;
}
.co-tag--light { color: rgba(255,255,255,0.7); }

.co-h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin: 0 0 16px;
}

.co-h2-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.co-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 13px 26px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.co-btn:hover { transform: translateY(-2px); }

.co-btn--solid {
  background: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.co-btn--solid:hover { box-shadow: 0 6px 20px rgba(0,212,255,0.35); }

.co-btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.co-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.co-btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.co-btn--outline:hover { background: var(--primary); color: var(--white); }

.co-btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.co-btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.co-btn--lg { font-size: 15px; padding: 15px 32px; }

/* ── HERO ──────────────────────────────────────────────────── */
.co-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 92vh;
}

.co-hero__left {
  background: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 100px) clamp(32px, 6vw, 80px);
  position: relative;
}

/* Subtle vertical accent line */
.co-hero__left::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.co-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 28px;
}

.co-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.co-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.co-hero__h1 em {
  font-style: normal;
  color: var(--accent);
}

.co-hero__sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin: 0 0 36px;
  max-width: 480px;
}

.co-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Right panel */
.co-hero__right {
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.co-hero__img-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.co-hero__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.co-hero__name-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(0,25,55,0.88);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: var(--r-lg);
  border-left: 3px solid var(--accent);
}
.co-hero__name-tag strong {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--white);
  display: block;
}
.co-hero__name-tag span {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 2px;
}

.co-hero__stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--primary);
}
.co-hstat {
  padding: 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.co-hstat:last-child { border-right: none; }
.co-hstat__n {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
}
.co-hstat__l {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

/* ── MISSION BAR ───────────────────────────────────────────── */
.co-mission-bar {
  background: var(--accent);
  padding: 52px 0;
}
.co-mission-bar__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.co-mission-bar__label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 14px;
}
.co-mission-bar__text {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.55;
  margin: 0;
}

/* ── STORY ─────────────────────────────────────────────────── */
.co-story { padding: 96px 0; background: var(--white); }

.co-story__header { margin-bottom: 56px; }
.co-story__header .co-h2 { max-width: 540px; }

.co-story__body {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 72px;
  align-items: start;
}

.co-story__text p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 16px;
}
.co-story__text p:last-child { margin-bottom: 0; }

/* Process steps */
.co-story__process { display: flex; flex-direction: column; gap: 0; }

.co-process-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.co-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.co-step:last-child { border-bottom: none; }

.co-step__num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 900;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 4px 9px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.co-step__text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 3px;
}
.co-step__text span {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ── STATS BAND ────────────────────────────────────────────── */
.co-stats-band {
  padding: 80px 0;
  background: var(--off-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.co-stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.co-sband {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 40px;
  border-right: 1px solid var(--border);
}
.co-sband:last-child { border-right: none; }
.co-sband:first-child { padding-left: 0; }

.co-sband__n {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}
.co-sband__div {
  width: 28px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 10px;
  border-radius: 2px;
}
.co-sband__l {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── VALUES GRID ───────────────────────────────────────────── */
.co-values { padding: 96px 0; background: var(--white); }
.co-values__head { text-align: center; margin-bottom: 56px; }

.co-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Normal card */
.co-vcard {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.co-vcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

/* First big card — spans 1 column but has accent background */
.co-vcard--big {
  background: var(--primary);
  border-color: var(--primary);
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 340px;
  padding: 36px;
}
.co-vcard--big:hover { transform: none; box-shadow: none; border-color: var(--primary); }
.co-vcard--big .co-vcard__icon {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}
.co-vcard--big .co-vcard__title { color: var(--white); }
.co-vcard--big .co-vcard__body  { color: rgba(255,255,255,0.65); }

/* Last big card — also accent-styled */
.co-vcard--big-end {
  background: var(--accent-dim);
  border-color: var(--accent);
}

.co-vcard__icon {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  flex-shrink: 0;
}

.co-vcard__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}
.co-vcard__body {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── SERVICES ──────────────────────────────────────────────── */
.co-services { padding: 96px 0; background: var(--off-white); }
.co-services__head { margin-bottom: 48px; }

.co-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.co-svc {
  background: var(--white);
  padding: 32px 28px;
  transition: background 0.2s ease;
  cursor: default;
}
.co-svc:hover { background: var(--primary); }
.co-svc:hover .co-svc__icon  { background: rgba(255,255,255,0.1); color: var(--accent); }
.co-svc:hover .co-svc__title { color: var(--white); }
.co-svc:hover .co-svc__body  { color: rgba(255,255,255,0.6); }

.co-svc__icon {
  width: 50px;
  height: 50px;
  background: var(--accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
  transition: background 0.2s ease, color 0.2s ease;
}
.co-svc__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
  transition: color 0.2s ease;
}
.co-svc__body {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  transition: color 0.2s ease;
}
.co-services__cta { text-align: center; margin-top: 40px; }

/* ── DIFFERENTIATORS ───────────────────────────────────────── */
.co-diff { padding: 96px 0; background: var(--white); }

.co-diff__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.co-diff__left p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.co-diff__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.co-diff__item {
  display: flex;
  gap: 14px;
  padding: 18px 16px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  align-items: flex-start;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.co-diff__item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,212,255,0.1);
}

.co-diff__check {
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}
.co-diff__item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.co-diff__item p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── LEADERSHIP ────────────────────────────────────────────── */
.co-leader { padding: 96px 0; background: var(--off-white); }
.co-leader__head { margin-bottom: 44px; }

.co-leader__card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  padding: 44px;
  box-shadow: 0 2px 40px rgba(0,0,0,0.06);
}

.co-leader__photo-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.co-leader__photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 360px;
}
.co-leader__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.co-leader__since {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 8px;
  border-radius: var(--r-pill);
}

.co-leader__contact-block { display: flex; flex-direction: column; gap: 10px; }
.co-leader__contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 10px 14px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  word-break: break-all;
}
.co-leader__contact-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.co-leader__contact-link svg { flex-shrink: 0; color: var(--accent); }

/* Leader body */
.co-leader__name {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 4px;
}
.co-leader__role {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}
.co-leader__body p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.82;
  margin-bottom: 16px;
}
.co-leader__body p strong { color: var(--primary); }

.co-leader__creds {
  margin-top: 24px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-light);
}
.co-leader__creds-title {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.co-leader__creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.co-cred {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text);
}
.co-cred svg { color: var(--accent); flex-shrink: 0; }

/* Team CPT grid */
.co-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.co-tcard {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.co-tcard:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.co-tcard__photo { height: 260px; overflow: hidden; }
.co-tcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.co-tcard:hover .co-tcard__photo img { transform: scale(1.04); }
.co-tcard__body { padding: 22px 20px; }
.co-tcard__body h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; color: var(--primary); margin: 0 0 3px; }
.co-tcard__role { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px; }
.co-tcard__bio { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.co-tcard__contacts { display: flex; flex-direction: column; gap: 6px; }
.co-tcard__link { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.co-tcard__link:hover { color: var(--accent); }
.co-tcard__link svg { color: var(--accent); }

/* ── LOCAL MARKET ──────────────────────────────────────────── */
.co-market {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}

.co-market__img-side {
  position: relative;
  overflow: hidden;
}
.co-market__img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.co-market__img-overlay {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: var(--primary);
  padding: 16px 22px;
  border-radius: var(--r-lg);
  border-left: 3px solid var(--accent);
}
.co-market__img-overlay strong {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--white);
  display: block;
}
.co-market__img-overlay span {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 2px;
}

.co-market__text-side {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 88px) clamp(32px, 6vw, 72px);
}
.co-market__text-side p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}

.co-market__list { display: flex; flex-direction: column; gap: 12px; }
.co-market__item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: var(--text);
}
.co-market__item svg { color: var(--accent); flex-shrink: 0; }

/* ── PHILOSOPHY ────────────────────────────────────────────── */
.co-trust { padding: 96px 0; background: var(--off-white); }

.co-trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.co-trust__left .co-h2 { font-size: clamp(26px, 3vw, 36px); }

.co-trust__right p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 18px;
}
.co-trust__quote {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  margin-top: 28px;
}

/* ── FINAL CTA ─────────────────────────────────────────────── */
.co-cta-final {
  padding: 96px 0;
  background: var(--primary);
}

.co-cta-final__inner {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.co-cta-final__h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 20px;
}

.co-cta-final__inner p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
}

.co-cta-final__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .co-diff__grid { grid-template-columns: 1fr; gap: 48px; }
  .co-leader__card { grid-template-columns: 240px 1fr; gap: 36px; padding: 32px; }
  .co-leader__photo { height: 300px; }
  .co-story__body { grid-template-columns: 1fr; gap: 48px; }
  .co-stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .co-sband { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 28px; }
  .co-sband:last-child { border-bottom: none; padding-bottom: 0; }
  .co-sband:first-child { padding-left: 0; }
}

@media (max-width: 960px) {
  .co-hero { grid-template-columns: 1fr; min-height: auto; }
  .co-hero__left::after { display: none; }
  .co-hero__img-wrap { height: 420px; }
  .co-hero__right { order: -1; }
  .co-values__grid { grid-template-columns: 1fr 1fr; }
  .co-vcard--big { grid-row: auto; min-height: auto; }
  .co-services__grid { grid-template-columns: 1fr 1fr; }
  .co-diff__right { grid-template-columns: 1fr; }
  .co-market { grid-template-columns: 1fr; }
  .co-market__img-side { height: 320px; }
  .co-trust__grid { grid-template-columns: 1fr; gap: 36px; }
  .co-leader__card { grid-template-columns: 1fr; }
  .co-leader__photo { height: 300px; }
  .co-leader__creds-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .co-values__grid { grid-template-columns: 1fr; }
  .co-services__grid { grid-template-columns: 1fr; }
  .co-stats-band__grid { grid-template-columns: 1fr; }
  .co-hero__stat-strip { grid-template-columns: repeat(3, 1fr); }
  .co-cta-final__actions { flex-direction: column; align-items: center; }
  .co-hero__actions { flex-direction: column; }
  .co-hero__img-wrap { height: 300px; }
}