/* ================================================================
   COMPUTER SYSTEMS PLUS, INC. — Shared Stylesheet
   cspnet.net
   ================================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }

:root {
  --blue:       #1A4DA0;
  --blue-dark:  #0F2F6A;
  --blue-mid:   #1D56B4;
  --blue-light: #3B7DD8;
  --blue-pale:  #EEF4FF;
  --blue-ultra: #F4F7FD;
  --white:      #FFFFFF;
  --gray-bg:    #F6F8FC;
  --text:       #1A2338;
  --text-muted: #55607A;
  --text-light: #7B879E;
  --border:     #CBD7EC;
  --shadow-sm:  0 2px 12px rgba(26, 50, 120, 0.08);
  --shadow-md:  0 6px 32px rgba(26, 50, 120, 0.13);
  --radius:     8px;
  --radius-lg:  14px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

a { color: var(--blue-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue); }

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* ================================================================
   UTILITIES
   ================================================================ */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-header { margin-bottom: 48px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

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

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

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 15px 34px; font-size: 16px; }

/* ================================================================
   ACCENT BAR
   ================================================================ */
.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-light) 50%, var(--blue-dark) 100%);
}

/* ================================================================
   TOP BAR
   ================================================================ */
.topbar {
  background: var(--blue-dark);
  padding: 8px 0;
  font-size: 13px;
  color: #90a5c8;
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.topbar a { color: #90a5c8; transition: color 0.2s; }
.topbar a:hover { color: var(--white); }
.topbar-divider { color: #4a5e80; }
.topbar-badge {
  background: var(--blue-mid);
  color: var(--white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text .logo-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.logo-text .logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-link:hover { background: var(--blue-pale); color: var(--blue); }
.nav-link.active { color: var(--blue); font-weight: 600; }

/* Nav dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-dropdown-trigger:hover { background: var(--blue-pale); color: var(--blue); }
.nav-dropdown-trigger .arrow {
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.nav-dropdown.open .arrow { transform: rotate(225deg) translateY(-2px); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 8px;
  min-width: 240px;
  display: none;
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--blue-pale); color: var(--blue); }
.menu-divider { height: 1px; background: var(--border); margin: 6px 8px; }

.nav-cta {
  margin-left: 12px;
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); color: var(--white) !important; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  color: var(--white);
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
}

/* Slider background layers */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide-bg.active { opacity: 1; }

/* Dark gradient overlay so text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 28, 65, 0.88) 0%,
    rgba(15, 47, 106, 0.72) 50%,
    rgba(26, 77, 160, 0.55) 100%
  );
  z-index: 1;
}

/* Slide navigation dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.hero-dot.active {
  background: var(--white);
  transform: scale(1.25);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.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: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 22px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #5BC8FF;
  border-radius: 50%;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: #7DC8FF; }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-card-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  backdrop-filter: blur(4px);
}
.hero-card-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  color: #7DC8FF;
}
.hero-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.hero-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

/* ================================================================
   STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--blue);
  padding: 28px 0;
}
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services-section { background: var(--gray-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Wide product cards — span 2 columns, horizontal layout */
.service-card-wide {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--blue-pale);
  border-color: var(--blue-light);
}
.service-card-wide .service-icon {
  width: 56px; height: 56px;
  background: var(--blue);
  color: var(--white);
  flex-shrink: 0;
  margin-bottom: 0;
}
.service-card-wide .service-icon svg { width: 26px; height: 26px; }
.service-card-wide .service-card-body { flex: 1; }
.service-card-wide h3 { font-size: 16px; }
.service-card-wide:hover { background: var(--blue-pale); }
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--blue-light);
  color: inherit;
}
.service-icon {
  width: 46px; height: 46px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.service-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  margin-top: 12px;
}
.service-link svg { width: 14px; height: 14px; }

/* ================================================================
   ABOUT PREVIEW
   ================================================================ */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: 2rem; margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.75; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.about-list li::before {
  content: '';
  width: 20px; height: 20px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1' stroke='%231A4DA0' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

.about-info-box {
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-icon {
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.info-icon svg { width: 20px; height: 20px; }
.info-label { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px; }
.info-value { font-size: 15px; font-weight: 600; color: var(--text); }
.info-value a { color: var(--blue); }
.info-divider { height: 1px; background: var(--border); }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials-section { background: var(--blue-ultra); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; }
.testimonial-quote {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.author-avatar {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.author-company { font-size: 12px; color: var(--text-muted); }

/* ================================================================
   BLOG PREVIEW
   ================================================================ */
.blog-section { background: var(--white); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit; }
.blog-card-img {
  height: 180px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  overflow: hidden;
}
.blog-card-img svg { width: 48px; height: 48px; opacity: 0.5; }
.blog-card-body { padding: 22px 20px; }
.blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.blog-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.blog-meta { font-size: 12px; color: var(--text-light); }

/* ================================================================
   CTA BAND
   ================================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { font-size: 2.2rem; color: var(--white); margin-bottom: 14px; }
.cta-band p { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-img { filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
}
.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}
.footer-contact-line svg { width: 14px; height: 14px; flex-shrink: 0; color: #7DC8FF; }
.footer-contact-line a { color: rgba(255,255,255,0.75); }
.footer-contact-line a:hover { color: var(--white); }

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 32px;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: rgba(255,255,255,0.85); }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 56px 0;
  color: var(--white);
}
.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.page-hero h1 { font-size: 2.2rem; color: var(--white); margin-bottom: 10px; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 520px; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}
.value-icon {
  width: 56px; height: 56px;
  background: var(--blue-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--blue);
}
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ================================================================
   SERVICES PAGE
   ================================================================ */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-detail-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-light); }
.service-detail-card .service-icon { margin-bottom: 18px; }
.service-detail-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-detail-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* Wide SaaS product cards — top row, span 2 of 4 columns */
.service-detail-card-wide {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--blue-pale);
  border-color: var(--blue-light);
}
.service-detail-card-wide .service-icon {
  width: 56px; height: 56px;
  background: var(--blue);
  color: var(--white);
  flex-shrink: 0;
  margin-bottom: 0;
}
.service-detail-card-wide .service-icon svg { width: 26px; height: 26px; }
.service-detail-card-wide .sdc-body { flex: 1; }
.service-detail-card-wide h3 { font-size: 17px; }
.service-detail-card-wide:hover { background: var(--blue-pale); }

/* ================================================================
   BLOG PAGE
   ================================================================ */
.blog-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}
.blog-list { display: flex; flex-direction: column; gap: 28px; }
.blog-list-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.blog-list-card:hover { box-shadow: var(--shadow-md); color: inherit; }
.blog-list-img {
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-light);
}
.blog-list-img svg { width: 40px; height: 40px; opacity: 0.5; }
.blog-list-body { padding: 22px 24px; }
.blog-list-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.blog-list-body p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.blog-list-meta { font-size: 12px; color: var(--text-light); margin-top: 12px; }

.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-widget h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.sidebar-link-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-link-list a { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.sidebar-link-list a:hover { color: var(--blue); }
.sidebar-link-list a::before { content: '→'; color: var(--blue-light); font-size: 13px; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-form-card .form-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59, 125, 216, 0.1);
}
textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.contact-info-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--blue); margin-top: 1px; }
.contact-detail a { color: var(--blue); }
.hours-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hours-table tr + tr td { border-top: 1px solid var(--border); }
.hours-table td { padding: 7px 0; color: var(--text-muted); }
.hours-table td:first-child { color: var(--text); font-weight: 500; width: 140px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card-group { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }
  .section-title { font-size: 1.6rem; }

  .topbar-left span:first-child { display: none; }

  .nav-inner { padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-link, .nav-dropdown-trigger { padding: 12px 8px; border-radius: 0; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--blue-ultra);
    border-radius: var(--radius);
    margin: 4px 0;
    padding: 4px;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-cta { margin: 12px 0 4px; text-align: center; justify-content: center; }

  .hero { padding: 56px 0; }
  .hero-inner { padding: 0 20px; }
  .hero h1 { font-size: 2.2rem; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-page-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-card-wide { grid-column: span 2; }

  .about-grid { grid-template-columns: 1fr; gap: 36px; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .blog-list-card { grid-template-columns: 1fr; }
  .blog-list-img { height: 160px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 0 20px 36px; }
  .footer-bottom { padding: 20px; }

  .cta-band h2 { font-size: 1.7rem; }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .services-page-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
