/* =========================================================
   SHR Consultants — Main Stylesheet
   Colours: Navy #0C2446 | Charcoal #4B4F56 | Grey #C4C4C4
            Off-White #F0EFED | White #FFFFFF
   Fonts: Georgia (headings) | Arial (body)
========================================================= */

:root {
  --navy:      #0C2446;
  --charcoal:  #4B4F56;
  --grey:      #C4C4C4;
  --offwhite:  #F0EFED;
  --white:     #FFFFFF;
  --navy-light: #163460;
  --shadow: 0 4px 24px rgba(12,36,70,0.10);
  --shadow-lg: 0 8px 40px rgba(12,36,70,0.16);
  --radius: 4px;
  --transition: 0.22s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-light); }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }
h5 { font-size: 0.95rem; font-weight: 700; }

.label {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }

.section--navy    { background: var(--navy); color: var(--white); }
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--white); }
.section--navy .label { color: var(--grey); }

.section--offwhite { background: var(--offwhite); }
.section--white    { background: var(--white); }

.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); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--offwhite);
  color: var(--navy);
}

/* ── Navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(12,36,70,0.08);
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.75rem; right: 0.75rem;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.65rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  border-top: 3px solid var(--navy);
  overflow: hidden;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.2rem;
  font-size: 0.82rem;
  color: var(--charcoal);
  text-transform: none;
  letter-spacing: 0;
  border-radius: 0;
}
.dropdown-menu a:hover { background: var(--offwhite); color: var(--navy); }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--offwhite);
  padding: 1rem 1.5rem;
}
.nav-mobile a {
  display: block;
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  border-bottom: 1px solid var(--offwhite);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn { display: block; text-align: center; margin-top: 1rem; }
.nav-mobile-sub { padding-left: 1rem; }
.nav-mobile-sub a { font-weight: 400; font-size: 0.85rem; color: var(--charcoal); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(12,36,70,0.97) 45%, rgba(12,36,70,0.80) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 1.25rem;
  font-family: Arial, sans-serif;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}

.hero h1 span { color: var(--grey); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-rule {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 45%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.03));
  pointer-events: none;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 4rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 620px; margin: 0 auto; }

/* ── Divider rule ── */
.rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--navy);
  margin: 1rem auto;
}
.rule--left { margin-left: 0; }
.rule--white { background: var(--white); }

/* ── Section header ── */
.section-header { margin-bottom: 3rem; }
.section-header.text-center .rule { margin: 1rem auto; }

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card--navy {
  background: var(--navy);
  color: var(--white);
}
.card--navy h3, .card--navy h4 { color: var(--white); }

.card--offwhite { background: var(--offwhite); box-shadow: none; }
.card--offwhite:hover { box-shadow: var(--shadow); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
}
.card--navy .card-icon { background: rgba(255,255,255,0.1); }

/* ── Service cards ── */
.service-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border-top: 4px solid transparent;
  transition: all var(--transition);
}
.service-card:hover {
  border-top-color: var(--navy);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--charcoal);
}
.service-card h3 { color: var(--navy); margin-bottom: 0.75rem; }
.service-card p { color: var(--charcoal); font-size: 0.95rem; }
.service-card .arrow {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}
.service-card:hover .arrow { letter-spacing: 0.1em; }

/* ── Stats strip ── */
.stats-strip {
  background: var(--navy);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Why SHR list ── */
.why-list { margin-top: 1.5rem; }
.why-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.why-item:last-child { margin-bottom: 0; }
.why-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}
.why-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.why-item p  { font-size: 0.92rem; color: var(--charcoal); margin: 0; }

/* ── Process steps ── */
.process-steps { counter-reset: step; }
.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--offwhite);
}
.process-step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h4 { margin-bottom: 0.35rem; }
.step-body p  { margin: 0; font-size: 0.92rem; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p  { color: rgba(255,255,255,0.78); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-banner .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Blog cards ── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.blog-card-img {
  height: 200px;
  background: var(--offwhite);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-img .blog-icon {
  font-size: 3rem;
  color: var(--grey);
}
.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 0.78rem;
  color: var(--grey);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; color: var(--navy); }
.blog-card p  { font-size: 0.9rem; flex: 1; margin-bottom: 1rem; }
.blog-card .read-more {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ── Contact form ── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--offwhite);
  border: 1px solid var(--grey);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(12,36,70,0.10);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand img { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.footer-col h5 {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
  align-items: flex-start;
}
.footer-contact li a { color: rgba(255,255,255,0.65); }
.footer-contact li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Service detail pages ── */
.service-detail-list {
  margin: 1.25rem 0;
}
.service-detail-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.service-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,0.55); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Accordion (FAQ) ── */
.accordion-item {
  border-bottom: 1px solid var(--offwhite);
}
.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
}
.accordion-trigger .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  font-weight: 400;
  transition: transform var(--transition);
}
.accordion-trigger[aria-expanded="true"] .icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.7;
}
.accordion-body.open { display: block; }

/* ── Testimonials ── */
.testimonial {
  background: var(--offwhite);
  border-left: 4px solid var(--navy);
  padding: 1.75rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.testimonial blockquote {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-author { font-size: 0.85rem; font-weight: 700; color: var(--charcoal); }

/* ── Utilities ── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ── Blog Article ── */
.article-body {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}
.article-body h2 { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.article-body h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; }
.article-body ul { margin: 1rem 0 1rem 1.5rem; list-style: disc; }
.article-body ul li { margin-bottom: 0.4rem; }
.article-body p  { margin-bottom: 1.2rem; }

/* ── Success / thank-you ── */
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero { min-height: 90vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .section { padding: 3.5rem 0; }
  .section--lg { padding: 4.5rem 0; }

  .cta-banner .btn-group { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
