/*
Theme Name: Coraxis
Theme URI: https://coraxis.ca
Description: Coraxis custom child theme — Precision. Process. Performance.
Author: Coraxis
Version: 1.0
Template: astra
Text Domain: coraxis
*/

/* ============================================
   CORAXIS — Global Stylesheet
   coraxis.ca | Precision. Process. Performance.
   ============================================ */

:root {
  --charcoal: #1A1A1A;
  --charcoal-mid: #2C2C2C;
  --charcoal-soft: #3D3D3D;
  --orange: #C95C28;
  --orange-light: #E07040;
  --orange-pale: #FAF0EA;
  --off-white: #F5F5F3;
  --white: #FFFFFF;
  --text-muted: #6B6B6B;
  --border: #E0DDD8;
}

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'DM Sans', sans-serif !important;
  color: var(--charcoal) !important;
  background: var(--white) !important;
  font-size: 16px;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Hide Astra defaults we don't need */
.ast-masthead-custom-menu-items,
.ast-above-header-bar,
.ast-below-header-bar,
#ast-fixed-footer,
.ast-breadcrumbs-wrapper,
.entry-meta,
.entry-footer,
.post-navigation,
.ast-comment-list,
.comment-respond { display: none !important; }

/* Remove Astra page padding */
.ast-container { max-width: 100% !important; padding: 0 !important; }
.site-content { padding: 0 !important; }
#primary { padding: 0 !important; }
.ast-article-single { padding: 0 !important; }
.entry-content { margin: 0 !important; }

/* ---- TYPOGRAPHY ---- */
.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}
.section-label.light { color: var(--orange-light); }
.section-label.light::before { background: var(--orange-light); }

h2.section-title {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(28px, 3.5vw, 42px) !important;
  font-weight: 700 !important;
  color: var(--charcoal) !important;
  line-height: 1.25 !important;
  margin-bottom: 18px !important;
}
h2.section-title-white {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(28px, 3.5vw, 42px) !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  line-height: 1.25 !important;
  margin-bottom: 18px !important;
}
.section-intro {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 56px;
}

/* ---- LAYOUT ---- */
.coraxis-section { padding: 90px 5%; }
.bg-offwhite { background: var(--off-white); }
.bg-charcoal { background: var(--charcoal); }
.bg-orange { background: var(--orange); }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--orange);
  color: var(--white) !important;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--orange);
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--orange-light); border-color: var(--orange-light); color: var(--white) !important; }

.btn-secondary {
  background: transparent;
  color: var(--white) !important;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.8); }

.btn-outline {
  background: transparent;
  color: var(--orange) !important;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 2px solid var(--orange);
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
}
.btn-outline:hover { background: var(--orange); color: var(--white) !important; }

.btn-white {
  background: var(--white);
  color: var(--orange) !important;
  padding: 15px 32px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 2px solid var(--white);
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
}
.btn-white:hover { background: transparent; color: var(--white) !important; }

.btn-charcoal {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 2px solid var(--charcoal);
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
}
.btn-charcoal:hover { background: var(--charcoal-mid); }

/* ---- NAV ---- */
#coraxis-nav {
  background: var(--charcoal);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: sticky;
  top: 0;
  z-index: 9999;
}
.coraxis-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.coraxis-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.logo-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
}
.logo-tagline {
  font-size: 9px;
  color: var(--orange-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}
.coraxis-nav-links { display: flex; gap: 32px; align-items: center; }
.coraxis-nav-links a {
  color: #CCCCCC;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  text-decoration: none;
}
.coraxis-nav-links a:hover,
.coraxis-nav-links a.current { color: var(--orange-light); }
.coraxis-nav-links .nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  font-weight: 600;
  transition: background 0.2s;
}
.coraxis-nav-links .nav-cta:hover { background: var(--orange-light); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.2s; }

/* ---- PROOF BAR ---- */
.proof-bar {
  background: var(--orange);
  padding: 18px 5%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.proof-item {
  color: var(--white);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 28px;
  border-right: 1px solid rgba(255,255,255,0.3);
}
.proof-item:last-child { border-right: none; }

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--charcoal);
  padding: 80px 5% 72px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; right: 0; top: 0;
  width: 55%; height: 100%; opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg,#fff 0,#fff 1px,transparent 1px,transparent 40px),
    repeating-linear-gradient(90deg,#fff 0,#fff 1px,transparent 1px,transparent 40px);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero-eyebrow {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange-light); margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before { content:''; display:block; width:28px; height:1px; background:var(--orange); flex-shrink:0; }
.page-hero h1 {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(32px, 4vw, 50px) !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
}
.page-hero h1 em { color: var(--orange-light); font-style: normal; }
.page-hero p { font-size: 17px; color: #B8B8B8; line-height: 1.8; max-width: 560px; }

/* ---- CTA BAND ---- */
.cta-band { background: var(--orange); padding: 80px 5%; text-align: center; }
.cta-band h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(26px, 3.5vw, 40px) !important;
  color: var(--white) !important;
  margin-bottom: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}
.cta-band p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-note { margin-top: 18px !important; font-size: 11px !important; color: rgba(255,255,255,0.6) !important; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 0 !important; }

/* ---- FOOTER ---- */
#coraxis-footer { background: #111111; padding: 56px 5% 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2A2A2A;
}
.footer-brand p { font-size: 13px; color: #666; line-height: 1.75; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #888; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: #666; margin-bottom: 10px; transition: color 0.2s; text-decoration: none; }
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: #444; }
.footer-bottom a { font-size: 12px; color: #444; transition: color 0.2s; text-decoration: none; }
.footer-bottom a:hover { color: var(--orange-light); }
.lang-toggle { display: flex; }
.lang-btn {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border: 1px solid #2A2A2A;
  color: #666; cursor: pointer; transition: all 0.2s;
  background: transparent; font-family: 'DM Sans', sans-serif;
}
.lang-btn.active { background: var(--orange); color: var(--white); border-color: var(--orange); }
.lang-btn:hover:not(.active) { color: var(--orange-light); border-color: #444; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .coraxis-section { padding: 64px 5%; }
  .coraxis-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--charcoal-mid);
    padding: 16px 5%;
    gap: 0;
    z-index: 9998;
  }
  .coraxis-nav-links.open { display: flex; }
  .coraxis-nav-links a { padding: 12px 0; border-bottom: 1px solid #333; width: 100%; }
  .coraxis-nav-links .nav-cta { margin-top: 12px; text-align: center; border-bottom: none; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .proof-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); width: 100%; text-align: center; }
}
