/*
Theme Name:  MyColivingPM
Theme URI:   https://mycolivingpm.com
Description: MyColivingPM co-living property management theme. Powered by Brizy. AI-agent updatable via REST API. Security-hardened. Baltimore co-living specialists.
Version:     1.0.0
Author:      MyColivingPM LLC
Author URI:  https://mycolivingpm.com
License:     GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Text Domain: mycolivingpm
Tags:        brizy, property-management, co-living, ai-ready, security-hardened

Brizy: compatible
Brizy Min Version: 2.4.0

AI Agent Schema:   /ai-config/schema.json
AI Agent Endpoint: /wp-json/mycolivingpm/v1/
AI Agent Docs:     /ai-config/README.md
*/

/* ── DESIGN TOKENS ────────────────────────────────────────────── */
:root {
  /* Navy / Blue family — primary brand */
  --mc-navy:        #0d2137;   /* hero bg, dark sections, footer */
  --mc-navy-mid:    #1a3a5c;   /* card dark variant */
  --mc-blue:        #1e6091;   /* mid blue, icon wells */
  --mc-blue-lt:     #2e86c1;   /* hover, link states */
  --mc-blue-pale:   #eaf4fb;   /* light fills */
  --mc-blue-border: #bee3f8;   /* border on pale fills */

  /* Orange — strategic accent only */
  --mc-orange:      #f97316;   /* primary CTA, stat numbers on dark, badges */
  --mc-orange-dk:   #ea580c;   /* hover on orange elements */
  --mc-orange-lt:   #fb923c;   /* lighter orange on dark bg */
  --mc-orange-pale: #fff7ed;   /* pale fill for orange-tinted cards */
  --mc-orange-bdr:  #fed7aa;   /* border on orange-pale sections */

  /* Neutrals */
  --mc-slate:  #1e293b;   /* primary text */
  --mc-steel:  #475569;   /* secondary text */
  --mc-muted:  #94a3b8;   /* captions, labels */
  --mc-border: #e2e8f0;   /* default border */

  /* Backgrounds */
  --mc-sky:    #f8fafc;   /* alternate section bg */
  --mc-mist:   #f1f5f9;   /* subtle surface */
  --mc-white:  #ffffff;

  /* Typography */
  --mc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius */
  --mc-radius-sm: 6px;
  --mc-radius-md: 10px;
  --mc-radius-lg: 14px;
  --mc-radius-xl: 20px;
}

/* ── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--mc-font);
  color: var(--mc-slate);
  background: var(--mc-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--mc-font);
  font-weight: 800;
  line-height: 1.1;
  color: var(--mc-navy);
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.875rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem,   3vw, 2.375rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem);  }
h4 { font-size: 1.125rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--mc-blue-lt); text-decoration: none; transition: color .15s; }
a:hover { color: var(--mc-orange); }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container        { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.container--narrow{ max-width: 760px; }
.container--wide  { max-width: 1400px; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--mc-white);
  border-bottom: 1px solid var(--mc-border);
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: 0 2px 24px rgba(13,33,55,.08); }
.site-nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}

/* Wordmark */
.site-nav__logo { font-family: var(--mc-font); text-decoration: none; display: flex; align-items: baseline; line-height: 1; }
.site-nav__logo .logo-my      { font-size: 13px; font-weight: 400; color: var(--mc-muted); }
.site-nav__logo .logo-coliving{ font-size: 19px; font-weight: 800; color: var(--mc-navy);  letter-spacing: -.02em; }
.site-nav__logo .logo-pm      { font-size: 19px; font-weight: 800; color: var(--mc-orange); letter-spacing: -.02em; }

.site-nav__menu { display: flex; align-items: center; gap: 28px; list-style: none; }
.site-nav__menu a { font-size: 13px; color: var(--mc-steel); font-weight: 500; transition: color .15s; }
.site-nav__menu a:hover { color: var(--mc-navy); }

.site-nav__cta {
  background: var(--mc-orange); color: var(--mc-white) !important; font-size: 13px; font-weight: 600;
  padding: 9px 20px; border-radius: var(--mc-radius-sm); text-decoration: none;
  transition: background .18s !important; letter-spacing: .01em;
}
.site-nav__cta:hover { background: var(--mc-orange-dk) !important; color: var(--mc-white) !important; }

