/*
Theme Name:  Peek IT Services
Theme URI:   https://peekitservices.com
Description: Peek IT Services — IT Business Operations Consulting. Standalone classic theme (no parent required).
Author:      Peek IT Services, LLC
Author URI:  https://peekitservices.com
Version:     2.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peek-it-child
Tags:        consulting, it-services, business
*/

/* ============================================================
   PEEK IT SERVICES — DESIGN SYSTEM
   Color palette derived from company logo (teal-to-blue gradient
   with green accent, navy base).
   ============================================================ */

:root {
  /* Brand Colors */
  --pit-teal:        #1a9e85;
  --pit-teal-dark:   #0d6e56;
  --pit-teal-light:  #e1f5ee;
  --pit-blue:        #1a4e8a;
  --pit-blue-mid:    #2563a8;
  --pit-blue-light:  #e6f1fb;
  --pit-green:       #3db85a;
  --pit-green-dark:  #2a8040;
  --pit-navy:        #0a2540;
  --pit-slate:       #1e3a5f;
  --pit-accent:      #4dd9b0;

  /* Neutrals */
  --pit-text:        #1a2b3c;
  --pit-text-muted:  #4a6070;
  --pit-border:      #d0e4ef;
  --pit-bg-light:    #f7fafb;
  --pit-bg-white:    #ffffff;

  /* Shadows */
  --pit-shadow:      0 4px 24px rgba(10,37,64,0.10);
  --pit-shadow-lg:   0 12px 48px rgba(10,37,64,0.15);

  /* Layout */
  --pit-radius:      12px;
  --pit-radius-lg:   20px;
  --pit-max-width:   1200px;

  /* Typography */
  --pit-font-display: 'Playfair Display', Georgia, serif;
  --pit-font-body:    'DM Sans', system-ui, sans-serif;
  --pit-font-mono:    'Space Mono', monospace;
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--pit-font-body);
  color: var(--pit-text);
  background: var(--pit-bg-white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pit-teal);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--pit-teal-dark);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pit-font-display);
  color: var(--pit-navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; font-weight: 600; }

p {
  line-height: 1.7;
  color: var(--pit-text-muted);
  margin-bottom: 1rem;
}

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

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.pit-container {
  max-width: var(--pit-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.pit-section {
  padding: 5rem 2rem;
}

.pit-section--light {
  background: var(--pit-bg-light);
}

.pit-section--dark {
  background: linear-gradient(135deg, var(--pit-navy), var(--pit-teal-dark));
  color: white;
}

.pit-section--dark h1,
.pit-section--dark h2,
.pit-section--dark h3,
.pit-section--dark p {
  color: white;
}

.pit-section--dark p {
  opacity: 0.8;
}

.pit-text-center { text-align: center; }

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */

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

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

.pit-section-title {
  font-family: var(--pit-font-display);
  color: var(--pit-navy);
  margin-bottom: 1rem;
}

.pit-section-sub {
  font-size: 1.05rem;
  color: var(--pit-text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.pit-btn,
.pit-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--pit-font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s;
}

.pit-btn {
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-green));
  color: white;
}

.pit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,158,133,0.4);
  color: white;
}

.pit-btn-outline {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.45);
}

.pit-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}

.pit-btn-dark {
  background: linear-gradient(135deg, var(--pit-navy), var(--pit-teal-dark));
  color: white;
}

/* ============================================================
   NAVIGATION (overrides Twenty Twenty-Four)
   ============================================================ */

#masthead,
.wp-block-template-part[data-slug="header"] {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pit-border);
  padding: 0 2rem;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
}

.site-header .wp-block-site-title a,
.custom-logo-link {
  font-family: var(--pit-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pit-navy) !important;
  text-decoration: none;
}

