/* ======================
   CLM CONSULTING STYLES
   ====================== */
:root {
  --primary: #14224B;
  --primary-dark: #111D40;
  --accent: #c6b380;
  --accent-dark: #b7a16a;
  --text: #14224B;
  --text-light: #666;
  --background: #ffffff;
  --background-alt: #f4f5f6;
  --border: #d8dde2;
  --border-strong: #c3c9ce;
  --max-width: 1200px;
}
/* LOGO */
.logo-img {
  height: 100px;
  width: auto;
  display: block;
}
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
}
img {
  max-width: 100%;
}
a {
  text-decoration: none;
}
/* CONTAINERS */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.logo {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary);
  margin-right: auto;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--primary);
  font-weight: 600;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a.active {
  color: var(--accent);
}
.cta-btn {
  background: #c6b380;
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-left: 32px;
}
.cta-btn:hover {
  background: var(--accent-dark);
}
/* HERO (home page only — photo background) */
.hero {
  background-image:
    linear-gradient(
      rgba(31,41,55,0.55),
      rgba(31,41,55,0.55)
    ),
    url('Assets/hero.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 160px 0;
}
.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  max-width: 900px;
  margin: 0 auto 20px;
}
.hero p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.2rem;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-btn-primary {
  background: var(--accent);
  color: white;
  padding: 1rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
}
.hero-btn-secondary {
  border: 2px solid white;
  color: white;
  padding: 1rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
}
/* SECTIONS */
.section {
  padding: 120px 0 90px;
}
.section-alt {
  background: var(--background-alt);
}
.section h2 {
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}
.gold-line {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin-bottom: 2rem;
}
.section p {
  margin-bottom: 1rem;
}
.intro-text {
  max-width: 800px;
  margin-bottom: 2rem;
}
/* SERVICE CARDS (Home page "Our Services" section — numbered white cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.card {
  background: white;
  border: 1px solid #d8dde2;
  border-radius: 0;
  padding: 2.5rem 2.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--accent);
}
/* Numbered index (01, 02, 03...) sitting above each service title */
.service-num {
  display: block;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.3rem;
}
.services-grid .card h3 {
  color: #14224B;
}
.card p {
  color: var(--text-light);
  font-size: 0.97rem;
}
/* SPLIT FEATURE (home page + reused on contact page) */
.about-section {
  margin-top: 0px;
}
.about-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.feature-row {
  border-bottom: 1px solid #dddddd;
  padding: 8px 0;
}
.feature-row h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #14224B;
}
.feature-row h4::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  margin-right: 12px;
  margin-bottom: 4px;
}
.feature-row p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 4px;
  line-height: 1.5;
}
.about-left h2 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 30px;
}
.about-left p {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #666;
  padding-top: 25px;
}
.about-left .cta-btn {
  display: inline-block;
  margin-top: 20px;
  margin-left: 0;
  background: #c6b380;
  color: white;
  padding: 14px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
}
/* WHY SECTION (Home page) — dark blue background, no card boxes.
   2x2 text grid with thin divider lines, gold headings, white copy. */
.why-section {
  background: var(--primary);
  color: white;
  padding: 100px 0 110px;
}
.why-section h2 {
  color: white;
}
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 60px;
  row-gap: 0;
  margin-top: 3rem;
}
.credential {
  border-left: 1px solid rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 0 0 2.5rem 32px;
  margin-bottom: 2.5rem;
}
.credential:nth-last-child(-n+2) {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.credential h3 {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}
.credential p {
  color: rgba(255,255,255,0.9);
  font-size: 0.97rem;
  max-width: 46ch;
}
/* CTA SECTION (Home page) — plain white background with small gold accent line */
.cta-section {
  background: var(--background);
  color: var(--text);
  text-align: center;
  padding: 90px 0;
}
.cta-line {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1.75rem;
}
.cta-section h2 {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 2.1rem;
}
.cta-section p {
  max-width: 750px;
  margin: 0 auto 2rem;
  color: var(--text-light);
}
.cta-section a {
  display: inline-block;
  background: var(--accent);
  color: #14224B;
  padding: 1rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 0;
}
.cta-section a:hover {
  background: var(--accent-dark);
}
/* FOOTER — white background with navy text/logo pop */
.footer {
  background: #ffffff;
  color: var(--primary);
  border-top: 1px solid var(--border);
}
.footer-gold-line {
  height: 2px;
  background: var(--accent);
  opacity: 1;
}
.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 3rem;
  padding: 4rem 0;
}
.footer h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 0.6rem;
  color: var(--primary);
}
.footer p,
.footer small {
  color: var(--primary);
}
.footer a {
  color: var(--primary);
}
.footer a:hover {
  color: var(--accent-dark);
}
.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--primary);
  opacity: 0.7;
}
/* UTILITY */
.centre-button {
  text-align: center;
  margin-top: 2.5rem;
}
.centre-button a {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.9rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
}
/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 1.5rem;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  margin-top: 12px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button {
  align-self: flex-start;
  margin-top: 1.5rem;
  border: none;
  cursor: pointer;
  margin-left: 0;
}
.form-status.ok {
  color: #3E7A4F;
}
.form-status.err {
  color: #A8432E;
}
/* ======================================================
   SERVICES PAGE — expanded panels + photo-banner header
   ====================================================== */
/* Banner header on the Services page — now uses a photo
   background (Assets/services.png) instead of solid blue */
