/* ---------------------------------------------------------------------- */
/* Tokens                                                                  */
/* ---------------------------------------------------------------------- */
:root {
  --charcoal-900: #23272E;
  --charcoal-700: #4A5058;
  --charcoal-500: #5B6470;
  --orange: #EA580C;
  --orange-dark: #C2410C;
  --amber: #F59E0B;
  --amber-light: #FDBA74;

  --bg: #ffffff;
  --bg-alt: #F7F7F8;
  --border: #E7E7EA;
  --text: #23272E;
  --text-muted: #5B6470;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1140px;
  --radius: 14px;
}

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------- */
/* Buttons                                                                 */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(234, 88, 12, 0.6);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------------------------------------------------------------------- */
/* Header                                                                  */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo { height: 36px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  font-size: 0.95rem;
}
.primary-nav a {
  color: var(--charcoal-700);
  transition: color .15s ease;
}
.primary-nav a:hover { color: var(--orange); }
.nav-cta {
  background: var(--charcoal-900);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--orange) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal-900);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--charcoal-900) 0%, var(--charcoal-700) 100%);
  padding: 120px 0 110px;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245, 158, 11, 0.35) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(234, 88, 12, 0.25) 1.5px, transparent 1.5px);
  background-size: 42px 42px, 42px 42px;
  background-position: 0 0, 21px 21px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 80% 30%, #000 0%, transparent 70%);
  opacity: 0.9;
}
.hero-inner { position: relative; max-width: 760px; }
.eyebrow {
  color: var(--amber-light);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -0.01em;
}
.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 660px;
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------------------------------------------------------------------- */
/* Sections                                                                 */
/* ---------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-dark {
  background: var(--charcoal-900);
  color: #fff;
}
.section-alt { background: var(--bg-alt); }

.section-eyebrow {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-eyebrow-light { color: var(--amber-light); }
.section h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section h2.light { color: #fff; }
.section-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 48px;
}
.section-dark .section-lead { color: rgba(255, 255, 255, 0.7); }
.section-lead-wide { max-width: none; }

@media (min-width: 1100px) {
  .section-lead-wide { white-space: nowrap; }
}

/* ---------------------------------------------------------------------- */
/* Service cards                                                           */
/* ---------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: linear-gradient(150deg, var(--orange) 0%, var(--amber) 100%);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(194, 65, 12, 0.45);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}
.card-icon svg { width: 32px; height: 32px; }
.card h3 { color: #fff; font-size: 1.08rem; margin-bottom: 10px; }
.card p { color: rgba(255, 255, 255, 0.88); font-size: 0.95rem; margin: 0; }

.services-invite {
  margin: 40px 0 0;
  font-size: 1rem;
  color: var(--text-muted);
}
.services-invite a {
  color: var(--orange);
  font-weight: 700;
}
.services-invite a:hover { color: var(--orange-dark); }

/* ---------------------------------------------------------------------- */
/* Approach pillars                                                        */
/* ---------------------------------------------------------------------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar h3 { color: var(--orange); font-size: 1.3rem; margin-bottom: 12px; }
.pillar p { color: rgba(255, 255, 255, 0.72); font-size: 0.97rem; }

/* ---------------------------------------------------------------------- */
/* About                                                                    */
/* ---------------------------------------------------------------------- */
.about-wrap { max-width: 720px; }
.about-text p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------------------------------------------------------------------- */
/* Contact                                                                  */
/* ---------------------------------------------------------------------- */
.section-contact {
  background: var(--bg-alt);
  text-align: center;
}
.contact-wrap { max-width: 560px; margin: 0 auto; }
.section-contact .section-eyebrow,
.section-contact .section-lead { margin-left: auto; margin-right: auto; }
.contact-phone {
  margin: 18px 0 0;
  font-size: 0.98rem;
}
.contact-phone a {
  color: var(--text-muted);
  font-weight: 600;
}
.contact-phone a:hover { color: var(--orange); }

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--charcoal-900);
  padding: 48px 0;
  text-align: center;
}
.footer-logo {
  height: 30px;
  margin: 0 auto 16px;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}
.footer-tagline span { color: var(--amber); }
.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
  margin: 0;
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
  }
  .primary-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .primary-nav a { padding: 12px 0; width: 100%; }
  .nav-cta { margin-top: 8px; text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 88px 0 80px; }
  .section { padding: 72px 0; }

  .card-grid { grid-template-columns: 1fr; }
  .pillar-grid { grid-template-columns: 1fr; gap: 32px; }
}