.wp-block-navigation a {
  font-family: var(--pit-font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pit-text-muted) !important;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.wp-block-navigation a:hover,
.wp-block-navigation .current-menu-item > a {
  color: var(--pit-teal-dark) !important;
  background: var(--pit-teal-light);
}

/* Contact Us nav button */
.nav-cta-button a,
.menu-item.nav-cta a {
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-blue)) !important;
  color: white !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 8px !important;
}

body.page-template-page-home,
body.page-template-page-about,
body.page-template-page-services,
body.page-template-page-reviews,
body.page-template-page-blog,
body.page-template-page-contact,
body.page-template-page-jobs {
  padding-top: 90px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.pit-hero {
  min-height: 92vh;
  background: linear-gradient(135deg, var(--pit-navy) 0%, var(--pit-slate) 40%, var(--pit-teal-dark) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

.pit-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.pit-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}

.pit-hero__orb--1 {
  width: 500px; height: 500px;
  background: var(--pit-teal);
  top: -100px; right: -100px;
}

.pit-hero__orb--2 {
  width: 300px; height: 300px;
  background: var(--pit-green);
  bottom: -50px; left: 30%;
}

.pit-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--pit-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.pit-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.pit-hero__badge-dot {
  width: 6px; height: 6px;
  background: var(--pit-green);
  border-radius: 50%;
  display: inline-block;
}

.pit-hero h1 {
  color: white;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

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

.pit-hero__lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.97);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.pit-hero__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   STATS PANEL
   ============================================================ */

.pit-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--pit-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.pit-stat {
  text-align: center;
}

.pit-stat__num {
  font-family: var(--pit-font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pit-accent);
  display: block;
}

.pit-stat__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */

.pit-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
}

.pit-service-card {
  background: var(--pit-bg-white);
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.pit-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pit-teal), var(--pit-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.pit-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pit-shadow-lg);
  border-color: var(--pit-teal);
}

.pit-service-card:hover::before {
  transform: scaleX(1);
}

.pit-service-card__icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--pit-teal-light), var(--pit-blue-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.pit-service-card h3 {
  font-size: 1.1rem;
  color: var(--pit-navy);
  margin-bottom: 0.75rem;
}

.pit-service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pit-learn-more {
  color: var(--pit-teal);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pit-learn-more:hover {
  color: var(--pit-teal-dark);
}

/* ============================================================
   TECHNOLOGY STRIP
   ============================================================ */

.pit-tech-strip {
  background: var(--pit-navy);
  padding: 3rem 2rem;
}

.pit-tech-strip__label {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pit-tech-logos {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.pit-tech-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   WHY US / FEATURE CARDS
   ============================================================ */

.pit-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.pit-why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--pit-bg-light);
  border-radius: var(--pit-radius-lg);
  transition: all 0.3s;
}

.pit-why-card:hover {
  transform: translateY(-4px);
  background: white;
  box-shadow: var(--pit-shadow);
}

.pit-why-card__num {
  font-family: var(--pit-font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.pit-why-card h4 {
  font-size: 1rem;
  color: var(--pit-navy);
  margin-bottom: 0.5rem;
}

.pit-why-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================================
   REVIEW CARDS
   ============================================================ */

.pit-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.pit-review-card {
  background: white;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  padding: 2rem;
  position: relative;
}

.pit-review-card::before {
  content: '"';
  font-family: var(--pit-font-display);
  font-size: 5rem;
  color: var(--pit-teal-light);
  position: absolute;
  top: 0.5rem; left: 1.5rem;
  line-height: 1;
}

.pit-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.pit-review-text {
  color: var(--pit-text-muted);
  font-size: 0.925rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.pit-reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pit-reviewer__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pit-reviewer__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--pit-navy);
}

.pit-reviewer__title {
  font-size: 0.8rem;
  color: var(--pit-text-muted);
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.pit-cta-banner {
  background: linear-gradient(135deg, var(--pit-navy), var(--pit-teal-dark));
  border-radius: var(--pit-radius-lg);
  padding: 3.5rem;
  text-align: center;
  color: white;
  margin-top: 3rem;
}

.pit-cta-banner h2,
.pit-cta-banner h3 {
  font-family: var(--pit-font-display);
  color: white;
  margin-bottom: 1rem;
}

.pit-cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */

.pit-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.pit-blog-card {
  background: white;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.pit-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--pit-shadow-lg);
}

.pit-blog-card__img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--pit-teal-light), var(--pit-blue-light));
}

