@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --indigo: #4F46E5;
  --indigo-dark: #4338CA;
  --indigo-light: #EEF2FF;
  --cyan: #0891B2;
  --cyan-light: #E0F7FA;
  --dark: #0F172A;
  --dark-mid: #1E293B;
  --slate: #334155;
  --text: #1E293B;
  --text-light: #64748B;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---- TOP BAR ---- */
.topbar {
  background: var(--indigo);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  text-align: center;
  padding: 0.4rem 1.5rem;
  letter-spacing: 0.3px;
}
.topbar a { color: white; text-decoration: none; font-weight: 600; }

/* ---- NAV ---- */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--dark);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--indigo);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo-text { font-size: 1.1rem; font-weight: 700; color: var(--dark); letter-spacing: -0.3px; }
.logo-text span { color: var(--indigo); }
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--indigo); }
.nav-right { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-phone svg { color: var(--indigo); }
.btn-nav {
  background: var(--indigo);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--indigo-dark); color: white; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; }
.nav-mobile { display: none; background: var(--white); border-top: 1px solid var(--border); padding: 1rem 1.5rem 1.5rem; }
.nav-mobile.open { display: block; }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 0; }
.nav-mobile a { text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.95rem; padding: 0.65rem 0; display: block; border-bottom: 1px solid var(--border); }
.nav-mobile .btn-nav { margin-top: 1rem; display: inline-block; }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--indigo);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--indigo-dark); color: white; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.3);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); color: white; }
.btn-outline {
  background: transparent;
  color: var(--indigo);
  padding: 0.85rem 2rem;
  border-radius: 6px;
  border: 1.5px solid var(--indigo);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--indigo); color: white; }

/* ---- HERO ---- */
.hero {
  background: var(--dark);
  color: white;
  padding: 100px 1.5rem 90px;
  position: relative;
  overflow: hidden;
}
/* Subtle grid dot pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79,70,229,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(79,70,229,0.2);
  border: 1px solid rgba(79,70,229,0.4);
  color: #A5B4FC;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}
.hero h1 em { color: #818CF8; font-style: normal; }
.hero p {
  font-size: 1.05rem;
  color: #94A3B8;
  margin-bottom: 2rem;
  line-height: 1.75;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero panel */
