/* On The GO-Real Estate — About Us / Our Services (scoped).
   Loaded only on pages 63 and 64. Does not restyle the site header or footer. */

body.page-id-63 .site-main.page,
body.page-id-64 .site-main.page,
body.page-id-63 .page-content,
body.page-id-64 .page-content,
body.page-id-63.page .site-main,
body.page-id-64.page .site-main {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}
body.page-id-63,
body.page-id-64 {
  overflow-x: hidden;
}

.otg-as {
  --otg-as-btn: #6B3FA0;
  --otg-as-btn-hover: #5A3488;
  --otg-as-ink: #140217;
  --otg-as-body: #3A3044;
  --otg-as-muted: #6B5A7A;
  --otg-as-lilac: #F3EAF8;
  --otg-as-peach: #F8EFE8;
  --otg-as-peach-2: #FFF8F1;
  --otg-as-line: #E6E2EA;
  --otg-as-max: 1160px;
  --otg-as-radius: 18px;
  --otg-as-shadow: 0 12px 36px rgba(20,2,23,.08);
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--otg-as-body);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.otg-as *,
.otg-as *::before,
.otg-as *::after { box-sizing: border-box; }
.otg-as img { max-width: 100%; height: auto; display: block; }
.otg-as a { color: var(--otg-as-btn); text-decoration: none; }
.otg-as a:hover { text-decoration: underline; }
.otg-as h1,
.otg-as h2,
.otg-as h3 {
  font-family: "Playfair Display", Georgia, serif !important;
  color: var(--otg-as-ink) !important;
  line-height: 1.2;
  margin: 0;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 700;
}
.otg-as-wrap { width: min(var(--otg-as-max), calc(100% - 48px)); margin: 0 auto; }

/* Hero: one smooth lilac → peach → white gradient, skyline at the bottom only */
.otg-as-hero {
  position: relative;
  overflow: hidden;
  color: var(--otg-as-ink);
  background: linear-gradient(180deg, #F3EAF8 0%, #F8EFE8 48%, #FFF8F1 78%, #fff 100%);
  padding: 56px 0 150px;
  border: 0;
}
.otg-as-hero-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%;
  height: 46%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 32%, #000 100%);
}
.otg-as-hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(243,234,248,.4) 0%, rgba(248,239,232,.1) 55%, rgba(255,255,255,0) 100%);
}
.otg-as-hero-inner { position: relative; z-index: 1; max-width: 740px; }
.otg-as-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--otg-as-btn);
}
.otg-as-hero h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 14px; }
.otg-as-hero .otg-as-lede { margin: 0 0 22px; font-size: 18px; color: var(--otg-as-body); max-width: 560px; }
.otg-as-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.otg-as-btn,
.otg-as-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: .85rem 1.15rem;
  min-height: 48px;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .03em;
  text-decoration: none !important;
  text-align: center;
  border: 2px solid var(--otg-as-btn);
  font-family: "Open Sans", system-ui, sans-serif;
  text-transform: none !important;
}
.otg-as-btn { background: var(--otg-as-btn); color: #fff !important; }
.otg-as-btn:hover { background: var(--otg-as-btn-hover); border-color: var(--otg-as-btn-hover); color: #fff !important; text-decoration: none !important; }
.otg-as-btn-outline { background: #fff; color: var(--otg-as-btn) !important; }
.otg-as-btn-outline:hover { background: rgba(107,63,160,.08); color: var(--otg-as-btn) !important; text-decoration: none !important; }

.otg-as-section { background: #fff; padding: 64px 0; margin: 0; }
.otg-as-section h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.otg-as-intro { margin: 0 0 28px; max-width: 640px; font-size: 17px; }
.otg-as-section-head {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--otg-as-btn);
}

.otg-as-cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.otg-as-cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.otg-as-card {
  background: #fff;
  border: 1px solid var(--otg-as-line);
  border-radius: var(--otg-as-radius);
  padding: 22px 20px;
  box-shadow: var(--otg-as-shadow);
}
.otg-as-card h3 { font-size: 20px; margin: 0 0 8px; }
.otg-as-card p { margin: 0; color: var(--otg-as-muted); font-size: 15.5px; }
.otg-as-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--otg-as-lilac); color: var(--otg-as-btn);
  display: flex; align-items: center; justify-content: center; margin: 0 0 14px;
}
.otg-as-icon svg { width: 24px; height: 24px; }

/* Founder */
.otg-as-founder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px 32px;
  align-items: center;
  max-width: 820px;
  margin-top: 24px;
}
.otg-as-founder-photo {
  width: 200px; height: 200px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  box-shadow: var(--otg-as-shadow);
  background: var(--otg-as-lilac);
}
.otg-as-founder-role {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--otg-as-btn);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.otg-as-founder p { margin: 0 0 10px; font-size: 17px; color: var(--otg-as-body); max-width: 540px; line-height: 1.65; }
.otg-as-founder p:last-child { margin-bottom: 0; }

