/* ============================================================
   AP Infotech — Public Site Design System
   ============================================================ */

/* ---- Design tokens ---- */
:root {
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Brand palette */
  --navy-950: #020d1a;
  --navy-900: #0b1a2e;
  --navy-800: #102542;
  --navy-700: #163356;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --sky-500:  #0ea5e9;
  --sky-100:  #e0f2fe;

  /* Neutral */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Semantic */
  --text:           #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;
  --bg:             #f8fafc;
  --surface:        #ffffff;
  --border:         #e2e8f0;
  --border-2:       #cbd5e1;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -1px rgba(0,0,0,.05);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.07), 0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.06), 0 10px 10px -5px rgba(0,0,0,.03);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.1);
  --shadow-blue: 0 8px 24px -4px rgba(37,99,235,.3);

  /* Radii */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* Transitions */
  --t:      0.22s ease;
  --t-slow: 0.38s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Container ---- */
.sc {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sc-narrow { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Site Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), background var(--t);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.98);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--navy-900) 100%);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
  letter-spacing: -0.04em;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-weight: 400;
}

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--t), background var(--t);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover  { color: var(--blue-600); background: var(--blue-50); }
.nav-link.active { color: var(--blue-600); font-weight: 600; background: var(--blue-50); }

.nav-cta {
  padding: 0.55rem 1.2rem;
  background: var(--blue-600);
  color: white !important;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--blue-700);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

/* Mobile */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.5rem 1.25rem;
  background: var(--white);
}

.mobile-nav a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--r-sm);
  font-size: 0.95rem;
}

.mobile-nav a:hover { color: var(--blue-600); background: var(--blue-50); }
.mobile-nav .mn-cta {
  margin-top: 0.5rem;
  background: var(--blue-600);
  color: white;
  text-align: center;
  font-weight: 600;
  border-radius: var(--r-sm);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--t);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--blue-600);
  color: white;
  border-color: var(--blue-600);
  box-shadow: 0 4px 12px rgba(37,99,235,.22);
}
.btn-primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border-color: var(--blue-600);
}
.btn-outline:hover {
  background: var(--blue-600);
  color: white;
  transform: translateY(-1px);
}

.btn-white {
  background: white;
  color: var(--navy-900);
  border-color: white;
}
.btn-white:hover {
  background: var(--gray-100);
  border-color: var(--gray-100);
  transform: translateY(-1px);
  color: var(--navy-900);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: white;
  color: white;
}

.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; border-radius: var(--r); }
.btn-sm { padding: 0.4rem 0.95rem; font-size: 0.84rem; }

/* ---- Section helpers ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 44rem;
  line-height: 1.75;
}

.section-py { padding-top: 5rem; padding-bottom: 5rem; }
.section-py-sm { padding-top: 3.5rem; padding-bottom: 3.5rem; }

/* ---- Hero ---- */
.hero {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 55% at 60% -10%, rgba(37,99,235,.22) 0%, transparent 70%);
  pointer-events: none;
}

.hero-z { position: relative; z-index: 1; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 1rem;
  border-radius: var(--r-full);
  background: rgba(37,99,235,.16);
  border: 1px solid rgba(99,139,255,.3);
  color: #93c5fd;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 55%, #a5f3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.75;
  max-width: 30rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hero-stat-n { font-size: 1.9rem; font-weight: 900; color: white; line-height: 1; }
.hero-stat-l { font-size: 0.82rem; color: #64748b; margin-top: 0.2rem; }

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-shrink: 0;
}

.hero-info-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(8px);
  min-width: 220px;
}

.hero-info-card .ic-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: white;
  line-height: 1;
}

.hero-info-card .ic-label { font-size: 0.8rem; color: #64748b; margin-top: 0.2rem; }
.hero-info-card .ic-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* ---- Cards ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}

.card-hover:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-3px);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.6rem;
  transition: all var(--t);
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-500);
  transform: translateY(-3px);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.ib-blue   { background: var(--blue-50);  color: var(--blue-600); }