.pit-blog-card__body {
  padding: 1.5rem;
}

.pit-blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pit-teal);
  margin-bottom: 0.5rem;
}

.pit-blog-card h3 {
  color: var(--pit-navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  font-size: 1.05rem;
}

.pit-blog-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.pit-blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--pit-text-muted);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */

.pit-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pit-contact-info {
  background: linear-gradient(135deg, var(--pit-navy), var(--pit-teal-dark));
  border-radius: var(--pit-radius-lg);
  padding: 2.5rem;
  color: white;
  position: sticky;
  top: 90px;
  align-self: start;
}

.pit-contact-info h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pit-contact-info > p {
  opacity: 0.75;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

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

.pit-contact-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.pit-contact-item__label {
  font-size: 0.75rem;
  opacity: 0.65;
  margin-bottom: 2px;
  color: white;
}

.pit-contact-item__value {
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
}

/* ============================================================
   FORMS
   ============================================================ */

.pit-form-card {
  background: white;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  padding: 2.5rem;
}

.pit-form-group {
  margin-bottom: 1.5rem;
}

.pit-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pit-navy);
  margin-bottom: 0.5rem;
}

.pit-form-input,
.pit-form-select,
.pit-form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--pit-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--pit-font-body);
  color: var(--pit-text);
  background: var(--pit-bg-light);
  transition: all 0.2s;
  outline: none;
}

.pit-form-input:focus,
.pit-form-select:focus,
.pit-form-textarea:focus {
  border-color: var(--pit-teal);
  background: white;
  box-shadow: 0 0 0 3px rgba(26,158,133,0.12);
}

.pit-form-textarea {
  min-height: 120px;
  resize: vertical;
}

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

.pit-ai-hint {
  background: linear-gradient(135deg, var(--pit-teal-light), var(--pit-blue-light));
  border: 1px solid rgba(26,158,133,0.25);
  border-radius: var(--pit-radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--pit-teal-dark);
}

.pit-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.pit-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--pit-text-muted);
}

.pit-checkbox-item input[type="checkbox"] {
  accent-color: var(--pit-teal);
  width: 16px; height: 16px;
}

/* ============================================================
   JOB LISTINGS
   ============================================================ */

.pit-job-listing {
  background: white;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.pit-job-header {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  cursor: pointer;
  transition: background 0.2s;
}

.pit-job-header:hover {
  background: var(--pit-bg-light);
}

.pit-job-title {
  font-family: var(--pit-font-display);
  font-size: 1.2rem;
  color: var(--pit-navy);
  margin-bottom: 0.5rem;
}

.pit-job-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pit-job-pill {
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-weight: 600;
}

.pit-pill--type { background: var(--pit-teal-light); color: var(--pit-teal-dark); }
.pit-pill--loc  { background: var(--pit-blue-light); color: var(--pit-blue); }
.pit-pill--exp  { background: #fef3c7; color: #92400e; }

.pit-job-body {
  padding: 0 2rem 2rem;
  display: none;
  border-top: 1px solid var(--pit-border);
}

.pit-job-body.is-open {
  display: block;
}

.pit-job-body ul {
  padding-left: 1.25rem;
  color: var(--pit-text-muted);
  font-size: 0.9rem;
}

.pit-job-body ul li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.pit-job-body h4 {
  color: var(--pit-navy);
  font-size: 0.95rem;
  margin: 1.25rem 0 0.5rem;
}

/* ============================================================
   FILE UPLOAD DROP ZONES
   ============================================================ */

.pit-file-drop {
  border: 2px dashed var(--pit-border);
  border-radius: var(--pit-radius);
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--pit-bg-light);
}

.pit-file-drop:hover {
  border-color: var(--pit-teal);
  background: var(--pit-teal-light);
}

.pit-file-drop__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.pit-file-drop p {
  font-size: 0.9rem;
}

.pit-file-drop strong {
  color: var(--pit-teal);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.pit-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.pit-about-visual {
  background: linear-gradient(135deg, var(--pit-teal-light), var(--pit-blue-light));
  border-radius: var(--pit-radius-lg);
  padding: 3rem;
  text-align: center;
}

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

.pit-expertise-pill {
  background: var(--pit-teal-light);
  border: 1px solid rgba(26,158,133,0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--pit-teal-dark);
  font-weight: 500;
  text-align: center;
}

.pit-timeline-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--pit-border);
}