.hero-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.75rem;
}
.hero-panel h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #A5B4FC;
  margin-bottom: 1.25rem;
}
.panel-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.panel-stat:last-child { border-bottom: none; }
.panel-stat .label { font-size: 0.85rem; color: #94A3B8; }
.panel-stat .val { font-size: 0.9rem; font-weight: 700; color: white; }
.panel-stat .badge {
  background: rgba(79,70,229,0.25);
  color: #A5B4FC;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--dark-mid);
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-val { font-size: 2rem; font-weight: 800; color: white; line-height: 1; }
.stat-lbl { font-size: 0.8rem; color: #64748B; margin-top: 0.3rem; }

/* ---- SECTIONS ---- */
.section { padding: 80px 1.5rem; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--dark); color: white; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}
.section-dark .eyebrow { color: #A5B4FC; }
.section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 0.75rem;
}
.section-dark h2 { color: white; }
.section p.lead {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-dark p.lead { color: #94A3B8; }

/* ---- SPECIALISM GRID ---- */
.specialism-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.spec-card {
  background: white;
  padding: 1.5rem;
  transition: background 0.2s;
}
.spec-card:hover { background: var(--indigo-light); }
.spec-icon {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.spec-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.spec-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---- WHY AZTEC ---- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-content h2 { font-size: 2rem; color: var(--dark); margin-bottom: 1rem; letter-spacing: -0.3px; font-weight: 800; }
.why-content p { color: var(--text-light); font-size: 0.95rem; line-height: 1.75; margin-bottom: 1rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}
.why-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--indigo-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234F46E5'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px;
  background-position: center;
}
.why-panel {
  background: var(--dark);
  border-radius: 12px;
  padding: 2.5rem;
  color: white;
}
.why-panel h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: #64748B; margin-bottom: 1.5rem; font-weight: 600; }
.metric { margin-bottom: 1.75rem; }
.metric:last-child { margin-bottom: 0; }
.metric-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; }
.metric-name { font-size: 0.875rem; color: #94A3B8; }
.metric-val { font-size: 1rem; font-weight: 700; color: white; }
.metric-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.metric-fill { height: 100%; background: var(--indigo); border-radius: 2px; }

/* ---- PROCESS ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(10% + 22px);
  right: calc(10% + 22px);
  height: 1px;
  background: var(--border);
}
.p-step { text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.p-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  margin: 0 auto 1rem;
}
.p-step h4 { font-size: 0.875rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.p-step p { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }

/* ---- SERVICES PAGE ---- */
.services-grid-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-block {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-block:hover { border-color: var(--indigo); box-shadow: 0 4px 16px rgba(79,70,229,0.1); }
.service-block .sb-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.service-block h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.service-block p { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; margin-bottom: 0.75rem; }
.service-block .roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.role-tag {
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

/* ---- TESTIMONIALS ---- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem;
}
.testi-stars { color: #FBBF24; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
.testi p { font-size: 0.875rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testi-name { font-size: 0.875rem; font-weight: 700; color: var(--dark); }
.testi-role { font-size: 0.78rem; color: var(--text-light); }

/* ---- CTA ---- */
.cta-section {
  background: var(--indigo);
  color: white;
  text-align: center;
  padding: 80px 1.5rem;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.cta-section h2 { color: white; font-size: 2.25rem; font-weight: 800; margin-bottom: 0.75rem; position: relative; z-index: 1; letter-spacing: -0.3px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1rem; max-width: 520px; margin: 0 auto 2rem; position: relative; z-index: 1; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-white { background: white; color: var(--indigo); padding: 0.85rem 2rem; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: opacity 0.2s; display: inline-block; }
.btn-white:hover { opacity: 0.92; color: var(--indigo); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--dark);
  color: white;
  padding: 56px 1.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(79,70,229,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #64748B;
  margin-bottom: 1rem;
}
.breadcrumb a { color: #818CF8; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 0.75rem; }
.page-hero p { color: #94A3B8; font-size: 1rem; max-width: 540px; }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text h2 { font-size: 2rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; letter-spacing: -0.3px; }
.about-text p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; margin-bottom: 1rem; }
.about-panel { background: var(--bg); border-radius: 10px; padding: 2rem; border: 1px solid var(--border); }
.about-panel h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--indigo); font-weight: 700; margin-bottom: 1.25rem; }
.kv { display: flex; justify-content: space-between; padding: 0.65rem 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-light); }
.kv .v { font-weight: 700; color: var(--dark); }

.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.val-card { text-align: center; padding: 1.75rem 1rem; }
.val-num { font-size: 2.5rem; font-weight: 800; color: var(--indigo); line-height: 1; margin-bottom: 0.25rem; }
.val-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 0.4rem; }
.val-card p { font-size: 0.8rem; color: var(--text-light); line-height: 1.55; }

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: 3rem; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; }
.contact-card h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--indigo); font-weight: 700; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.875rem; color: var(--text); line-height: 1.6; }
.contact-card a { color: var(--indigo); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-form-box { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; min-height: 650px; }
.ghl-wrap { width: 100%; min-height: 650px; }

/* ---- FOOTER ---- */
.footer { background: var(--dark); color: #64748B; padding: 3.5rem 1.5rem 1.5rem; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.65fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col ul li a { font-size: 0.8rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 260px; margin-top: 1rem; }
.footer-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.footer-logo .logo-mark { background: var(--dark-mid); }
.footer-logo .logo-text { color: white; }
.footer-col h5 { color: white; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { font-size: 0.85rem; color: #64748B; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: #A5B4FC; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: #475569; }
.footer-bottom a { color: #64748B; text-decoration: none; }
.footer-bottom a:hover { color: #A5B4FC; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-panel { max-width: 460px; }
  .hero h1 { font-size: 2.4rem; }
  .specialism-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .process-grid::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-bar-inner { grid-template-columns: repeat(3, 1fr); }
  .services-grid-main { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 60px 1.5rem; }
  .hero h1 { font-size: 2rem; }
  .specialism-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero h1 { font-size: 1.9rem; }
  .services-grid-main { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .specialism-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns, .cta-btns { flex-direction: column; align-items: flex-start; }
  .cta-btns { align-items: center; }
}
