/*
Theme Name: Acapello Enterprise Group
Theme URI: https://acapelloenterprise.com
Author: Acapello Enterprise Group
Description: IT & Technology Services — St. Louis, MO. Enterprise technology solutions, managed IT, cloud services, and digital transformation.
Version: 1.0.0
Tags: technology, it-services, enterprise, consulting
Text Domain: acapello
*/

:root {
  --ink:         #0D0D0D;
  --dark:        #111827;
  --purple:      #7C3AED;
  --purple-lt:   #9D5FF0;
  --purple-dim:  rgba(124,58,237,0.12);
  --teal:        #0EA5E9;
  --teal-lt:     #38BDF8;
  --orange:      #F97316;
  --orange-lt:   #FB923C;
  --white:       #FFFFFF;
  --off-white:   #F8F8FF;
  --muted:       #6B7280;
  --light-gray:  #F1F0FF;
  --border:      #E5E0FF;
  --border-dark: #C4B8FF;
  --card-bg:     #FFFFFF;
  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'Inter', sans-serif;
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow-sm:   0 2px 12px rgba(124,58,237,0.08);
  --shadow-md:   0 8px 32px rgba(124,58,237,0.14);
  --shadow-lg:   0 20px 60px rgba(124,58,237,0.18);
  --glow:        0 0 28px rgba(124,58,237,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-lt); }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { color: var(--muted); margin-bottom: 1rem; font-size: 1rem; line-height: 1.75; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.12rem; color: #374151; line-height: 1.75; }

/* UTILITIES */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section-pad { padding: 6rem 0; }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--purple);
  background: var(--purple-dim); border: 1px solid var(--border-dark);
  padding: 0.3rem 0.85rem; border-radius: 20px;
  margin-bottom: 1.25rem;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem; font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 700; letter-spacing: -0.01em;
  border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition); border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  color: var(--white); box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-outline {
  background: var(--white); color: var(--purple);
  border: 1.5px solid var(--border-dark); box-shadow: var(--shadow-sm);
}
.btn-outline:hover { border-color: var(--purple); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--purple); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }

/* NAVIGATION */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,248,255,0.88); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); transition: all var(--transition);
}
.site-nav.scrolled { background: rgba(248,248,255,0.97); box-shadow: var(--shadow-sm); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1180px; margin: 0 auto; padding: 0 2rem; height: 72px;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 800; color: var(--white);
  box-shadow: var(--shadow-md);
}
.logo-name { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--ink); }
.logo-name span { color: var(--purple); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--muted); transition: color var(--transition); }
.nav-links a:hover { color: var(--purple); }
.nav-cta {
  font-family: var(--font-head); font-size: 0.85rem; font-weight: 700;
  padding: 0.55rem 1.35rem;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--white); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--transition); }
.mobile-menu { display: none; flex-direction: column; background: var(--off-white); border-top: 1px solid var(--border); padding: 1.5rem 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 0.9rem; color: var(--muted); padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { color: var(--purple); }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 72px; position: relative; overflow: hidden;
  background: var(--off-white);
}
.hero-blob-1 {
  position: absolute; top: -20%; right: -10%; width: 600px; height: 600px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, transparent 70%);
}
.hero-blob-2 {
  position: absolute; bottom: -10%; left: -5%; width: 400px; height: 400px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
}
.hero-blob-3 {
  position: absolute; top: 40%; right: 30%; width: 300px; height: 300px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--purple-dim), rgba(14,165,233,0.1));
  border: 1px solid var(--border-dark); border-radius: 20px;
  padding: 0.35rem 1rem; margin-bottom: 1.75rem; color: var(--purple);
}
.hero-badge .dot { width: 7px; height: 7px; background: var(--purple); border-radius: 50%; animation: pulse 1.8s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--purple), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { max-width: 540px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats { display: flex; gap: 3rem; flex-wrap: wrap; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.hero-stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--ink); }
.hero-stat-label { font-size: 0.82rem; color: var(--muted); margin-top: 0.15rem; }

/* TICKER */
.ticker-bar { background: var(--ink); overflow: hidden; padding: 0.85rem 0; }
.ticker-track { display: flex; gap: 3rem; animation: ticker 30s linear infinite; white-space: nowrap; }
.ticker-item { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 0.75rem; }
.ticker-item::before { content: '◆'; color: var(--purple); font-size: 0.5rem; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* CARDS */
.card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all var(--transition); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--teal));
  transform: scaleX(0); transition: transform var(--transition);
  transform-origin: left;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: var(--border-dark); }
.card:hover::after { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--purple-dim), rgba(14,165,233,0.1));
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.92rem; }

/* SECTION HEADERS */
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { max-width: 540px; margin: 0 auto; }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 8rem 0 5rem; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #F0EDFF 0%, #EAF6FF 50%, #FFF4EE 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.12), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumb { font-size: 0.78rem; font-weight: 500; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--purple); }
.breadcrumb span { margin: 0 0.4rem; }

/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process-step {
  text-align: center; padding: 2rem 1.5rem;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); position: relative;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.process-step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 0.5rem;
}
.process-step h3 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.process-step p { font-size: 0.85rem; }

/* TESTIMONIALS */
.testimonial {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm);
}
.testimonial-quote { font-size: 1rem; color: var(--dark); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-quote::before { content: '"'; font-family: var(--font-head); font-size: 2rem; color: var(--purple); line-height: 0; vertical-align: -0.5rem; margin-right: 0.25rem; }
.testimonial-author { font-size: 0.82rem; color: var(--muted); }
.testimonial-author strong { color: var(--purple); display: block; font-size: 0.88rem; }

/* TEAM */
.team-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.team-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  color: var(--white); margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}
.team-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-role { font-size: 0.78rem; color: var(--purple); font-weight: 700; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.84rem; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--purple-dim); border: 1px solid var(--border-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.contact-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.contact-value { font-size: 0.95rem; color: var(--ink); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.form-control { width: 100%; padding: 0.9rem 1rem; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--ink); font-family: var(--font-body); font-size: 0.92rem; transition: border-color var(--transition); outline: none; }
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px var(--purple-dim); }
.form-control::placeholder { color: var(--muted); }
textarea.form-control { resize: vertical; min-height: 140px; }

/* CAREERS */
.job-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem 2rem; display: flex; align-items: flex-start; justify-content: space-between;
  gap: 2rem; transition: all var(--transition); box-shadow: var(--shadow-sm);
}
.job-card:hover { box-shadow: var(--shadow-md); border-color: var(--purple); }
.job-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.job-meta { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.job-tag { font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.75rem; background: var(--purple-dim); border: 1px solid var(--border-dark); border-radius: 20px; color: var(--purple); }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--purple) 0%, #4F46E5 50%, var(--teal) 100%);
  padding: 6rem 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.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--purple); font-family: var(--font-head); font-weight: 700; }
.btn-white:hover { background: var(--off-white); color: var(--purple); transform: translateY(-2px); }

/* FOOTER */
.site-footer { background: var(--ink); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; max-width: 260px; color: rgba(255,255,255,0.45); }
.footer-col h4 { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; }
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a { font-size: 0.87rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--purple-lt); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.78rem; color: rgba(255,255,255,0.3); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-4, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .job-card { flex-direction: column; }
}
