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

Brizy: compatible
Brizy Min Version: 2.4.0

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

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  /* Teal family — full 5-stop system */
  --cl-teal:        #0eb5a0;   /* primary brand */
  --cl-teal-dk:     #0a8a78;   /* hover on light bg, text on pale teal */
  --cl-teal-lt:     #3dd6c2;   /* teal on dark surfaces */
  --cl-teal-pale:   #e6f9f6;   /* fill backgrounds */
  --cl-teal-border: #c4ede7;   /* border on pale teal sections */

  /* Neutrals */
  --cl-slate:  #1a2332;   /* primary text, dark elements */
  --cl-steel:  #4a6080;   /* secondary text */
  --cl-muted:  #8a9bb8;   /* captions, labels */
  --cl-border: #e4e9f2;   /* default border */

  /* Backgrounds */
  --cl-sky:    #f7fbff;   /* alternate section bg */
  --cl-mist:   #f0f5fb;   /* subtle surface */
  --cl-white:  #ffffff;

  /* Accent */
  --cl-gold:      #f5a623;
  --cl-gold-pale: #fff8ee;

  /* Typography */
  --cl-font-display: 'Syne', sans-serif;
  --cl-font-body:    'Epilogue', sans-serif;

  /* Radius */
  --cl-radius-sm: 6px;
  --cl-radius-md: 10px;
  --cl-radius-lg: 14px;
  --cl-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(--cl-font-body);
  color: var(--cl-slate);
  background: var(--cl-white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--cl-font-display);
  font-weight: 800;
  line-height: 1.1;
  color: var(--cl-slate);
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--cl-teal);
  text-decoration: none;
  transition: color .15s;
}
a:hover { color: var(--cl-teal-dk); }

/* ── 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(--cl-white);
  border-bottom: 1px solid var(--cl-border);
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(26,35,50,.06); }

.site-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

/* Wordmark: Co LIVE PM */
.site-nav__logo {
  font-family: var(--cl-font-display);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  line-height: 1;
}
.site-nav__logo .logo-co   { font-size: 14px; font-weight: 400; color: var(--cl-muted); }
.site-nav__logo .logo-live { font-size: 20px; font-weight: 800; color: var(--cl-slate); letter-spacing: -.01em; }
.site-nav__logo .logo-pm   { font-size: 20px; font-weight: 800; color: var(--cl-teal);  letter-spacing: -.01em; }

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

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

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--cl-font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--cl-radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
  letter-spacing: .01em;
}

.btn--primary {
  background: var(--cl-teal);
  color: var(--cl-white);
}
.btn--primary:hover {
  background: var(--cl-teal-dk);
  color: var(--cl-white);
  transform: translateY(-1px);
}

.btn--outline {
  background: var(--cl-white);
  color: var(--cl-slate);
  border: 1.5px solid var(--cl-border);
}
.btn--outline:hover {
  border-color: var(--cl-teal);
  color: var(--cl-teal);
}

.btn--dark {
  background: var(--cl-slate);
  color: var(--cl-white);
}
.btn--dark:hover { background: #263245; color: var(--cl-white); }

.btn--white {
  background: var(--cl-white);
  color: var(--cl-teal-dk);
  font-weight: 700;
}
.btn--white:hover { background: var(--cl-sky); color: var(--cl-teal-dk); }

.btn--white-outline {
  background: transparent;
  color: var(--cl-white);
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn--white-outline:hover {
  border-color: var(--cl-white);
  color: var(--cl-teal-lt);
}

/* ── SECTION UTILITIES ───────────────────────────────────────────── */
.section         { padding: 96px 0; }
.section--sky    { background: var(--cl-sky); }
.section--mist   { background: var(--cl-mist); }
.section--teal   { background: var(--cl-teal); }
.section--slate  { background: var(--cl-slate); }
.section--lg     { padding: 120px 0; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cl-teal);
  margin-bottom: 12px;
}

.section-header          { margin-bottom: 56px; }
.section-header--center  { text-align: center; }
.section-header--center .section-sub { margin: 0 auto; }

/* ── CARDS ───────────────────────────────────────────────────────── */
.card {
  background: var(--cl-white);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover {
  border-color: var(--cl-teal);
  transform: translateY(-2px);
}

/* ── BADGES ──────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.badge--teal   { background: var(--cl-teal-pale); color: var(--cl-teal-dk); }
.badge--slate  { background: var(--cl-slate);      color: var(--cl-white); }
.badge--gold   { background: var(--cl-gold-pale);  color: #a06010; }
.badge--muted  { background: var(--cl-mist);       color: var(--cl-muted); }

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

/* ── FOOTER ──────────────────────────────────────────────────────── */
.site-footer {
  background: var(--cl-slate);
  padding: 64px 0 32px;
}

.site-footer a { color: rgba(255,255,255,.5); text-decoration: none; }
.site-footer a:hover { color: var(--cl-teal-lt); }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cl-teal-lt);
  opacity: .7;
  margin-bottom: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(61,214,194,.15);
  font-size: 12px;
  color: rgba(255,255,255,.2);
  flex-wrap: wrap;
  gap: 8px;
}

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

/* ── UTILITY ─────────────────────────────────────────────────────── */
.text-teal   { color: var(--cl-teal); }
.text-muted  { color: var(--cl-muted); }
.text-center { text-align: center; }
.text-white  { color: var(--cl-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; }
  .section { padding: 64px 0; }
  .container { padding: 0 24px; }
}

@media (max-width: 640px) {
  .site-nav__cta { display: none; }
  .section { padding: 48px 0; }
}

@media print {
  .site-nav, .site-footer, .trust-strip { display: none; }
}
