/* ============================================================
   Colliers Property Inspections — Shared Stylesheet
   ============================================================ */

:root {
  --navy: #10233f;
  --navy-dark: #0a1729;
  --navy-light: #1b3a63;
  --gold: #c8992e;
  --gold-light: #e0b85a;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f4;
  --gray-200: #dde2e8;
  --gray-500: #667085;
  --gray-700: #344054;
  --gray-900: #1a1f29;
  --white: #ffffff;
  --red: #b3222b;
  --radius: 8px;
  --shadow: 0 2px 10px rgba(16, 35, 63, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 35, 63, 0.14);
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--gold); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: var(--gray-200); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-heading { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-heading .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.nav-cta .btn-primary {
  padding: 10px 18px;
  font-size: 0.85rem;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); color: var(--white); }
.btn-block { display: block; width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.15;
  flex-shrink: 0;
  margin-right: 20px;
}
.brand-logo {
  height: 34px;
  width: 34px;
  border-radius: 7px;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  white-space: nowrap;
}
.brand-tag {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav a {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav a.active, .nav a:hover { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-weight: 700; color: var(--navy); white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 900px) {
  .nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--white);
    flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px;
    transform: translateX(-100%); transition: transform 0.2s ease; overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .nav-cta { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-cta .btn { width: 100%; }
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 90px 0 100px;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.03em; color: var(--white);
}
.hero h1 { color: var(--white); font-size: 2.9rem; }
.hero .lead { font-size: 1.15rem; color: var(--gray-200); max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-card {
  background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg);
  color: var(--gray-700);
}
.hero-card h3 { margin-bottom: 14px; }
.hero-card ul { margin: 0 0 20px; padding-left: 20px; }
.hero-card li { margin-bottom: 8px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}

/* ============ Cards / Grids ============ */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 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: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card .icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: rgba(200, 153, 46, 0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px; font-weight: 700;
}

.card-list { list-style: none; margin: 0; padding: 0; }
.card-list li {
  padding: 10px 0; border-bottom: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; gap: 12px;
}
.card-list li:last-child { border-bottom: none; }

/* ============ Trust strip ============ */
.trust-strip {
  background: var(--gray-100);
  padding: 20px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: center;
}
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.trust-item span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* ============ Tables (Pricing) ============ */
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.price-table th, .price-table td {
  text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--gray-200);
}
.price-table th { background: var(--navy); color: var(--white); font-family: Georgia, serif; }
.price-table tr:nth-child(even) td { background: var(--gray-50); }
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; }
.price-note { font-size: 0.9rem; color: var(--gray-500); margin-top: 8px; }

.price-block { margin-bottom: 48px; }
.price-block h3 { border-left: 4px solid var(--gold); padding-left: 12px; }

/* ============ FAQ Accordion ============ */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; color: var(--navy); font-size: 1.05rem; gap: 20px;
}
.faq-question .plus { font-size: 1.4rem; color: var(--gold); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.is-open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
}
.faq-answer-inner { padding-bottom: 20px; color: var(--gray-700); }
.faq-item.is-open .faq-answer { max-height: 600px; }

/* ============ Contact / Forms ============ */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 0.9rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; color: var(--gray-900);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold);
}
.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: var(--gray-700);
  font-size: 0.92rem;
  padding: 6px 0;
  cursor: pointer;
}
.checkbox-option input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}

.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--gray-200); }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .label { font-weight: 700; color: var(--navy); min-width: 90px; }

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white); border-radius: var(--radius); padding: 48px; text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: var(--gray-200); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ============ Breadcrumb / page header ============ */
.page-header {
  background: var(--navy); color: var(--white); padding: 56px 0;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: var(--gray-200); margin: 0; max-width: 640px; }

/* ============ Blog ============ */
.blog-card img, .blog-card .thumb {
  border-radius: var(--radius) var(--radius) 0 0; height: 170px; width: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--gold) 150%);
}
.blog-card { padding: 0; overflow: hidden; }
.blog-card-body { padding: 22px; }
.blog-meta { font-size: 0.8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.blog-post-body h2 { margin-top: 1.4em; }
.blog-post-body p { max-width: 720px; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy-dark); color: var(--gray-200); padding: 56px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-logo { width: 170px; height: auto; margin-bottom: 16px; }
.footer-badges { display: flex; gap: 14px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.footer-badges img { height: 72px; width: auto; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--gray-200); }
.footer-grid a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem; color: var(--gray-500);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ Field photos ============ */
.headshot-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.headshot-sm {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow);
  border: 3px solid var(--white);
  flex-shrink: 0;
}
.photo-card { padding: 0; overflow: hidden; }
.photo-card img { width: 100%; height: 210px; object-fit: cover; display: block; }
.photo-card-caption { padding: 16px 18px; font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.inline-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 18px 0;
  object-fit: cover;
}

/* ============ Certification badges ============ */
.cert-badges {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.cert-badges img { height: 120px; width: auto; }
.cert-badges.cert-badges--left { justify-content: flex-start; }

/* ============ Utility ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge-red { background: var(--red); color: var(--white); }