/* Mobile btn */
.site-nav__mobile-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.site-nav__mobile-btn span { display: block; width: 22px; height: 2px; background: var(--mc-navy); border-radius: 2px; transition: all .2s; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-block; font-family: var(--mc-font); font-size: 14px; font-weight: 600;
  padding: 12px 26px; border-radius: var(--mc-radius-md); border: none;
  cursor: pointer; text-decoration: none; transition: all .18s; letter-spacing: .01em; line-height: 1.4;
}
.btn--orange      { background: var(--mc-orange);   color: var(--mc-white); }
.btn--orange:hover{ background: var(--mc-orange-dk); color: var(--mc-white); transform: translateY(-1px); }
.btn--navy        { background: var(--mc-navy);      color: var(--mc-white); }
.btn--navy:hover  { background: var(--mc-navy-mid);  color: var(--mc-white); }
.btn--outline     { background: transparent; color: var(--mc-navy); border: 1.5px solid var(--mc-border); }
.btn--outline:hover{ border-color: var(--mc-navy); }
.btn--ghost-white { background: rgba(255,255,255,.1); color: var(--mc-white); border: 1px solid rgba(255,255,255,.2); }
.btn--ghost-white:hover{ background: rgba(255,255,255,.18); color: var(--mc-white); }
.btn--white       { background: var(--mc-white); color: var(--mc-orange-dk); font-weight: 700; }
.btn--white:hover { background: var(--mc-sky); color: var(--mc-orange-dk); }
.btn--white-outline{ background: transparent; color: var(--mc-white); border: 1.5px solid rgba(255,255,255,.45); }
.btn--white-outline:hover{ border-color: var(--mc-white); }

/* ── SECTION UTILITIES ───────────────────────────────────────── */
.mc-section        { padding: 96px 0; }
.mc-section--sky   { background: var(--mc-sky); }
.mc-section--navy  { background: var(--mc-navy); }
.mc-section--orange{ background: var(--mc-orange); }
.mc-section--lg    { padding: 120px 0; }

.mc-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--mc-orange); margin-bottom: 12px;
}
.mc-eyebrow--light { color: var(--mc-orange-lt); }

.mc-section__head         { margin-bottom: 56px; }
.mc-section__head--center { text-align: center; }
.mc-section__head--center .mc-section__sub { margin: 14px auto 0; }
.mc-section__sub { font-size: 16px; color: var(--mc-steel); line-height: 1.7; max-width: 520px; font-weight: 400; }
.mc-section__sub--light { color: rgba(255,255,255,.65); }

/* ── CARDS ──────────────────────────────────────────────────── */
.mc-card {
  background: var(--mc-white); border: 1px solid var(--mc-border);
  border-radius: var(--mc-radius-lg); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.mc-card:hover { border-color: var(--mc-blue-lt); transform: translateY(-2px); }
.mc-card--navy  { background: var(--mc-navy); border-color: transparent; }
.mc-card--navy:hover { border-color: rgba(249,115,22,.4); }

/* ── BADGES ─────────────────────────────────────────────────── */
.badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: .06em; text-transform: uppercase; }
.badge--orange { background: var(--mc-orange-pale); color: var(--mc-orange-dk); }
.badge--orange-dark { background: rgba(249,115,22,.15); color: var(--mc-orange-lt); }
.badge--blue   { background: var(--mc-blue-pale);   color: var(--mc-blue); }
.badge--navy   { background: var(--mc-navy);         color: var(--mc-white); }
.badge--muted  { background: var(--mc-mist);         color: var(--mc-muted); }

/* ── TRUST STRIP ─────────────────────────────────────────────── */
.mc-trust { border-top: 1px solid var(--mc-border); border-bottom: 1px solid var(--mc-border); padding: 18px 0; background: var(--mc-white); }
.mc-trust__inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.mc-trust__item { font-size: 12px; font-weight: 600; color: var(--mc-muted); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.mc-trust__item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--mc-blue-lt); flex-shrink: 0; }
.mc-trust__item:nth-child(odd)::before  { background: var(--mc-orange); }

/* ── BRIZY COMPAT ───────────────────────────────────────────── */
.brz-root__scroll, .brz-popup, .brz-section { position: relative; z-index: 1; }
.brz-ed-root { font-family: var(--mc-font) !important; }
.brizy-full-width { width: 100%; max-width: none; padding: 0; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--mc-navy); padding: 64px 0 32px; }
.site-footer a { color: rgba(255,255,255,.45); text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--mc-orange-lt); }
.mc-footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 16px; }
.mc-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; color: rgba(255,255,255,.2); flex-wrap: wrap; gap: 8px; }

/* ── UTILITY ────────────────────────────────────────────────── */
.text-orange { color: var(--mc-orange); }
.text-muted  { color: var(--mc-muted); }
.text-center { text-align: center; }
.text-white  { color: var(--mc-white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .site-nav__menu { display: none; }
  .site-nav__cta  { display: none; }
  .site-nav__mobile-btn { display: flex; }
  .mc-section { padding: 64px 0; }
  .container  { padding: 0 24px; }
}
@media (max-width: 640px) {
  .mc-section { padding: 48px 0; }
}
@media print {
  .site-nav, .site-footer, .mc-trust { display: none; }
}
