/*
Theme Name: Scout IT Systems
Theme URI: https://scoutitsystems.com
Author: Scout IT Systems
Description: Custom theme for Scout IT Systems — Houston's commercial low voltage and IT partner.
Version: 1.0.0
Text Domain: scout-it-systems
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --dark:        #54565A;
  --mid-gray:    #A8A9AD;
  --light-gray:  #DCE0E2;
  --off-white:   #F4F5F6;
  --lime:        #C4D600;
  --lime-dark:   #A8B800;
  --blue:        #69B3E7;
  --white:       #FFFFFF;
  --black:       #1C1C1E;

  --font: 'Century Gothic', 'Josefin Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;

  --max-w: 1180px;
  --header-h: 80px;
  --radius: 4px;
  --transition: 0.25s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

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

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 80px 0;
}

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

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

.section--lime {
  background: var(--lime);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.section--dark .section-label {
  color: var(--lime);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header p {
  color: var(--mid-gray);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

.section--dark .section-header p {
  color: var(--light-gray);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-lime {
  background: var(--lime);
  color: var(--dark);
  border-color: var(--lime);
}
.btn-lime:hover {
  background: var(--lime-dark);
  border-color: var(--lime-dark);
}

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

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

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--black);
  border-color: var(--black);
}

.inline-link {
  color: var(--lime-dark);
  font-weight: 700;
  border-bottom: 2px solid var(--lime);
  transition: var(--transition);
}
.inline-link:hover {
  color: var(--dark);
}

/* =============================================
   HEXAGON ELEMENTS
   ============================================= */
.hex-icon {
  width: 78px;
  height: 78px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  flex-shrink: 0;
}

.hex-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--dark);
}

.hex-icon--dark {
  background: var(--dark);
}
.hex-icon--dark svg { fill: var(--lime); }

.hex-icon--blue {
  background: var(--blue);
}
.hex-icon--blue svg { fill: var(--white); }

/* Decorative hex cluster */
.hex-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='80' viewBox='0 0 70 80'%3E%3Cpolygon points='35,3 67,20 67,60 35,77 3,60 3,20' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 70px 80px;
}

/* =============================================
   SITE HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--dark);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Primary Nav */
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav > ul > li {
  position: relative;
}

.primary-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--light-gray);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
  border-radius: var(--radius);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  color: var(--lime);
}

/* Dropdown */
.primary-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--black);
  border-top: 3px solid var(--lime);
  min-width: 220px;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu {
  display: block;
}

.primary-nav .sub-menu li a {
  padding: 0.6rem 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--mid-gray);
  border-radius: 0;
}

.primary-nav .sub-menu li a:hover {
  color: var(--lime);
  background: rgba(255,255,255,0.05);
}

/* Has children arrow */
.primary-nav .menu-item-has-children > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.6;
}

/* Header CTA */
.header-cta {
  margin-left: 1rem;
}

/* Mobile burger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
  background: var(--black);
  color: var(--mid-gray);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .site-logo img {
  height: 38px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--mid-gray);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--lime);
  display: inline-block;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--mid-gray);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--lime);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: var(--mid-gray);
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--lime);
  width: 16px;
  height: 16px;
}

.footer-contact-item a {
  color: var(--mid-gray);
  transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* =============================================
   PAGE WRAPPER (pushes content below fixed header)
   ============================================= */
.page-wrapper {
  padding-top: var(--header-h);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero--tall {
  min-height: 680px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='70' height='80' viewBox='0 0 70 80'%3E%3Cpolygon points='35,3 67,20 67,60 35,77 3,60 3,20' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 70px 80px;
}

.hero-accent {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  opacity: 0.06;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--lime);
  color: var(--dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

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

.hero .lead {
  font-size: 1.15rem;
  color: var(--light-gray);
  margin-bottom: 2.5rem;
  max-width: 580px;
  line-height: 1.7;
}

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

/* Page hero (inner pages) */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.page-hero .hero-bg-pattern {
  opacity: 0.5;
}

.page-hero h1 {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  color: var(--mid-gray);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.page-hero .breadcrumb a {
  color: var(--lime);
  transition: color var(--transition);
}

.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { margin: 0 0.5rem; }

.page-hero-subtitle {
  position: relative;
  z-index: 1;
  color: var(--light-gray);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  max-width: 580px;
}

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

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

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card .card-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime-dark);
  transition: color var(--transition);
}

.service-card .card-link:hover { color: var(--dark); }

/* =============================================
   ABOUT SNIPPET (HOME)
   ============================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-box {
  background: var(--light-gray);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.about-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, #6e7278 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.2;
  fill: var(--white);
}

.about-hex-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.85;
}

.about-content .section-label { margin-bottom: 0.5rem; }

.about-content h2 { margin-bottom: 1.25rem; }

.about-content p { color: #555; font-size: 0.98rem; }

.feature-list {
  margin: 1.75rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--dark);
}

.feature-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin-top: 6px;
}

/* =============================================
   WHY SCOUT IT (Home)
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: border-color var(--transition);
}

.why-card:hover {
  border-color: var(--lime);
}

.why-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--mid-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* =============================================
   CTA STRIP
   ============================================= */
.cta-strip {
  background: var(--lime);
  padding: 60px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-strip h2 {
  color: var(--dark);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin: 0;
}

.cta-strip p {
  color: var(--dark);
  opacity: 0.75;
  margin: 0.5rem 0 0;
  font-size: 1rem;
}

/* =============================================
   SERVICES PAGE
   ============================================= */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-block {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.service-block:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
  border-color: var(--lime);
}

.service-block-header {
  background: var(--dark);
  padding: 2rem 2rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.service-block-icon {
  width: 60px;
  height: 60px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-block-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--dark);
}

.service-block-header h3 {
  color: var(--white);
  margin: 0;
  font-size: 1.2rem;
}

.service-block-body {
  padding: 1.75rem 2rem 2rem;
}

.service-block-body p {
  color: #555;
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
}

.service-list-items {
  margin-bottom: 1.5rem;
}

.service-list-items li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--dark);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--off-white);
}

