/* ─────────────────────────────────────────────────────────
   CRMDataProducts — Custom Stylesheet
   Modern redesign — no JavaScript required
───────────────────────────────────────────────────────── */

/* ── Design tokens ─────────────────────────────────────── */
:root {
  --accent:       #f05f47;
  --accent-dark:  #d94e39;
  --dark:         #0f172a;
  --dark-2:       #1e293b;
  --dark-3:       #334155;
  --text:         #334155;
  --text-muted:   #64748b;
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --border:       #e2e8f0;
  --radius:       10px;
  --nav-h:        64px;
  --ease:         0.25s ease;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(0,0,0,.10);
}

/* ── Reset / base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', 'ProximaNovaRegular', system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  padding-top: var(--nav-h);
  margin: 0;
}

a { color: var(--accent); outline: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; }

/* ── Navbar ─────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--dark);
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.site-nav__brand img {
  height: 34px;
  display: block;
}

.site-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.site-nav__links li a {
  display: block;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  position: relative;
  transition: color var(--ease);
}

.site-nav__links li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 18px; right: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--ease);
  transform-origin: left;
}

.site-nav__links li a:hover {
  color: #fff;
  text-decoration: none;
}
.site-nav__links li a:hover::after {
  transform: scaleX(1);
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  background: url('../images/bg-home.png') center / cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.93) 0%,
    rgba(15, 23, 42, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 80px 15px;
  max-width: 680px;
  animation: fadeUp 0.75s ease both;
}

.hero__title {
  font-family: 'Inter', 'ProximaNovaBold', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: none;
  text-transform: none;
}

.hero__sub {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 520px;
}

.btn-hero {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 14px rgba(240,95,71,0.35);
}
.btn-hero:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,95,71,0.45);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Eyebrow label ─────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Section blocks ────────────────────────────────────── */
.section-block {
  padding: 96px 0;
}
.section-block--alt {
  background: var(--bg-alt);
}

.section-layout {
  align-items: flex-start;
}

.section-heading {
  font-family: 'Inter', 'ProximaNovaBold', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  text-transform: none;
  text-shadow: none;
  margin: 0 0 24px;
}

.lead-text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark-3);
  margin-bottom: 16px;
}

.body-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ── Stats row ─────────────────────────────────────────── */
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Feature cards ─────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.feat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: rgba(240,95,71,0.25);
}

.feat-card__icon {
  font-size: 24px;
  margin-bottom: 14px;
  display: block;
}

.feat-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 10px;
  text-transform: none;
}

.feat-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── UC Steps ──────────────────────────────────────────── */
.uc-steps {
  display: flex;
  flex-direction: column;
}

.uc-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.uc-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.uc-step__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.uc-step__body h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 8px;
  text-transform: none;
}

.uc-step__body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ── Contact section ───────────────────────────────────── */
.contact-section {
  background: var(--dark);
  padding: 100px 0;
}

.contact-section .eyebrow {
  opacity: 0.9;
}

.contact-section__heading {
  font-family: 'Inter', 'ProximaNovaBold', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 0;
  text-shadow: none;
  text-transform: none;
}

.contact-divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  margin: 24px auto;
}

.contact-section__phone {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}

.contact-section__email {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.contact-section__email a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--ease);
}

.contact-section__email a:hover {
  color: var(--accent-dark);
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--dark-2);
  padding: 28px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

.site-footer__social {
  display: flex;
  gap: 20px;
}

.site-footer__social a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--ease);
}

.site-footer__social a:hover {
  color: #fff;
}

.site-footer__back {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color var(--ease);
  letter-spacing: 0.03em;
}

.site-footer__back:hover {
  color: #fff;
  text-decoration: none;
}

/* ── Bootstrap overrides ───────────────────────────────── */
.container { max-width: 1100px; }
p { margin-bottom: 12px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 991px) {
  .section-block { padding: 72px 0; }

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

  .section-layout .col-md-4 { margin-bottom: 40px; }

  .stat-row { gap: 24px; }
}

@media (max-width: 767px) {
  .site-nav__links li a {
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .hero__content { padding: 60px 15px; }

  .section-block { padding: 56px 0; }

  .stat-row { flex-wrap: wrap; gap: 20px; }

  .site-footer__inner { flex-direction: column; text-align: center; }

  .contact-section { padding: 72px 0; }
  .contact-section__heading { font-size: 32px; }
}
