/* =========================================================
   Clarion Data Partners — Global Stylesheet
   Enterprise / Cloud / Azure-focused design system
   ========================================================= */

:root {
  --navy-950: #071b30;
  --navy-900: #0a2540;
  --navy-800: #0f3057;
  --navy-700: #16406f;
  --azure-600: #0078d4;
  --azure-500: #2b9af3;
  --azure-100: #e8f3fc;
  --azure-50: #f2f8fd;
  --grey-900: #1b2733;
  --grey-700: #45505c;
  --grey-500: #6b7785;
  --grey-300: #c9d2da;
  --grey-100: #f5f7fa;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 20px 48px rgba(10, 37, 64, 0.16);
  --container: 1180px;
  --transition: all 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--grey-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
section.tight { padding: 64px 0; }

h1, h2, h3, h4 { font-weight: 700; color: var(--navy-900); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { color: var(--grey-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure-600);
  background: var(--azure-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head.left { margin: 0 0 40px; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--azure-600); color: var(--white); }
.btn-primary:hover { background: var(--azure-500); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-navy { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-900);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-900), var(--azure-600));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand small { display: block; font-size: 0.62rem; font-weight: 600; color: var(--grey-500); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--grey-700);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--azure-600); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-900); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(43,154,243,0.18) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(43,154,243,0.14) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero .eyebrow { background: rgba(43,154,243,0.15); color: #7cc4fb; }
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero p.lead { color: #c7d6e8; font-size: 1.15rem; max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stats .stat-num { font-size: 1.9rem; font-weight: 800; color: var(--white); }
.hero-stats .stat-label { font-size: 0.85rem; color: #a9bcd2; margin-top: 4px; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 84px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(43,154,243,0.2) 0%, transparent 60%);
}
.page-header h1 { color: var(--white); position: relative; z-index: 1; }
.page-header p { color: #c7d6e8; max-width: 640px; margin: 16px auto 0; position: relative; z-index: 1; font-size: 1.05rem; }
.breadcrumb { position: relative; z-index: 1; font-size: 0.85rem; color: #8fa8c4; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- Icons ---------- */
.icon-badge {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--azure-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-badge svg { width: 26px; height: 26px; stroke: var(--azure-600); }
.icon-badge.navy { background: var(--navy-900); }
.icon-badge.navy svg { stroke: var(--white); }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--azure-100); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; margin-bottom: 14px; }
.card-link { font-size: 0.88rem; font-weight: 700; color: var(--azure-600); display: inline-flex; align-items: center; gap: 6px; }
.card-link svg { width: 14px; height: 14px; }

.bg-light { background: var(--grey-100); }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: #c7d6e8; }

/* ---------- Trust / feature list ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.trust-item { text-align: center; }
.trust-item .icon-badge { margin: 0 auto 16px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 8px; }
.trust-item p { font-size: 0.88rem; }

/* ---------- Why choose / benefits ---------- */
.feature-row {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--grey-100);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .icon-badge { width: 44px; height: 44px; margin-bottom: 0; flex-shrink: 0; }
.feature-row .icon-badge svg { width: 22px; height: 22px; }
.feature-row h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-row p { font-size: 0.92rem; }

/* ---------- Stats / benefits strip ---------- */
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
}
.benefit-card .num { font-size: 2rem; font-weight: 800; color: var(--azure-600); margin-bottom: 8px; }
.benefit-card h3 { font-size: 1rem; }
.benefit-card p { font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; font-size: 1.7rem; }
.cta-band p { color: #c7d6e8; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 600; color: var(--navy-900); }
input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--radius-sm);
  color: var(--grey-900);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--azure-600);
  box-shadow: 0 0 0 4px var(--azure-100);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--grey-500); margin-top: 14px; }
.form-success {
  display: none;
  background: #eafaf1;
  border: 1px solid #b7e8cd;
  color: #12683a;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-success.show { display: block; }

/* ---------- Info strip (contact page) ---------- */
.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .icon-badge { background: rgba(43,154,243,0.15); width: 44px; height: 44px; margin-bottom: 0; }
.contact-info-card .icon-badge svg { stroke: #7cc4fb; width: 20px; height: 20px; }
.contact-info-card h3 { color: var(--white); font-size: 0.98rem; margin-bottom: 4px; }
.contact-info-card p { color: #c7d6e8; font-size: 0.9rem; margin: 0; }

/* ---------- Industries ---------- */
.industry-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.industry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.industry-top {
  height: 6px;
  background: linear-gradient(90deg, var(--azure-600), var(--navy-900));
}
.industry-body { padding: 30px 26px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--grey-100);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ---------- About page ---------- */
.value-card { text-align: center; padding: 30px 22px; }
.stat-block { text-align: center; }
.stat-block .stat-num { font-size: 2.4rem; font-weight: 800; color: var(--navy-900); }
.stat-block .stat-label { font-size: 0.88rem; color: var(--grey-500); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #a9bcd2; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer-grid ul li { margin-bottom: 11px; }
.footer-grid ul li a { font-size: 0.9rem; transition: var(--transition); }
.footer-grid ul li a:hover { color: var(--white); }
.footer-brand p { color: #8fa8c4; font-size: 0.9rem; margin: 14px 0 18px; max-width: 320px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #6f89a8;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a { color: #8fa8c4; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-outline-navy { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cta-band-actions { justify-content: center; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--grey-100);
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 640px) {
  section { padding: 60px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 96px 0 72px; }
  .form-card { padding: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
