/* ==========================================================================
   ESQ Digital — shared stylesheet
   Design system loosely modelled on netskope.com: deep navy hero sections,
   an orange/turquoise accent pair, pill-shaped buttons, soft-shadow cards.
   Edit the custom properties below to re-theme the whole site.
   ========================================================================== */

:root {
  /* Brand palette */
  --color-navy-900: #081a59;   /* primary dark background */
  --color-navy-800: #10225f;
  --color-navy-700: #1c3072;
  --color-orange: #ff8200;     /* primary accent / CTAs */
  --color-orange-dark: #e06e00;
  --color-turquoise: #00a7ce;  /* secondary accent */
  --color-cyan-100: #e8fcff;   /* tinted section background */

  --color-white: #ffffff;
  --color-gray-50: #f6f8fc;
  --color-gray-100: #eef1f7;
  --color-gray-200: #dde2ec;
  --color-gray-500: #6b7280;
  --color-gray-700: #3c4257;
  --color-gray-900: #12151c;

  /* Type + layout */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(8, 26, 89, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(8, 26, 89, 0.14);
  --transition: 0.2s ease;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-gray-900);
  background: var(--color-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; cursor: pointer; }

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

section { padding: 88px 0; }
@media (max-width: 640px) {
  section { padding: 56px 0; }
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-heading .eyebrow {
  display: inline-block;
  color: var(--color-orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-navy-900);
  letter-spacing: -0.01em;
}
.section-heading p {
  margin-top: 14px;
  color: var(--color-gray-500);
  font-size: 1.05rem;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(255, 130, 0, 0.35);
}
.btn-primary:hover { background: var(--color-orange-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: var(--color-white); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--color-navy-900);
  border-color: var(--color-gray-200);
}
.btn-outline:hover { border-color: var(--color-navy-900); transform: translateY(-2px); }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-gray-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-navy-900);
  letter-spacing: -0.02em;
}
.logo span { color: var(--color-orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-gray-700);
  transition: color var(--transition);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--color-navy-900);
  border-bottom-color: var(--color-orange);
}
.nav-actions { display: flex; align-items: center; gap: 24px; }

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

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-card);
    display: none;
  }
  .nav-links a { width: 100%; padding: 10px 0; }
  .site-header.nav-open .nav-links { display: flex; }
  .nav-actions .btn-primary { padding: 10px 18px; font-size: 0.85rem; }
}

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--color-navy-700) 0%, var(--color-navy-900) 55%, #060f3c 100%);
  color: var(--color-white);
  padding: 110px 0 100px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.55;
  pointer-events: none;
}
.hero::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 130, 0, 0.55), transparent 70%);
  top: -180px;
  right: -140px;
}
.hero::after {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 167, 206, 0.5), transparent 70%);
  bottom: -200px;
  left: -120px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero.hero-center { text-align: center; max-width: none; }
.hero.hero-center .hero-inner { max-width: 760px; margin: 0 auto; }

.hero .eyebrow {
  display: inline-block;
  color: var(--color-orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--color-orange), var(--color-turquoise));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  margin-top: 20px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
}
.hero.hero-center p.lead { margin-left: auto; margin-right: auto; }
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero.hero-center .hero-actions { justify-content: center; }
.hero-tagline {
  margin-top: 40px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

/* ---- Feature grid --------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--color-navy-900), var(--color-navy-700));
  color: var(--color-white);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy-900);
  margin-bottom: 10px;
}
.feature-card p { color: var(--color-gray-500); font-size: 0.98rem; }
.feature-card ul {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-card ul li {
  font-size: 0.92rem;
  color: var(--color-gray-700);
  padding-left: 22px;
  position: relative;
}
.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* ---- Alternating band section -------------------------------------------- */
.band { background: var(--color-gray-50); }
.band-tint { background: var(--color-cyan-100); }
.band-navy {
  background: var(--color-navy-900);
  color: var(--color-white);
}
.band-navy .section-heading h2 { color: var(--color-white); }
.band-navy .section-heading p { color: rgba(255, 255, 255, 0.7); }

/* ---- Compliance badges ----------------------------------------------------- */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.92rem;
  font-weight: 600;
}
.badge svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-orange);
}

/* ---- Split section (image/content) ---------------------------------------- */
.split-content { max-width: 680px; }
.split-content .eyebrow {
  display: inline-block;
  color: var(--color-orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.split-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-navy-900);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.split-content p { color: var(--color-gray-500); margin-bottom: 14px; }
.split-content ul { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.split-content ul li {
  padding-left: 26px;
  position: relative;
  font-weight: 600;
  color: var(--color-gray-700);
}
.split-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--color-orange);
}

/* ---- CTA band --------------------------------------------------------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-navy-900), var(--color-navy-700));
  color: var(--color-white);
  text-align: center;
  border-radius: 24px;
  padding: 56px 32px;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 520px; margin: 0 auto 28px; }

/* ---- Stat strip --------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-strip .stat-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-navy-900);
}
.stat-strip .stat-label {
  margin-top: 6px;
  color: var(--color-gray-500);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---- Team / values cards (about page) ------------------------------------ */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-card);
}
.value-card h3 { color: var(--color-navy-900); font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--color-gray-500); font-size: 0.95rem; }

/* ---- Contact page ------------------------------------------------------- */
.contact-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 36px;
}

.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--color-navy-900);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item .info-icon svg { width: 20px; height: 20px; }
.info-item h3 { font-size: 0.95rem; color: var(--color-navy-900); margin-bottom: 4px; }
.info-item p, .info-item a { color: var(--color-gray-500); font-size: 0.95rem; }
.info-item a:hover { color: var(--color-turquoise); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--color-navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand .logo { color: var(--color-white); }
.footer-brand p { margin-top: 14px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.6); max-width: 320px; }
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 0.92rem; }
.footer-col a:hover { color: var(--color-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover { color: var(--color-white); }

/* ---- Utility ---------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-56 { margin-top: 56px; }
