/* ============================================================
   Central Management Group — Professional Property Management
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #0D1B2A;
  --navy-mid:    #1B2D40;
  --slate:       #2E4057;
  --steel:       #5C7A8C;
  --silver:      #8FA8B5;
  --taupe:       #C8C0B4;
  --cream:       #EAE6E0;
  --off-white:   #F5F2EE;
  --white:       #FAFAF8;
  --gold:        #A08645;
  --gold-dark:   #856E37;

  --font-serif:  'Cormorant Garant', Georgia, serif;
  --font-sans:   'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── UTILITY ── */
.container   { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.section     { padding: 96px 0; }
.section-alt { background: var(--off-white); }
.text-center { text-align: center; }

/* ── TYPOGRAPHY ── */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  font-style: italic;
}
h4 {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
}
p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 0;
  font-weight: 300;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary     { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline     { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-white       { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--cream); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-full        { width: 100%; text-align: center; display: block; }

/* ── NAVIGATION ── */
.nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(160,134,69,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  /* The logo has a white background — give it a slight filter for the dark nav */
  border-radius: 4px;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--taupe);
  font-size: 0.67rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(160,134,69,0.5);
  padding: 8px 18px;
  transition: all 0.2s !important;
}
.nav-cta:hover { background: var(--gold); color: var(--white) !important; border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--taupe); font-size: 1.4rem; }

/* ── HERO ── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=1920&q=60') center/cover no-repeat;
  opacity: 0.18;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.67rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.hero-content h1 { color: var(--white); margin-bottom: 4px; }
.hero-sub {
  font-size: 1rem;
  color: var(--taupe);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
  margin: 20px 0 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── EYEBROW BAND ── */
.eyebrow-band {
  background: var(--cream);
  border-top: 1px solid var(--taupe);
  border-bottom: 1px solid var(--taupe);
  padding: 0;
}
.eyebrow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.eyebrow-item {
  padding: 28px 32px;
  border-right: 1px solid var(--taupe);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.eyebrow-item:last-child { border-right: none; }
.eyebrow-item strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--navy);
}
.eyebrow-item span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--steel);
  font-weight: 400;
}

/* ── SECTION HEADER ── */
.section-header { margin-bottom: 56px; }
.section-header h4 { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }
.section-sub {
  font-size: 1rem;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cream);
}
.card {
  background: var(--white);
  padding: 44px 36px;
  transition: background 0.3s;
}
.card:hover { background: var(--off-white); }
.card-icon {
  font-size: 1.6rem;
  margin-bottom: 20px;
  display: block;
}
.card h3 { color: var(--navy); margin-bottom: 14px; }
.card p  { margin-bottom: 0; }

/* ── SERVICE AREAS GRID ── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--taupe);
}
.area-card {
  background: var(--navy);
  color: var(--white);
  padding: 40px 36px;
  transition: background 0.3s;
}
.area-card:hover { background: var(--navy-mid); }
.area-card h3 {
  font-style: italic;
  font-weight: 300;
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 6px;
}
.area-card p { color: var(--silver); font-size: 0.82rem; }

/* ── FEATURE BOX (two-column layout) ── */
.feature-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-box-reverse { direction: rtl; }
.feature-box-reverse > * { direction: ltr; }
.feature-text h4 { margin-bottom: 14px; }
.feature-text h2 { margin-bottom: 20px; }
.feature-text p  { margin-bottom: 14px; }
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 300;
  line-height: 1.6;
}
.feature-list li::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 10px;
}
.feature-image-placeholder {
  background: var(--navy);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  gap: 12px;
}
.feature-image-placeholder p {
  color: var(--taupe);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.3;
  margin: 0;
}
.feature-area {
  font-size: 0.68rem !important;
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold) !important;
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--taupe);
}
.testimonial {
  background: var(--white);
  padding: 44px 36px;
}
.section-alt .testimonial { background: var(--white); }
.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-text::before { content: '\201C'; color: var(--gold); }
.testimonial-text::after  { content: '\201D'; color: var(--gold); }
.testimonial-author {
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--steel);
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  padding: 88px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p  { color: var(--taupe); max-width: 560px; margin: 0 auto 36px; font-size: 1rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--navy);
  padding: 96px 0 80px;
  border-bottom: 1px solid rgba(160,134,69,0.2);
}
.page-hero h4 { margin-bottom: 16px; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero > .container > p {
  color: var(--taupe);
  font-size: 1rem;
  max-width: 580px;
  line-height: 1.8;
  font-weight: 300;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-detail {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.contact-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail h4 { margin-bottom: 6px; }
.contact-detail p  { color: var(--slate); margin: 0; }
.contact-detail a  { color: var(--gold); }
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.service-area-tags span {
  background: var(--off-white);
  border: 1px solid var(--cream);
  padding: 5px 14px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate);
  font-weight: 400;
}
.contact-cta-box {
  background: var(--off-white);
  border: 1px solid var(--cream);
  padding: 32px;
  margin-top: 40px;
}
.contact-cta-box h3 { margin-bottom: 10px; color: var(--navy); }
.contact-cta-box p  { margin: 0; }

/* ── FORM ── */
.contact-form { margin-top: 0; }
.form-group   { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
  color: var(--slate);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--cream);
  border-radius: 0;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 300;
  background: transparent;
  color: var(--navy);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-bottom-color: var(--gold); }
.form-group textarea { height: 120px; resize: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(160,134,69,0.2);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 14px;
  display: block;
}
.footer-brand p { color: var(--silver); font-size: 0.85rem; font-weight: 300; }
.footer-brand a { color: var(--silver); transition: color 0.2s; }
.footer-brand a:hover { color: var(--gold); }
.footer-links h4 { margin-bottom: 18px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul a { color: var(--silver); font-size: 0.85rem; font-weight: 300; transition: color 0.2s; }
.footer-links ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 24px 0;
}
.footer-bottom p { color: var(--steel); font-size: 0.75rem; margin: 0; font-weight: 300; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .feature-box           { grid-template-columns: 1fr; gap: 48px; }
  .feature-box-reverse   { direction: ltr; }
  .cards-grid            { grid-template-columns: repeat(2, 1fr); }
  .areas-grid            { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid     { grid-template-columns: 1fr; }
  .eyebrow-grid          { grid-template-columns: repeat(2, 1fr); }
  .eyebrow-item          { border-right: none; border-bottom: 1px solid var(--taupe); }
  .contact-grid          { grid-template-columns: 1fr; }
  .footer-inner          { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand          { grid-column: span 2; }
}
@media (max-width: 680px) {
  .container             { padding: 0 24px; }
  .section               { padding: 64px 0; }
  .nav-links             { display: none; }
  .nav-toggle            { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy);
    padding: 28px 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.07);
    z-index: 999;
  }
  .cards-grid            { grid-template-columns: 1fr; }
  .areas-grid            { grid-template-columns: 1fr; }
  .eyebrow-grid          { grid-template-columns: 1fr; }
  .form-row              { grid-template-columns: 1fr; }
  .hero-actions          { flex-direction: column; }
  .cta-actions           { flex-direction: column; align-items: center; }
  .footer-inner          { grid-template-columns: 1fr; }
  .footer-brand          { grid-column: span 1; }
  .footer-bottom p       { text-align: center; }
}