.services-hero {
  background-image:
    linear-gradient(
      rgba(20,34,75,0.75),
      rgba(20,34,75,0.75)
    ),
    url('Assets/services.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0 70px;
}
.services-hero .dash {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.services-hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  margin-bottom: 0.9rem;
  color: white;
}
.services-hero p {
  max-width: 620px;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
}
/* Intro copy under the header, on white background */
.services-intro {
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--border);
}
.services-intro .dash {
  width: 40px;
  height: 1px;
  background: var(--border-strong);
  margin-bottom: 1.25rem;
}
.services-intro h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: #14224B;
  margin-bottom: 0.9rem;
  max-width: 720px;
}
.services-intro p {
  max-width: 720px;
  color: var(--text-light);
  font-size: 1rem;
}
/* Expanded service panels */
.services-detail {
  background: var(--background-alt);
  padding: 70px 0 100px;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: white;
  border: 1px solid var(--border);
  margin-bottom: 1.75rem;
}
.service-row:last-child {
  margin-bottom: 0;
}
.service-info {
  padding: 2.75rem 2.5rem;
}
.service-info .service-num {
  margin-bottom: 0.9rem;
}
.service-info h3 {
  font-size: 1.4rem;
  color: #14224B;
  margin-bottom: 0.4rem;
}
.service-subtitle {
  display: block;
  font-size: 0.92rem;
  color: var(--accent-dark);
  margin-bottom: 1.1rem;
}
.service-info p.service-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0;
}
.service-scope {
  padding: 2.75rem 2.5rem;
  border-left: 1px solid var(--border);
}
.scope-label {
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  display: block;
}
.scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.scope-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 0.93rem;
  color: var(--text);
}
.scope-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-4px);
}
/* Closing CTA on the Services/About pages — dark, centred band
   (distinct from the homepage's white "Ready to Discuss" section) */
.discuss-cta {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 90px 0;
}
.discuss-cta .dash {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}
.discuss-cta h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: white;
}
.discuss-cta p {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,0.85);
}
.discuss-cta .cta-btn {
  display: inline-block;
  margin-left: 0;
}
/* ======================================================
   ABOUT PAGE — photo-banner header + two-column
   info sections, matching the Services page treatment
   ====================================================== */
/* Banner header on the About page — now uses a photo
   background (Assets/about.png) instead of solid blue */
.about-hero {
  background-image:
    linear-gradient(
      rgba(20,34,75,0.75),
      rgba(20,34,75,0.75)
    ),
    url('Assets/about.png');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0 70px;
}
.about-hero .dash {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.about-hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  margin-bottom: 0.9rem;
  color: white;
}
.about-hero p {
  max-width: 620px;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
}
/* Two-column info sections (Who We Are / How We Work) */
.about-split-section {
  padding: 90px 0;
}
.about-split-section.alt {
  background: var(--background-alt);
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.two-col-grid .dash {
  width: 40px;
  height: 1px;
  background: var(--border-strong);
  margin-bottom: 1.25rem;
}
.two-col-grid h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: #14224B;
  margin-bottom: 1.1rem;
}
.two-col-grid > div > p {
  color: var(--text-light);
  font-size: 0.97rem;
  margin-bottom: 1rem;
}
.two-col-grid > div > p:last-of-type {
  margin-bottom: 0;
}
/* Divider list used for "How We Work"
   — heading + short description per row */
.info-list {
  list-style: none;
  margin-top: 1.75rem;
}
.info-list li {
  position: relative;
  padding: 1.1rem 0 1.1rem 26px;
  border-bottom: 1px solid var(--border);
}
.info-list li:first-child {
  padding-top: 0;
}
.info-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: calc(1.1rem + 0.55rem);
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.info-list li:first-child::before {
  top: 0.55rem;
}
.info-list h4 {
  font-size: 0.98rem;
  color: #14224B;
  margin-bottom: 0.35rem;
}
.info-list p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}
/* Centred, full-width "Our Expertise" section on the About page
   (Professional Standards now lives on the Home page only) */
.expertise-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.expertise-section .dash {
  margin-left: auto;
  margin-right: auto;
}
.expertise-section p.expertise-intro {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto 0.5rem;
}
/* Card-style grid — matches the "Our Services" card treatment
   (white background, border, hover lift) instead of the plain
   divider-line list used elsewhere on the About page */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 3rem;
  text-align: left;
}
.expertise-grid .expertise-item.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2.25rem 2.25rem;
}
.expertise-grid .expertise-item.card h4 {
  font-size: 1.1rem;
  color: #14224B;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}
.expertise-grid .expertise-item.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.75;
}
/* "Where We Work" — single column section on white background */
.where-section {
  padding: 90px 0;
}
.where-section .dash {
  width: 40px;
  height: 1px;
  background: var(--border-strong);
  margin-bottom: 1.25rem;
}
.where-section h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: #14224B;
  margin-bottom: 1.1rem;
}
.where-section p {
  max-width: 760px;
  color: var(--text-light);
  font-size: 0.97rem;
}
/* ======================================================
   CONTACT PAGE — blue header bar (no hero photo), matching
   the Services and About page treatment
   ====================================================== */
.contact-hero {
  background: var(--primary);
  color: white;
  padding: 150px 0 70px;
}
.contact-hero .dash {
  width: 40px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.contact-hero h1 {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  margin-bottom: 0.9rem;
  color: white;
}
.contact-hero p {
  max-width: 620px;
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin-bottom: 0;
}
/* ======================================================
   MOBILE NAVIGATION — hamburger toggle + dropdown menu
   ====================================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 16px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* MOBILE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 860px) {
  .service-row {
    grid-template-columns: 1fr;
  }
  .service-scope {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .two-col-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-container {
    position: relative;
    flex-wrap: wrap;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 0;
  }
  .nav-links.open {
    max-height: 260px;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
  .cta-btn {
    margin-left: 12px;
  }
  .credentials-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .credential {
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-left: 0;
  }
  .credential:last-child {
    border-bottom: none;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
