/* ============================================
   McBride Property Management — Global Styles
   Brand: #060644 (navy), #b2995a (gold), #fff
   Fonts: Montserrat (headings), Open Sans (body)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #2d2d2d;
  line-height: 1.7;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #060644; text-decoration: none; transition: color .2s; }
a:hover { color: #b2995a; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #060644;
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: .75rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: .5rem; }
p { margin-bottom: 1rem; }
.text-gold { color: #b2995a; }
.text-navy { color: #060644; }
.text-white { color: #fff; }

/* --- Layout --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section--navy { background: #060644; color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--light { background: #f7f7f5; }
.section--gold { background: #b2995a; color: #fff; }
.section--gold h2 { color: #fff; }

/* --- Grid --- */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
  letter-spacing: .02em;
}
.btn-primary {
  background: #b2995a;
  color: #fff;
  border-color: #b2995a;
}
.btn-primary:hover {
  background: #9a8349;
  border-color: #9a8349;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: #060644;
}
.btn-navy {
  background: #060644;
  color: #fff;
  border-color: #060644;
}
.btn-navy:hover {
  background: #0a0a6e;
  border-color: #0a0a6e;
  color: #fff;
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.25rem; font-size: .85rem; }

/* --- Top Bar --- */
.topbar {
  background: #060644;
  color: #fff;
  font-size: .85rem;
  padding: .5rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.topbar a { color: #b2995a; }
.topbar a:hover { color: #fff; }
.topbar-links { display: flex; gap: 1.5rem; align-items: center; }
.topbar-links a { display: inline-flex; align-items: center; gap: .35rem; }

/* --- Navbar --- */
.navbar {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: #060644;
  letter-spacing: -.02em;
}
.logo span { color: #b2995a; }
.nav-links {
  display: flex;
  list-style: none;
  gap: .25rem;
  align-items: center;
}
.nav-links li { position: relative; }
.nav-links a {
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  color: #060644;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: #f0efe9; color: #b2995a; }
.nav-links .btn-primary { color: #fff; }
.nav-links .btn-primary:hover { color: #fff; background: #9a8349; }

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 240px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-radius: 6px;
  padding: .5rem 0;
  z-index: 100;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: .5rem 1.25rem;
  font-size: .85rem;
  border-radius: 0;
}
.dropdown-menu a:hover { background: #f7f7f5; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #060644;
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}
@media (max-width: 1024px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    gap: .25rem;
  }
  .nav-links.active { display: flex; }
  .nav-links a { padding: .75rem 1rem; width: 100%; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.open .dropdown-menu { display: block; }
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #060644 0%, #0d0d8a 50%, #060644 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(178,153,90,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 { color: #fff; font-size: clamp(2.25rem, 4.5vw, 3.25rem); max-width: 800px; }
.hero p { font-size: 1.15rem; max-width: 650px; margin-bottom: 2rem; opacity: .92; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Trust Bar --- */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 1.75rem 0;
}
.trust-bar .grid-4 { text-align: center; }
.trust-stat { padding: .5rem; }
.trust-stat .number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #b2995a;
  display: block;
  line-height: 1.2;
}
.trust-stat .label {
  font-size: .9rem;
  color: #555;
  margin-top: .25rem;
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid #f0f0f0;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #060644, #0d0d8a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: #b2995a;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .92rem; color: #555; margin-bottom: 0; }

/* --- Areas Grid --- */
.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.area-tag {
  display: inline-block;
  padding: .45rem 1rem;
  background: #f0efe9;
  border-radius: 20px;
  font-size: .85rem;
  font-weight: 600;
  color: #060644;
  transition: all .2s;
}
.area-tag:hover {
  background: #b2995a;
  color: #fff;
}

/* --- Testimonials --- */
.testimonial {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  border-left: 4px solid #b2995a;
}
.testimonial p { font-style: italic; font-size: .95rem; color: #444; margin-bottom: .75rem; }
.testimonial .author { font-weight: 700; color: #060644; font-size: .9rem; }
.testimonial .role { color: #888; font-size: .82rem; }
.stars { color: #b2995a; margin-bottom: .75rem; font-size: 1.1rem; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #060644 0%, #0d0d8a 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}
.cta-section h2 { color: #fff; margin-bottom: .75rem; }
.cta-section p { max-width: 600px; margin: 0 auto 2rem; opacity: .9; font-size: 1.05rem; }

/* --- Forms --- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .35rem;
  color: #060644;
  font-family: 'Montserrat', sans-serif;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  transition: border-color .2s;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #b2995a;
  outline: none;
  box-shadow: 0 0 0 3px rgba(178,153,90,.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-inline { grid-template-columns: 1fr; }
}

/* --- Form Card (for lead gen forms) --- */
.form-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  max-width: 500px;
}
.form-card h3 {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* --- Blog Preview --- */
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
  border: 1px solid #f0f0f0;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, #060644, #b2995a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.3);
  font-size: 3rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-body .tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #b2995a;
  letter-spacing: .05em;
  margin-bottom: .5rem;
  display: inline-block;
}
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.blog-card-body h3 a { color: #060644; }
.blog-card-body h3 a:hover { color: #b2995a; }
.blog-card-body p { font-size: .88rem; color: #666; }

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, #060644 0%, #0d0d8a 100%);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: .5rem; }
.page-header p { opacity: .85; max-width: 650px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  font-size: .85rem;
  margin-bottom: 1rem;
  opacity: .7;
}
.breadcrumb a { color: #b2995a; }

/* --- Content Sections (inner pages) --- */
.content-section { padding: 4rem 0; }
.content-section h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.content-section h2:first-child { margin-top: 0; }
.content-section p { max-width: 800px; }
.content-section ul, .content-section ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.content-section li { margin-bottom: .5rem; }
.content-narrow { max-width: 800px; margin: 0 auto; }

/* --- Service Detail Blocks --- */
.service-block {
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}
.service-block:last-child { border-bottom: none; }
.service-block h2 {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.service-block .icon {
  width: 44px;
  height: 44px;
  background: #b2995a;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq { margin-top: 2rem; }
.faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #060644;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.faq-question:hover { background: #f7f7f5; }
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #b2995a;
  font-weight: 300;
  transition: transform .2s;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: #555;
  font-size: .95rem;
  line-height: 1.7;
}

/* --- Steps --- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #eee;
}
.step:last-child { border-bottom: none; }
.step-number {
  counter-increment: step;
  width: 52px;
  height: 52px;
  background: #060644;
  color: #b2995a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: .5rem; }
.step-content p { color: #555; margin-bottom: 0; }

/* --- Contact Info --- */
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: #060644;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b2995a;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-text h4 {
  font-size: .95rem;
  margin-bottom: .15rem;
}
.contact-info-text p { margin-bottom: 0; color: #555; font-size: .95rem; }
.contact-info-text a { color: #b2995a; font-weight: 600; }

/* --- Portal Buttons --- */
.portal-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.portal-btn {
  flex: 1;
  min-width: 200px;
  padding: 1.5rem;
  background: #f7f7f5;
  border-radius: 8px;
  text-align: center;
  border: 2px solid #eee;
  transition: all .2s;
}
.portal-btn:hover {
  border-color: #b2995a;
  background: #fff;
}
.portal-btn h4 { margin-bottom: .25rem; }
.portal-btn p { font-size: .85rem; color: #888; margin-bottom: 0; }

/* --- Footer --- */
.footer {
  background: #060644;
  color: #fff;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 {
  color: #b2995a;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
}
.footer p { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer a:hover { color: #b2995a; }
.footer ul { list-style: none; }
.footer li { margin-bottom: .4rem; }
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: .75rem;
}
.footer-logo span { color: #b2995a; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #b2995a; }
.tagline {
  font-style: italic;
  color: #b2995a;
  font-size: .9rem;
  margin-top: .75rem;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 800px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