.ib-sky    { background: #e0f2fe;          color: #0284c7; }
.ib-green  { background: #dcfce7;          color: #16a34a; }
.ib-purple { background: #f3e8ff;          color: #9333ea; }
.ib-orange { background: #fff7ed;          color: #ea580c; }
.ib-rose   { background: #fff1f2;          color: #e11d48; }
.ib-navy   { background: rgba(11,26,46,.07); color: var(--navy-800); }

/* ---- Badge / pill ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.7rem;
  border-radius: var(--r-full);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-blue  { background: var(--blue-100); color: var(--blue-700); }
.badge-green { background: #dcfce7;          color: #15803d; }
.badge-sky   { background: #e0f2fe;          color: #0369a1; }
.badge-gray  { background: var(--gray-100);  color: var(--gray-700); }

/* ---- Stat band ---- */
.stat-band {
  background: var(--navy-900);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.stat-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-n { font-size: 2.6rem; font-weight: 900; color: white; line-height: 1; }
.stat-n span { color: var(--blue-400); }
.stat-l { font-size: 0.88rem; color: #64748b; margin-top: 0.4rem; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--t);
  height: 100%;
}

.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue-100); }

.tc-stars { color: #f59e0b; font-size: 0.88rem; margin-bottom: 0.25rem; }
.tc-quote { font-size: 0.97rem; color: var(--text-secondary); line-height: 1.72; flex: 1; }
.tc-author { font-weight: 700; color: var(--text); font-size: 0.93rem; }
.tc-company { font-size: 0.8rem; color: var(--text-muted); }

.tc-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: var(--blue-600);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- FAQ ---- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.faq-item + .faq-item { margin-top: 0.5rem; }

.faq-item:hover { border-color: var(--blue-400); }
.faq-item.open  { border-color: var(--blue-500); box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  text-align: left;
  gap: 1rem;
  font-family: var(--font);
}

.faq-chevron {
  width: 26px;
  height: 26px;
  border-radius: var(--r-full);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  transition: transform var(--t), background var(--t), color var(--t);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--blue-600);
  color: white;
}

.faq-a {
  display: none;
  padding: 0 1.25rem 1.1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-a { display: block; }

/* ---- Gallery ---- */
.gallery-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--gray-200);
  aspect-ratio: 4/3;
}

.gallery-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.gallery-wrap:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11,26,46,.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  padding: 1.25rem;
  text-align: center;
}

.gallery-wrap:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h3 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; }
.gallery-overlay p  { color: #94a3b8; font-size: 0.82rem; }

/* ---- Blog card ---- */
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-img-wrap { height: 200px; overflow: hidden; flex-shrink: 0; }

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.blog-card:hover .blog-img-wrap img { transform: scale(1.04); }

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-size: 2rem;
}

.blog-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.6rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.blog-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 0.6rem; line-height: 1.35; }
.blog-excerpt { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.blog-read-more { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--blue-600); font-size: 0.88rem; font-weight: 600; margin-top: 1rem; transition: gap var(--t); }
.blog-card:hover .blog-read-more { gap: 0.5rem; }

/* ---- Breadcrumb ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.breadcrumb a { color: var(--text-secondary); transition: color var(--t); }
.breadcrumb a:hover { color: var(--blue-600); }
.breadcrumb-sep { color: var(--border-2); font-size: 0.75rem; }

/* ---- Form ---- */
.form-group { margin-bottom: 1.2rem; }

.form-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.68rem 0.95rem;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

textarea.form-control { resize: vertical; min-height: 110px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem; padding-right: 2.5rem; cursor: pointer; }

/* ---- Check list ---- */
.check-list { list-style: none; padding: 0; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.4rem 0;
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.check-list li .ci {
  width: 22px;
  height: 22px;
  border-radius: var(--r-full);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  flex-shrink: 0;
  margin-top: 0.18rem;
}

.dark-section .check-list li { color: #94a3b8; }
.dark-section .check-list li .ci { background: rgba(37,99,235,.25); color: #93c5fd; }

/* ---- Dark section ---- */
.dark-section {
  background: var(--navy-900);
  color: white;
}

.dark-section .section-title    { color: white; }
.dark-section .section-subtitle { color: #94a3b8; }
.dark-section .section-label    { color: #60a5fa; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 70%, #1a3060 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ---- Product section ---- */
.product-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: var(--r-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

/* ---- Contact info card ---- */
.contact-icon-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow var(--t);
}

.contact-icon-card:hover { box-shadow: var(--shadow); }

.cic-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ---- Carousel override ---- */
.carousel-section { background: var(--gray-50); }

.carousel-slide {
  border-radius: var(--r) !important;
  overflow: hidden;
}

/* ---- Page hero band ---- */
.page-hero {
  background: var(--navy-900);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-hero-z { position: relative; z-index: 1; }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 4rem 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-brand-name { font-size: 1.1rem; font-weight: 800; color: white; line-height: 1.15; }
.footer-brand-tagline { font-size: 0.75rem; color: #475569; }

.footer-about {
  font-size: 0.88rem;
  line-height: 1.72;
  max-width: 22rem;
  margin-top: 0.75rem;
  color: #64748b;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  font-size: 0.88rem;
  color: #64748b;
  transition: color var(--t);
}
.footer-links a:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.footer-contact-item a { color: #64748b; transition: color var(--t); }
.footer-contact-item a:hover { color: white; }
.footer-contact-item i { color: var(--blue-400); margin-top: 0.15rem; flex-shrink: 0; }

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: #475569;
}

.footer-bottom a { color: #475569; transition: color var(--t); }
.footer-bottom a:hover { color: #94a3b8; }

/* ---- Alerts ---- */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  border-left: 4px solid;
  font-size: 0.93rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.alert-success { background: #f0fdf4; border-color: #22c55e; color: #15803d; }
.alert-error   { background: #fef2f2; border-color: #ef4444; color: #b91c1c; }
.alert-info    { background: #eff6ff; border-color: var(--blue-500); color: var(--blue-700); }

/* ---- Utilities ---- */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-600), var(--sky-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.divider { height: 1px; background: var(--border); }
.text-muted-c { color: var(--text-muted); }
.text-secondary-c { color: var(--text-secondary); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .mobile-nav.open { display: flex; }
  .hero { padding: 4rem 0 3.5rem; }
}

@media (max-width: 640px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section-py { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .stat-band { padding: 3rem 0; }
  .cta-band { padding: 3.5rem 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
