/* ===== Wallace & White — Static Site Stylesheet ===== */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.8;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #415239; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: #2e3a27; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}

h1 { font-size: 2.8rem; letter-spacing: 0.5px; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.wide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----- Header / Nav ----- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.main-nav {
  position: relative;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: #333;
  padding: 6px 10px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav a {
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

nav a:hover { color: #415239; }

nav .btn-nav {
  background: #333;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.25s ease;
}

nav .btn-nav:hover {
  background: #415239;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(65,82,57,0.3);
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  background: #333;
  color: #fff;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn:hover {
  background: #415239;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(65,82,57,0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid #333;
  color: #333;
}

.btn-outline:hover {
  background: #415239;
  border-color: #415239;
  color: #fff;
}

.btn-secondary {
  background: #415239;
}

.btn-secondary:hover {
  background: #2e3a27;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 140px 24px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  font-size: 3.6rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-actions .btn-outline {
  border-color: rgba(255,255,255,0.72);
  color: #fff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
}

.hero-note {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
}

/* Hero pills */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-pill {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-pill i { margin-right: 6px; }

/* Hero animation */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-fade-in {
  animation: heroFadeIn 1s ease-out;
}

/* Styled image */
.img-styled {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ----- Page Header (non-hero pages) ----- */
.page-header {
  background: linear-gradient(135deg, #2a2a2a, #3d3d3d, #333);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}

.page-header h1 { color: #fff; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 700px; margin: 0 auto; }

/* ----- Sections ----- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #f6f8fa;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
  color: #5a6455;
}

.section-dark {
  background: #333;
  color: #fff;
}

.section-dark h2,
.section-dark h3 { color: #fff; }

.section-cta {
  background: linear-gradient(135deg, #415239, #4e6344, #3a4932);
  color: #fff;
  text-align: center;
  padding: 90px 24px;
}

.section-cta h2 { color: #fff; margin-bottom: 1rem; }
.section-cta p { color: rgba(255,255,255,0.9); margin-bottom: 2rem; }

.section-cta .btn {
  background: #fff;
  color: #415239;
  padding: 16px 44px;
  font-size: 1.05rem;
}

.section-cta .btn:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ----- Service Cards ----- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: #e0e0e0;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-card-body,
.service-card-content {
  padding: 24px;
}

.service-card h3 a { color: #333; transition: color 0.25s; }
.service-card h3 a:hover { color: #415239; }

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

.service-card .card-link {
  display: inline-block;
  margin-top: 12px;
  color: #415239;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.service-card .card-link:hover {
  color: #2e3a27;
  transform: translateX(4px);
}

.service-link-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.75rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eef1ec;
  color: #415239;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.service-link:hover {
  background: #415239;
  color: #fff;
  transform: translateY(-1px);
}

/* ----- Two-Column Layout ----- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.two-col-text h2 { margin-bottom: 1rem; }

/* ----- Partners / Logo Grid ----- */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.partner-grid img {
  height: 55px;
  width: auto;
  opacity: 0.7;
  transition: all 0.3s ease;
  filter: grayscale(30%);
}

.partner-grid img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ----- Testimonials ----- */
.section-testimonials {
  background: linear-gradient(180deg, #f7f9f5 0%, #ffffff 100%);
  border-top: 1px solid #ebf0e8;
  border-bottom: 1px solid #ebf0e8;
}

.section-kicker {
  color: #415239;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 2.25rem;
  text-align: center;
  color: #5a6455;
}

.section-testimonials .section-title {
  text-align: center;
}

.testimonial-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border: 1px solid #e2e8dd;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.testimonial-summary p {
  flex: 1;
  margin-bottom: 0;
  color: #445046;
}

.testimonial-summary .btn {
  flex-shrink: 0;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #c5962f;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8dd;
  border-radius: 16px;
  padding: 30px 24px 24px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 14px;
  left: 18px;
  color: #d6dfd1;
  font-size: 3.2rem;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  position: relative;
  margin: 0 0 1rem;
  padding-top: 16px;
  color: #283223;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.5;
}

.testimonial-card p {
  color: #596559;
  font-size: 0.95rem;
}

.testimonial-meta {
  margin-top: 1.25rem;
  color: #6a746a;
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-note {
  max-width: 760px;
  margin: 1.5rem auto 0;
  color: #6a746a;
  text-align: center;
  font-size: 0.9rem;
}

/* ----- Team / Leadership ----- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.team-card:hover img {
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.team-card h3 { margin-bottom: 4px; }

.team-card .title {
  color: #415239;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p { text-align: left; color: #555; font-size: 0.95rem; }

.team-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.team-links a {
  color: #415239;
  font-size: 1.1rem;
  transition: all 0.25s ease;
}

.team-links a:hover { color: #2e3a27; transform: translateY(-2px); }

/* ----- Cert Grid ----- */
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.cert-grid img {
  height: 60px;
  width: auto;
}

.cert-badge {
  display: inline-block;
  background: #f0f0f0;
  color: #333;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid #ddd;
}

/* ----- Blog ----- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border-top: 3px solid #415239;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }

.blog-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 24px;
}

.blog-card h3 { font-size: 1.15rem; }
.blog-card h3 a { color: #333; }
.blog-card h3 a:hover { color: #415239; }

.blog-meta {
  font-size: 0.85rem;
  color: #415239;
  font-weight: 500;
  margin-bottom: 8px;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.blog-tag {
  background: #eef1ec;
  color: #415239;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Blog Post */
.blog-post {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px;
}

.blog-post h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }

.blog-post .blog-meta { margin-bottom: 2rem; }

.blog-post h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-post h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

.blog-post ol, .blog-post ul {
  margin: 1rem 0 1rem 2rem;
}

.blog-post li { margin-bottom: 0.5rem; }

/* Blog hero image */
.blog-hero-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin: 1.5rem 0 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Blog callout / highlight box */
.blog-callout {
  background: linear-gradient(135deg, #f0f4ee, #f6f8fa);
  border-left: 4px solid #415239;
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.blog-callout.warning {
  background: linear-gradient(135deg, #fff8e1, #fff3cd);
  border-left-color: #f59e0b;
}

.blog-callout.danger {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  border-left-color: #ef4444;
}

.blog-callout strong { color: #333; }

/* Blog pull quote */
.blog-pullquote {
  border-left: 4px solid #415239;
  margin: 2rem 0;
  padding: 16px 24px;
  font-size: 1.15rem;
  font-style: italic;
  color: #415239;
  background: #f9faf8;
  border-radius: 0 8px 8px 0;
}

/* Blog key takeaways box */
.blog-takeaways {
  background: #fff;
  border: 2px solid #415239;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 2rem 0;
}

.blog-takeaways h4 {
  color: #415239;
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-takeaways ul {
  margin: 0;
  padding-left: 1.25rem;
}

.blog-takeaways li {
  margin-bottom: 8px;
  color: #444;
}

/* Blog inline stat */
.blog-stat {
  display: inline-flex;
  align-items: baseline;
  background: #415239;
  color: #fff;
  padding: 4px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 2px;
}

/* Blog CTA banner */
.blog-cta-banner {
  background: linear-gradient(135deg, #415239, #4e6344);
  color: #fff;
  border-radius: 12px;
  padding: 32px;
  margin: 2.5rem 0;
  text-align: center;
}

.blog-cta-banner h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.blog-cta-banner p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.blog-cta-banner .btn {
  background: #fff;
  color: #415239;
}

.blog-cta-banner .btn:hover {
  background: #e8e8e8;
}

/* Blog section divider */
.blog-divider {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, transparent, #415239, transparent);
  margin: 2.5rem 0;
  opacity: 0.3;
}

@media (max-width: 640px) {
  .blog-hero-img { height: 200px; }
  .blog-pullquote { font-size: 1rem; }
}

/* ----- Contact ----- */
.contact-info {
  margin-bottom: 2rem;
}

.contact-info p {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.contact-info a { font-weight: 600; }

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: #415239;
  box-shadow: 0 0 0 3px rgba(65,82,57,0.12);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-wrap {
  margin-top: 24px;
  min-height: 70px;
}

.contact-form-note {
  margin-top: 12px;
  color: #666;
  font-size: 0.92rem;
}

.form-status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid transparent;
}

.form-status.is-error {
  background: #fbeaea;
  border-color: #f3c4c4;
  color: #8a1c1c;
}

.contact-form .btn[disabled] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.contact-form .btn { margin-top: 24px; }

/* ----- Features List (service detail pages) ----- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #415239;
}

.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { font-size: 0.9rem; color: #666; }

/* Feature item card variant */
.feature-item-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.feature-item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.feature-item-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #415239;
}

.feature-item-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item-card p { font-size: 0.9rem; color: #666; }

.trust-strip {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-item {
  background: #fff;
  border: 1px solid #e2e8dd;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.trust-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.trust-item p {
  margin-bottom: 0;
  color: #596559;
  font-size: 0.92rem;
}

.trust-item i {
  color: #415239;
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.callout-banner {
  background: linear-gradient(135deg, #2f3d29, #415239);
  color: #fff;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(47,61,41,0.2);
}

.callout-banner h2,
.callout-banner h3 {
  color: #fff;
}

.callout-banner p {
  color: rgba(255,255,255,0.9);
}

.callout-banner .service-link {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.callout-banner .service-link:hover {
  background: #fff;
  color: #415239;
}

/* Stats callout */
.section-stats {
  background: linear-gradient(135deg, #f8faf7, #f0f4ee, #f6f8fa);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.stat-card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid #e8ece5;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #415239, #6b8f5e);
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(65,82,57,0.15);
}

.stat-card-accent {
  background: linear-gradient(135deg, #415239, #4e6344);
  color: #fff;
  border-color: transparent;
}

.stat-card-accent::after {
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.6));
}

.stat-card .stat-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #415239;
  opacity: 0.7;
}

.stat-card-accent .stat-icon {
  color: rgba(255,255,255,0.7);
}

.stat-card .stat-number {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
  color: #415239;
}

.stat-card-accent .stat-number {
  color: #fff;
}

.stat-card .stat-pct {
  font-size: 2rem;
  font-weight: 700;
}

.stat-card .stat-label {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.8;
}

.stat-card-accent .stat-label {
  opacity: 0.9;
}

/* Service detail page layout */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}

.service-detail-content h2 {
  margin-top: 0;
}

.service-detail-content ul {
  margin: 1rem 0 1rem 2rem;
}

.service-detail-content li {
  margin-bottom: 0.5rem;
}

/* Sidebar nav for service pages */
.service-sidebar {
  background: #f6f8fa;
  border-radius: 8px;
  padding: 24px;
  border-left: 3px solid #415239;
}

.service-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.service-sidebar ul {
  list-style: none;
}

.service-sidebar li {
  margin-bottom: 8px;
}

.service-sidebar a {
  display: block;
  padding: 10px 16px;
  border-radius: 4px;
  color: #333;
  transition: all 0.25s ease;
}

.service-sidebar a:hover,
.service-sidebar a.active {
  background: #eef1ec;
  color: #415239;
}

/* ----- Footer ----- */
.site-footer {
  background: #2a2a2a;
  color: #ccc;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  border-right: 1px solid rgba(255,255,255,0.08);
  padding-right: 24px;
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-col a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: #ccc;
  font-size: 1.2rem;
  transition: all 0.25s ease;
}

.footer-social a:hover { color: #fff; transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom img {
  height: 35px;
  margin: 0 auto 12px;
}

/* ----- Privacy Page ----- */
.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px;
}

.legal-content h2 {
  margin-top: 2rem;
}

/* ----- Back to Top ----- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: #415239;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #2e3a27;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .service-grid, .blog-grid, .features-grid, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .service-detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col { border-right: none; padding-right: 0; }
  .hero h1 { font-size: 2.4rem; }
  h1 { font-size: 2.2rem; }
  .stats-row { grid-template-columns: 1fr; }
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-summary {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .service-grid, .blog-grid, .features-grid, .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { border-right: none; padding-right: 0; }
  .hero { padding: 100px 24px; }
  .hero h1 { font-size: 2rem; }
  .hero-pills { gap: 8px; }
  .hero-pill { font-size: 0.8rem; padding: 6px 14px; }
  .hero-actions { gap: 10px; }
  .section { padding: 50px 0; }
  .page-header { padding: 50px 24px; }
  .trust-strip {
    margin-top: 0;
  }
  .trust-strip-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    gap: 12px;
  }

  nav ul.open { display: flex; }

  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
