/*
Theme Name: Baiden Group
Theme URI: https://baidengroup.ca
Author: Baiden Group Inc
Author URI: https://baidengroup.ca
Description: Custom enterprise Wi-Fi consulting theme for Baiden Group Inc
Version: 1.2.1
Text Domain: baiden-group
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:   #0e2044;
  --blue:   #1a6cdb;
  --orange: #f05a20;
  --bg:     #f4f7fb;
  --white:  #ffffff;
  --gray:   #6b7280;
  --dark:   #1f2937;
  --border: #e5e7eb;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(14,32,68,0.10);
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: #d94e18;
  border-color: #d94e18;
  text-decoration: none;
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  text-decoration: none;
  color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo a { display: flex; align-items: center; text-decoration: none; }
.nav-logo .site-logo-svg { height: 44px; width: auto; }
.nav-logo .custom-logo { height: 44px; width: auto; }

.primary-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.primary-menu li { position: relative; }
.primary-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  border-radius: 6px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
  color: var(--blue);
  background: rgba(26,108,219,0.07);
}

/* Dropdown */
.primary-menu .menu-item-has-children > a::after {
  content: ' \25BE';
  font-size: 10px;
  opacity: 0.6;
}
.primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 230px;
  padding: 6px 0;
  z-index: 100;
}
.primary-menu li:hover > .sub-menu { display: block; }
.primary-menu .sub-menu li a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--dark);
  white-space: nowrap;
  transition: all var(--transition);
  text-decoration: none;
}
.primary-menu .sub-menu li a:hover {
  color: var(--blue);
  background: var(--bg);
}

