/* ═══════════════════════════════════════════
   33 Holding Group — Shared Stylesheet
   33-holding.com
   ═══════════════════════════════════════════ */

:root {
  --navy:        #0A1628;
  --navy-mid:    #0D1930;
  --navy-border: #2E4A72;
  --blue:        #4A90D9;
  --slate:       #7B9CC4;
  --white:       #FFFFFF;
  --off-white:   #F7FAFD;
  --text:        #1A1A1A;
  --text-light:  #444;
  --text-muted:  #777;
  --max-width:   1080px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
}

/* ── NAVIGATION ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--blue);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-cross {
  font-family: Georgia, serif;
  font-size: 20px;
  color: var(--blue);
}
.nav-33 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -3px;
  line-height: 1;
}
.nav-sep {
  width: 1px;
  height: 32px;
  background: var(--navy-border);
}
.nav-name {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #C8D8ED;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--slate);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a.active { color: var(--blue); }

/* ── HERO (full) ── */
.hero {
  background: var(--navy);
  padding: 96px 28px;
  text-align: center;
  border-bottom: 3px solid var(--blue);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 63px, rgba(74,144,217,0.04) 63px, rgba(74,144,217,0.04) 64px),
    repeating-linear-gradient(90deg,  transparent, transparent 188px, rgba(74,144,217,0.04) 188px, rgba(74,144,217,0.04) 189px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

/* Logo mark in hero */
.hero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 36px;
}
.hero-cross-lg {
  font-family: Georgia, serif;
  font-size: 22px;
  color: var(--blue);
  align-self: flex-start;
  padding-top: 6px;
}
.hero-33 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 84px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -5px;
  line-height: 1;
}
.hero-vdiv {
  width: 2px;
  height: 76px;
  background: var(--navy-border);
}
.hero-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}
.hero-wordmark-top {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 26px;
  font-weight: 500;
  color: #C8D8ED;
  letter-spacing: 5px;
  text-transform: uppercase;
}
.hero-wordmark-bottom {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: normal;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 18px;
}
.hero p {
  font-size: 16px;
  color: var(--slate);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

/* ── HERO (inner pages — smaller) ── */
.hero-sm {
  background: var(--navy);
  padding: 64px 28px;
  border-bottom: 3px solid var(--blue);
  position: relative;
  overflow: hidden;
}
.hero-sm::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg,   transparent, transparent 63px, rgba(74,144,217,0.04) 63px, rgba(74,144,217,0.04) 64px),
    repeating-linear-gradient(90deg,  transparent, transparent 188px, rgba(74,144,217,0.04) 188px, rgba(74,144,217,0.04) 189px);
  pointer-events: none;
}
.hero-sm-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-eyebrow {
  display: block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-sm h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: normal;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
  max-width: 620px;
}
.hero-sm p {
  font-size: 16px;
  color: var(--slate);
  max-width: 560px;
  line-height: 1.75;
}

/* ── SECTIONS ── */
section { padding: 80px 28px; }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-eyebrow {
  display: block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-heading {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: normal;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 18px;
}
.rule {
  width: 40px;
  height: 2px;
  background: var(--blue);
  margin-bottom: 20px;
}
.section-body {
  font-size: 15.5px;
  color: var(--text-light);
  max-width: 660px;
  line-height: 1.8;
}
.section-body p { margin-bottom: 14px; }
.section-body p:last-child { margin-bottom: 0; }

/* Alt backgrounds */
.bg-navy { background: var(--navy); }
.bg-off  { background: var(--off-white); }
.bg-navy .section-heading { color: var(--white); }
.bg-navy .section-body,
.bg-navy .section-body p  { color: var(--slate); }
.bg-navy .section-eyebrow { color: var(--blue); }

/* ── COMPANY GRID (home page) ── */
.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.company-card {
  background: var(--white);
  border: 1px solid #dde3ee;
  border-top: 3px solid var(--blue);
  padding: 32px;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.2s, border-top-color 0.2s;
}
.company-card:hover {
  box-shadow: 0 6px 24px rgba(10,22,40,0.09);
  border-top-color: var(--navy);
}
.card-type {
  display: block;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card-name {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.card-desc {
  font-family: Georgia, serif;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}
.card-link {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ── SERVICE CARDS ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.service-card {
  padding: 24px 24px 24px 20px;
  border-left: 3px solid var(--blue);
  background: var(--off-white);
}
.service-name {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── TWO COLUMN ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ── STAT BLOCKS ── */
.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.stat-block { min-width: 120px; }
.stat-number {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -1px;
  line-height: 1;
}
.stat-label {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  background: var(--off-white);
  margin: 32px 0;
}
.pull-quote p {
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 8px;
}
.pull-quote cite {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  color: var(--blue);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-style: normal;
}

/* ── CTA BUTTON ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--blue);
  color: var(--white);
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.btn:hover { background: #3a7ec8; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 3px solid var(--blue);
  padding: 52px 28px 32px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--navy-border);
  margin-bottom: 24px;
}
.footer-logo { display: flex; flex-direction: column; }
.footer-logo-row { display: flex; align-items: center; gap: 8px; }
.footer-cross {
  font-family: Georgia, serif;
  font-size: 14px;
  color: var(--blue);
}
.footer-33 {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  line-height: 1;
}
.footer-hg {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #C8D8ED;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 5px;
}
.footer-nav { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.footer-nav a {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-legal { text-align: right; padding-top: 4px; }
.footer-legal p {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  color: var(--slate);
  line-height: 1.75;
}
.footer-legal a { color: var(--blue); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10px;
  color: var(--navy-border);
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .company-grid    { grid-template-columns: 1fr; }
  .service-grid    { grid-template-columns: 1fr; }
  .two-col         { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner    { grid-template-columns: 1fr; gap: 28px; }
  .footer-legal    { text-align: left; }
  .hero h1         { font-size: 24px; }
  .hero-33         { font-size: 60px; }
  .hero-sm h1      { font-size: 24px; }
  .section-heading { font-size: 22px; }
  .nav-links       { display: none; }
  section          { padding: 56px 20px; }
}