.service-list-items li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-section-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-section-split.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.about-section-split.reverse .about-text {
  order: 1;
}

.about-text h2 { margin-bottom: 1rem; }
.about-text p { color: #555; font-size: 0.97rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius);
  border-left: 4px solid var(--lime);
}

.value-card h4 { color: var(--dark); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.88rem; color: #666; margin: 0; }

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

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

.team-avatar {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dark) 0%, #6e7278 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}

.team-card h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.25rem; }
.team-card .team-title { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime-dark); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 0.5rem; }
.contact-form-wrap .lead { color: var(--mid-gray); margin-bottom: 2rem; font-size: 0.97rem; }

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(196,214,0,0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--mid-gray);
  margin-bottom: 1.25rem;
}

.form-success {
  background: #f0faf0;
  border: 1px solid #4caf50;
  color: #2e7d32;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.form-error {
  background: #fff0f0;
  border: 1px solid #e53935;
  color: #c62828;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Contact sidebar */
.contact-info-wrap {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.contact-info-box {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  margin-bottom: 1.5rem;
}

.contact-info-box h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--lime);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail:last-child { margin-bottom: 0; }

.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 17px;
  height: 17px;
  fill: var(--dark);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.25rem;
}

.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.95rem;
  color: var(--white);
  transition: color var(--transition);
}

.contact-detail-text a:hover { color: var(--lime); }

.service-area-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--lime);
}

.service-area-box h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-area-box p {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
}

/* =============================================
   INDIVIDUAL SERVICE PAGE (template-service)
   ============================================= */
.service-page-content {
  max-width: 800px;
}

.service-page-content h2 { margin: 2.5rem 0 1rem; color: var(--dark); }
.service-page-content h3 { margin: 2rem 0 0.75rem; color: var(--dark); }
.service-page-content p { color: #555; font-size: 0.97rem; }

.service-page-content ul {
  list-style: none;
  margin: 1rem 0 1.5rem;
}

.service-page-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--dark);
  border-bottom: 1px solid var(--off-white);
}

.service-page-content ul li::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--lime);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0;
  margin-top: 7px;
}

.service-page-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.service-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.sidebar-cta-box {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.sidebar-cta-box h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta-box p {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-bottom: 1.5rem;
}

.sidebar-cta-box .btn { width: 100%; text-align: center; }

.sidebar-services-box {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.sidebar-services-box h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--lime);
}

.sidebar-services-box ul li a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--dark);
  border-bottom: 1px solid var(--light-gray);
  transition: color var(--transition), padding-left var(--transition);
}

.sidebar-services-box ul li a:hover {
  color: var(--lime-dark);
  padding-left: 0.5rem;
}

.sidebar-services-box ul li.active-service > a {
  color: var(--lime-dark);
  font-weight: 700;
}

/* =============================================
   ENTRY CONTENT (Generic Pages)
   ============================================= */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 0.97rem;
  color: #444;
}

.entry-content h2 { color: var(--dark); margin: 2rem 0 0.75rem; }
.entry-content h3 { color: var(--dark); margin: 1.5rem 0 0.5rem; }
.entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content ul li { margin-bottom: 0.4rem; }
.entry-content a { color: var(--lime-dark); }
.entry-content a:hover { color: var(--dark); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split,
  .about-section-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-section-split.reverse { grid-template-columns: 1fr; }
  .about-section-split.reverse .about-text { order: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .contact-info-wrap { position: static; }
  .service-page-layout { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .services-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  .primary-nav { display: none; }
  .primary-nav.open { display: block; }

  .nav-toggle { display: flex; }

  .site-header { height: auto; min-height: var(--header-h); }

  .header-inner { flex-wrap: wrap; padding: 1rem 1.5rem; gap: 0; }

  .primary-nav {
    width: 100%;
    padding: 0.5rem 0 1rem;
  }

  .primary-nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .primary-nav > ul > li { width: 100%; }

  .primary-nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .primary-nav .sub-menu {
    position: static;
    display: block;
    background: transparent;
    border: none;
    padding: 0 0 0 1rem;
    box-shadow: none;
  }

  .header-cta { display: none; }

  .hero-content { padding: 60px 0; }
  .hero-accent { display: none; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .cta-strip-inner { flex-direction: column; text-align: center; }

  .contact-form .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .about-hex-accent { display: none; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}