.pit-timeline-item:last-child {
  border-bottom: none;
}

.pit-timeline-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-blue));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
}

.pit-quote-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--pit-bg-light);
  border-left: 4px solid var(--pit-teal);
  border-radius: 0 var(--pit-radius) var(--pit-radius) 0;
}

.pit-quote-block p {
  font-family: var(--pit-font-display);
  font-style: italic;
  color: var(--pit-navy);
  line-height: 1.65;
  font-size: 1.05rem;
}

.pit-quote-block cite {
  font-size: 0.825rem;
  color: var(--pit-text-muted);
  font-weight: 600;
  margin-top: 0.75rem;
  display: block;
  font-style: normal;
}

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

.pit-value-card {
  background: white;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  padding: 2rem;
  text-align: center;
}

.pit-value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pit-value-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.pit-value-card p {
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ============================================================
   SERVICES DETAIL
   ============================================================ */

.pit-service-detail {
  background: white;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  transition: box-shadow 0.3s;
}

.pit-service-detail:hover {
  box-shadow: var(--pit-shadow);
}

.pit-service-detail__sidebar {
  background: linear-gradient(135deg, var(--pit-navy), var(--pit-teal-dark));
  border-radius: var(--pit-radius-lg);
  padding: 2rem;
  text-align: center;
  color: white;
}

.pit-service-detail__sidebar .icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.pit-service-detail__sidebar h3 {
  color: white;
  font-family: var(--pit-font-display);
  font-size: 1.1rem;
}

.pit-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pit-tag {
  background: var(--pit-teal-light);
  color: var(--pit-teal-dark);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */

.pit-page-hero {
  background: linear-gradient(135deg, var(--pit-navy), var(--pit-teal-dark));
  padding: 5rem 2rem;
  text-align: center;
  color: white;
}

.pit-page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.pit-page-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,0.97);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================================
   AI CHAT WIDGET
   ============================================================ */

.pit-chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
}

.pit-chat-btn {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-blue));
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--pit-shadow-lg);
  transition: all 0.3s;
}

.pit-chat-btn:hover { transform: scale(1.1); }