.nav-cta { flex-shrink: 0; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(26,108,219,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--blue); }
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.88;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
}

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 18px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
.stat-box {
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 16px;
}
.stat-box .num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-box .label { font-size: 12px; opacity: 0.7; }
.platforms-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 10px;
}
.platform-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}
.platform-logo {
  height: 26px;
  width: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  transition: opacity 0.2s;
  display: block;
}
.platform-logo:hover { opacity: 1; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-item .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .desc { font-size: 13px; color: var(--gray); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  background: rgba(26,108,219,0.1);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { padding: 88px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(26,108,219,0.12);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(26,108,219,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}
.service-card ul {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card ul li {
  font-size: 14px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card ul li::before {
  content: '\2713';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.service-link::after { content: ' \2192'; }

/* ============================================================
   INDUSTRIES SECTION
   ============================================================ */
.industries-section { padding: 88px 0; background: var(--bg); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.industry-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all var(--transition);
}
.industry-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.industry-icon { font-size: 32px; margin-bottom: 12px; }
.industry-card h3 { font-size: 15px; font-weight: 600; color: var(--navy); }

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.process-section { padding: 88px 0; background: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px; height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin: 0 auto 16px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--navy);
}
.process-step h3 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section { padding: 88px 0; background: var(--navy); color: var(--white); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-content h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.why-content p { opacity: 0.85; font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.why-points { display: flex; flex-direction: column; gap: 20px; }
.why-point { display: flex; gap: 14px; align-items: flex-start; }
.why-point-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.why-point-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.why-point-text p { font-size: 14px; opacity: 0.75; line-height: 1.5; }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { padding: 88px 0; background: var(--bg); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 44px;
  align-items: stretch;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; color: inherit; }
.blog-card-img {
  height: 175px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-icon-wrap { width: 76px; height: 76px; border-radius: 50%; background: rgba(26,108,219,0.3); display: flex; align-items: center; justify-content: center; }
.blog-icon-wrap i { font-size: 36px; color: rgba(255,255,255,0.92); }
.blog-card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat { font-size: 11px; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.blog-meta { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.45; flex: 1; }
.blog-card-body > p { font-size: 13.5px; color: var(--gray); line-height: 1.65; margin-bottom: 16px; }
.blog-card-link { font-size: 13px; font-weight: 600; color: var(--blue); margin-top: auto; display: inline-block; }
.site-footer .ti { color: inherit; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
}
.cta-section p { font-size: 18px; opacity: 0.88; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: var(--white); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .footer-logo-svg { height: 40px; width: auto; margin-bottom: 14px; display: block; }
.footer-brand .footer-logo-img { height: 40px; width: auto; margin-bottom: 14px; display: block; }
.footer-brand .custom-logo { height: 40px; width: auto; margin-bottom: 14px; display: block; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14px; opacity: 0.75; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { font-size: 14px; opacity: 0.8; color: var(--white); text-decoration: none; }
.footer-contact a:hover { opacity: 1; text-decoration: underline; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  opacity: 0.8;
  color: var(--white);
  text-decoration: none;
  transition: opacity var(--transition);
}
.footer-col ul li a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
}

/* ============================================================
   INNER PAGES — PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--navy);
  color: var(--white);
  min-height: 240px;
  display: flex;
  align-items: center;
  text-align: center;
}
.page-hero > .container {
  width: 100%;
  padding-top: 48px;
  padding-bottom: 48px;
}
.page-hero .breadcrumb {
  font-size: 13px;
  opacity: 0.65;
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: var(--white); opacity: 0.8; }
.page-hero .breadcrumb span { margin: 0 6px; }
.page-hero h1 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}
.page-hero .page-hero-sub { font-size: 18px; opacity: 0.85; max-width: 620px; margin: 0 auto; line-height: 1.65; }

/* ============================================================
   SERVICE DETAIL PAGES
   ============================================================ */
.service-detail { padding: 80px 0; }
.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
}
.service-detail-content h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  margin: 36px 0 14px;
}
.service-detail-content h2:first-child { margin-top: 0; }
.service-detail-content p {
  font-size: 16px;
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-detail-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.service-detail-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.55;
}
.service-detail-content ul li::before {
  content: '\2713';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Sidebar */
.service-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
}
.sidebar-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.sidebar-card p { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.sidebar-card .btn { width: 100%; justify-content: center; }
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--dark);
  text-decoration: none;
  transition: all var(--transition);
}
.sidebar-links a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.sidebar-links a::after { content: '\2192'; font-size: 13px; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-section { padding: 80px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-content h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 28px 0 12px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { font-size: 16px; color: var(--dark); line-height: 1.75; margin-bottom: 16px; }
.about-values {
  background: var(--bg);
  border-radius: 16px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-icon {
  width: 44px; height: 44px;
  background: rgba(26,108,219,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.value-text h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.value-text p { font-size: 14px; color: var(--gray); line-height: 1.55; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section { padding: 80px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.contact-info p { font-size: 16px; color: var(--gray); line-height: 1.7; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item-icon {
  width: 42px; height: 42px;
  background: rgba(26,108,219,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text { display: flex; flex-direction: column; gap: 3px; }
.contact-item-text strong { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gray); }
.contact-item-text a, .contact-item-text span { font-size: 15px; color: var(--dark); text-decoration: none; }
.contact-item-text a:hover { color: var(--blue); }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg);
  border-radius: 16px;
  padding: 36px;
}
.contact-form-wrap h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 24px; }

/* CF7 styling */
.wpcf7 .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.wpcf7 .form-group { margin-bottom: 16px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--dark);
  transition: border-color var(--transition);
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,108,219,0.1);
}
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input[type="submit"] {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition);
}
.wpcf7 input[type="submit"]:hover { background: #d94e18; }

/* ============================================================
   BLOG ARCHIVE
   ============================================================ */
.blog-archive { padding: 72px 0; }
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.pagination { display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: all var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-wrap { padding: 72px 0; }
.single-post-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}
.post-content h2, .post-content h3 { color: var(--navy); font-weight: 700; margin: 28px 0 12px; }
.post-content h2 { font-size: 24px; }
.post-content h3 { font-size: 20px; }
.post-content p { font-size: 16px; line-height: 1.8; margin-bottom: 18px; color: var(--dark); }
.post-content ul, .post-content ol { margin: 0 0 18px 20px; }
.post-content ul { list-style: disc; }
.post-content ol { list-style: decimal; }
.post-content li { font-size: 16px; line-height: 1.7; margin-bottom: 6px; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 { padding: 100px 0; text-align: center; }
.error-404 h1 { font-size: 80px; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 8px; }
.error-404 h2 { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.error-404 p { font-size: 16px; color: var(--gray); margin-bottom: 32px; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .process-steps::before { display: none; }
  .why-inner { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail-inner { grid-template-columns: 1fr; }
  .service-sidebar { order: -1; }
  .about-inner { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .primary-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    align-items: stretch;
  }
  .primary-menu.open { display: flex; }
  .primary-menu > li > a { padding: 10px 12px; }
  .primary-menu .sub-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 16px;
    background: var(--bg);
    border-radius: 0;
  }
  .primary-menu .menu-item-has-children.open > .sub-menu { display: block; }
  .primary-menu .menu-item-has-children > a { cursor: pointer; }
  .nav-cta { display: none; }
  .site-header { position: relative; }

  .hero { padding: 56px 0 64px; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .wpcf7 .form-row { grid-template-columns: 1fr; }
  .single-post-inner { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
