/* ============================================================
   HOTLEAD — GLOBAL STYLES 2026
   ============================================================ */

:root {
  --red: #d51338;
  --red-dark: #b00f2e;
  --dark: #111827;
  --dark-2: #1e293b;
  --dark-3: #0f172a;
  --dark-4: #243447;
  --gray: #94a3b8;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius: 8px;
  --transition: 0.25s ease;
  --max-w: 1200px;
  --pad-x: clamp(20px, 5vw, 80px);
}

/* ── RESET & BASE ── */
.hl-page * { box-sizing: border-box; }
.hl-page { font-family: var(--font); color: var(--white); }
.hl-page a { text-decoration: none; color: inherit; }
.hl-page img { max-width: 100%; height: auto; display: block; }

/* ── LAYOUT HELPERS ── */
.hl-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.hl-section {
  padding: clamp(60px, 8vw, 100px) 0;
}
.hl-section-sm { padding: clamp(40px, 5vw, 64px) 0; }

/* ── TYPOGRAPHY ── */
.hl-h1 {
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.hl-h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.hl-h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}
.hl-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
  color: var(--gray);
}
.hl-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.hl-center { text-align: center; }

/* ── BUTTONS ── */
.hl-btn {
  display: inline-block;
  padding: 15px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  line-height: 1;
}
.hl-btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.hl-btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213,19,56,0.4);
}
.hl-btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.hl-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}
.hl-btn-red-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.hl-btn-red-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}
.hl-btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hl-btn-group.center { justify-content: center; }

/* ── GRID / CARDS ── */
.hl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.hl-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.hl-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hl-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: clamp(24px, 3vw, 40px);
  transition: all var(--transition);
}
.hl-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(213,19,56,0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── SECTION BACKGROUNDS ── */
.bg-dark    { background: var(--dark); }
.bg-dark-2  { background: var(--dark-2); }
.bg-dark-3  { background: var(--dark-3); }
.bg-dark-4  { background: var(--dark-4); }
.bg-red     { background: var(--red); }
.bg-white   { background: #fff; color: var(--dark); }

/* ── DIVIDER LINE ── */
.hl-divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin: 0 auto 40px;
}
.hl-divider.left { margin-left: 0; }

/* ── ANIMATIONS ── */
.hl-fade { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.hl-fade.visible { opacity: 1; transform: translateY(0); }
.hl-fade-delay-1 { transition-delay: 0.1s; }
.hl-fade-delay-2 { transition-delay: 0.2s; }
.hl-fade-delay-3 { transition-delay: 0.3s; }

/* ── LOGO IN HEADER OVERRIDE ── */
.ast-site-name-wrap .site-title,
.ast-site-name-wrap .site-description,
span.site-title, span.site-description,
.site-title, .site-description {
  display: none !important;
}
.custom-logo-link img.custom-logo {
  max-height: 46px !important;
  width: auto !important;
  max-width: 200px !important;
  height: auto !important;
  object-fit: contain;
}
#masthead, .site-header, .ast-primary-header-bar {
  background: #fff !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08) !important;
}
.main-header-bar { padding: 10px 0 !important; }
.main-navigation a, .ast-primary-nav-menu a {
  color: #374151 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}
.main-navigation a:hover { color: var(--red) !important; }

/* ── FOOTER OVERRIDE ── */
.site-footer, .ast-small-footer {
  background: #0a0f1a !important;
  color: #64748b !important;
}

/* ── ASTRA PAGE PADDING REMOVAL ── */
/* Override Astra CSS variable at body level (body > :root in specificity) */
body.page-template-page-templates {
  --ast-normal-container-width: 100vw;
}
/* Scope to #content only — header .ast-container is untouched */
body.page-template-page-templates #content,
body.page-template-page-templates #content .ast-container,
body.page-template-page-templates #content #primary,
body.page-template-page-templates #content .content-area,
body.page-template-page-templates #content main,
body.page-template-page-templates #content article,
body.page-template-page-templates #content .entry-content {
  max-width: 100vw !important;
  padding: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  background: transparent !important;
  box-sizing: border-box !important;
}
.hl-page-wrap { width: 100% !important; overflow-x: hidden; }
.hl-page-wrap .entry-header { display: none !important; }

/* ── HIDE ARTICLE DATES ── */
.entry-meta .posted-on,
.entry-meta .entry-date,
.ast-article-post .posted-on,
.ast-article-post .entry-date,
.posted-on, time.entry-date,
.ast-blog-single-element.date-element { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hl-grid-3 { grid-template-columns: 1fr 1fr; }
  .hl-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hl-grid-3, .hl-grid-2, .hl-grid-4 { grid-template-columns: 1fr; }
  .hl-btn-group { flex-direction: column; align-items: stretch; }
  .hl-btn-group .hl-btn { text-align: center; }
}

/* ── MOBILE HEADER ── */
@media (max-width: 768px) {
  /* Logo padding on mobile */
  .ast-mobile-header-wrap .site-branding,
  .ast-mobile-header-wrap .ast-site-identity,
  .ast-mobile-header-wrap .custom-logo-link,
  .ast-site-title-wrap,
  .ast-builder-layout-element.site-header-focus-item {
    padding-left: 16px !important;
  }
  .ast-primary-header-bar .ast-container,
  .ast-main-header-wrap .ast-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ── CONTACT FORM MOBILE ── */
@media (max-width: 768px) {
  .hl-contact-grid {
    grid-template-columns: 1fr !important;
  }
  .hl-contact-grid > div:first-child {
    display: none; /* hide left panel on mobile, keep only the form */
  }
}