.pit-chat-panel {
  position: absolute;
  bottom: 70px; right: 0;
  width: 340px;
  background: white;
  border: 1px solid var(--pit-border);
  border-radius: var(--pit-radius-lg);
  box-shadow: var(--pit-shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.pit-chat-panel.is-open {
  display: flex;
}

.pit-chat-header {
  background: linear-gradient(135deg, var(--pit-navy), var(--pit-teal-dark));
  padding: 1rem 1.25rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pit-chat-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pit-chat-messages {
  height: 260px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pit-chat-msg {
  max-width: 85%;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.55;
}

.pit-chat-msg--bot {
  background: var(--pit-bg-light);
  color: var(--pit-text);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.pit-chat-msg--user {
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-blue));
  color: white;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.pit-chat-quick {
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  border-top: 1px solid var(--pit-border);
}

.pit-quick-btn {
  background: var(--pit-teal-light);
  color: var(--pit-teal-dark);
  border: none;
  border-radius: 100px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--pit-font-body);
}

.pit-quick-btn:hover {
  background: var(--pit-teal);
  color: white;
}

.pit-chat-input-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem;
  border-top: 1px solid var(--pit-border);
}

.pit-chat-input {
  flex: 1;
  border: 1.5px solid var(--pit-border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-family: var(--pit-font-body);
  outline: none;
}

.pit-chat-input:focus {
  border-color: var(--pit-teal);
}

.pit-chat-send {
  background: var(--pit-teal);
  color: white;
  border: none;
  border-radius: 8px;
  width: 34px; height: 34px;
  cursor: pointer;
  font-size: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.pit-footer {
  background: var(--pit-navy);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}

.pit-footer__grid {
  max-width: var(--pit-max-width);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.pit-footer__brand p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 1rem 0 1.5rem;
  color: rgba(255,255,255,0.92);
}

.pit-footer__col h4 {
  color: white;
  font-family: var(--pit-font-body);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.pit-footer__col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.pit-footer__col a:hover {
  color: var(--pit-accent);
}

.pit-footer__bottom {
  max-width: var(--pit-max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes pit-fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pit-fade-in {
  animation: pit-fadeIn 0.45s ease both;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .pit-service-detail {
    grid-template-columns: 1fr;
  }
  .pit-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .pit-hero__inner {
    grid-template-columns: 1fr;
  }
  .pit-stats-panel {
    display: none;
  }
  .pit-about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pit-contact-grid {
    grid-template-columns: 1fr;
  }
  .pit-contact-info {
    position: static;
  }
  .pit-values-grid {
    grid-template-columns: 1fr;
  }
  .pit-form-row {
    grid-template-columns: 1fr;
  }
  .pit-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .pit-footer__bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .pit-section {
    padding: 3rem 1.25rem;
  }
}


/* ============================================================
   STANDALONE NAV (classic header.php) + footer year
   Added in v2.0.0 when theme became parent-independent.
   ============================================================ */
body { padding-top: 90px; }

.pit-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 90px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pit-border);
}
.pit-nav__inner {
  max-width: var(--pit-max-width); margin: 0 auto; height: 100%;
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between;
}
.pit-nav__logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--pit-font-display); font-size: 1.25rem; font-weight: 700; color: var(--pit-navy);
}
.pit-nav__mark { height: 40px; width: auto; display: block; }
.pit-nav__menu { display: flex; }
.pit-nav__links {
  display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0;
}
.pit-nav__links a {
  font-family: var(--pit-font-body); font-size: .875rem; font-weight: 500;
  color: var(--pit-text-muted); padding: .5rem .85rem; border-radius: 8px;
  text-decoration: none; transition: all .2s;
}
.pit-nav__links a:hover,
.pit-nav__links .current-menu-item > a {
  color: var(--pit-teal-dark); background: var(--pit-teal-light);
}
.pit-nav__links .nav-cta a,
.pit-nav__links .menu-item.nav-cta a {
  background: linear-gradient(135deg, var(--pit-teal), var(--pit-blue));
  color: #fff;
}
.pit-nav__toggle {
  display: none; background: none; border: none; font-size: 1.5rem;
  color: var(--pit-navy); cursor: pointer; line-height: 1;
}
@media (max-width: 860px) {
  .pit-nav__toggle { display: block; }
  .pit-nav__menu {
    position: absolute; top: 90px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid var(--pit-border);
    display: none;
  }
  .pit-nav__menu.open { display: block; }
  .pit-nav__links { flex-direction: column; align-items: stretch; padding: 1rem; }
  .pit-nav__links a { padding: .75rem 1rem; }
}
.pit-single { max-width: 760px; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; }
.pit-single h2, .pit-single h3 { margin-top: 1.75rem; }