/* Team */
.otg-as-team { display: grid; grid-template-columns: minmax(0, 520px); gap: 20px; max-width: 520px; }
.otg-as-person { display: flex; gap: 18px; align-items: flex-start; }
.otg-as-avatar {
  flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(180deg, var(--otg-as-lilac), var(--otg-as-peach));
  color: var(--otg-as-btn); font-weight: 700; font-size: 20px;
  font-family: "Playfair Display", Georgia, serif;
  display: flex; align-items: center; justify-content: center;
}
.otg-as-person h3 { font-size: 20px; margin: 0 0 4px; }
.otg-as-person .otg-as-role {
  margin: 0 0 6px; font-weight: 700; color: var(--otg-as-btn);
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
}
.otg-as-person p { margin: 0; color: var(--otg-as-muted); font-size: 15px; }
.otg-as-person a { font-weight: 700; text-decoration: none; }
.otg-as-note {
  margin-top: 16px; font-size: 14px; color: var(--otg-as-muted);
  background: var(--otg-as-peach-2); border-radius: 12px; padding: 12px 14px;
}

/* Area chips */
.otg-as-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.otg-as-region {
  border: 1px solid var(--otg-as-line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  background: #fff;
}
.otg-as-region h3 { font-size: 18px; margin: 0 0 8px; }
.otg-as-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.otg-as-chip {
  display: inline-block;
  background: var(--otg-as-lilac);
  color: var(--otg-as-ink);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 600;
}

/* Service cards */
.otg-as-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.otg-as-svc {
  background: #fff;
  border: 1px solid var(--otg-as-line);
  border-radius: var(--otg-as-radius);
  padding: 24px 22px 22px;
  box-shadow: var(--otg-as-shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.otg-as-svc h3 { font-size: 21px; }
.otg-as-svc p { margin: 0; color: var(--otg-as-muted); flex: 1; }
.otg-as-svc a { margin-top: 10px; font-weight: 700; text-decoration: none; }

/* How it works */
.otg-as-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.otg-as-step { position: relative; padding: 8px 8px 8px 0; }
.otg-as-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--otg-as-btn); color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 12px;
  font-family: "Open Sans", system-ui, sans-serif;
}
.otg-as-step h3 { font-size: 20px; margin: 0 0 8px; }
.otg-as-step p { margin: 0; }

/* CTA band */
.otg-as-cta {
  background: linear-gradient(180deg, #fff 0%, var(--otg-as-lilac) 100%);
  padding: 56px 0 64px;
}
.otg-as-cta-box {
  background: #fff;
  border-radius: 24px;
  padding: 36px 36px 32px;
  box-shadow: var(--otg-as-shadow);
  text-align: center;
}
.otg-as-cta h2 { margin: 0 0 10px; }
.otg-as-cta p { margin: 0 auto 22px; max-width: 520px; }
.otg-as-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.otg-as-fair {
  padding: 8px 0 48px;
  background: #fff;
  color: var(--otg-as-muted);
  font-size: 13px;
  text-align: center;
}
.otg-as-fair strong { color: var(--otg-as-ink); }
.otg-as-compliance {
  font-size: 13px;
  color: var(--otg-as-muted);
  line-height: 1.6;
  margin: 12px auto 0;
  max-width: 720px;
}
.otg-as-compliance .otg-corp-line,
.otg-as-compliance .otg-broker-line { display: block; }

.otg-as a[href^="tel:"] { white-space: nowrap; }

@media (max-width: 900px) {
  .otg-as-wrap { width: calc(100% - 36px); }
  .otg-as-cards-3,
  .otg-as-cards-4,
  .otg-as-svc-grid,
  .otg-as-steps,
  .otg-as-regions,
  .otg-as-team { grid-template-columns: 1fr; }
  .otg-as-hero { padding: 36px 0 120px; }
  .otg-as-cta-box { padding: 28px 18px; }
  .otg-as-person { gap: 14px; }
  .otg-as-founder { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .otg-as-founder-photo { width: 148px; height: 148px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .otg-as-svc-grid,
  .otg-as-cards-3,
  .otg-as-regions { grid-template-columns: 1fr 1fr; }
}
