/* ============================================
   The Banff Practice — Static Site Styles
   Dark theme, orange accents (#e17a00)
   Fonts: Raleway (headings) + Roboto (body)
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #383838;
  --bg-darker: #2c2c2c;
  --bg-card: #444;
  --text-light: #e9e5e6;
  --text-muted: #b0acad;
  --accent-orange: #e17a00;
  --accent-blue: #02426b;
  --accent-blue-hover: #035a94;
  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-light);
  background-color: var(--bg-dark);
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #f09020;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent-orange);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; }

.highlight {
  color: var(--accent-orange);
}

/* ---- Header ---- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-darker);
  border-bottom: 1px solid #555;
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo:hover {
  color: var(--accent-orange);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-orange);
}

/* ---- Hero ---- */

.hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid #555;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  display: inline;
}

.hero-lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-body {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 800px;
}

/* ---- Stats ---- */

.stats {
  padding: 60px 0;
  background: var(--bg-darker);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent-orange);
  margin-bottom: 12px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---- Services ---- */

.services {
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border-top: 3px solid var(--accent-orange);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-card h3,
.service-card p {
  padding: 0 24px;
}

.service-card h3 {
  padding-top: 20px;
}

.service-card p {
  padding-bottom: 24px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.service-icon {
  color: var(--accent-orange);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--text-light);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Contact ---- */

.contact {
  padding: 80px 0;
  background: var(--bg-darker);
}

.contact h2 {
  text-align: center;
  margin-bottom: 8px;
}

.contact-phone {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-phone a {
  color: var(--text-light);
}

.contact-phone a:hover {
  color: var(--accent-orange);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid #666;
  border-radius: 4px;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
}

.form-group textarea {
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: var(--accent-blue-hover);
}

/* ---- Leadership ---- */

.leadership {
  padding: 80px 0;
}

.leadership h2 {
  margin-bottom: 32px;
}

.leader {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 800px;
}

.leader-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--accent-orange);
}

.leader-text {
  flex: 1;
}

.leader h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.leader-title {
  color: var(--accent-orange);
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.leader p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ---- Page Hero (subpages) ---- */

.page-hero {
  padding: 80px 0 40px;
  border-bottom: 1px solid #555;
}

/* ---- Clients ---- */

.clients-section {
  padding: 40px 0;
}

.clients-img {
  max-width: 100%;
  height: auto;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
}

.clients-note {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.markets {
  padding: 60px 0 80px;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
  text-align: center;
}

.market-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 40px 24px;
  border-top: 3px solid var(--accent-orange);
}

.market-icon {
  color: var(--accent-orange);
  font-size: 2rem;
  margin-bottom: 12px;
}

.market-card h3 {
  color: var(--text-light);
  font-size: 1.3rem;
}

/* ---- Content (Privacy) ---- */

.content-section {
  padding: 40px 0 80px;
}

.content-narrow {
  max-width: 720px;
}

.content-section h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  color: var(--text-light);
  margin-top: 24px;
}

.content-section p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.content-section ul {
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-left: 24px;
}

.content-section li {
  margin-bottom: 4px;
}

/* ---- Footer ---- */

.footer {
  padding: 24px 0;
  border-top: 1px solid #555;
  background: var(--bg-darker);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-inner p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--accent-orange);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid #555;
  }

  .nav-links.open {
    display: flex;
  }

  .nav {
    position: static;
  }

  .header-inner {
    position: relative;
  }

  .stats-grid,
  .services-grid,
  .markets-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .leader {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .leader-photo {
    width: 150px;
    height: 150px;
  }

  .hero {
    padding: 60px 0 40px;
  }

  .services,
  .contact,
  .leadership {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }
}
