/*
Theme Name: Business Enablers
Theme URI: https://businessenablers.example
Author: Business Enablers
Description: A polished, conversion-focused theme for founder-led business growth advisory.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: business-enablers
*/

:root {
  --ink: #031226;
  --navy: #071a34;
  --navy-2: #0c2443;
  --blue: #2677e8;
  --blue-bright: #3d8dff;
  --white: #f8fbff;
  --mist: #b9c5d4;
  --line: rgba(159, 183, 214, .2);
  --surface: #f3f7fc;
  --display: "DM Serif Display", Georgia, serif;
  --sans: "Barlow", "Arial Narrow", Arial, sans-serif;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(0, 21, 56, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #15263c;
  background: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1620px, calc(100% - 56px)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.section { padding: 104px 0; }
.section-heading {
  max-width: 760px;
  margin: 0 0 54px;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  font-weight: 400;
  line-height: 1.06;
}
.section-heading em { color: var(--blue); font-style: normal; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  color: white;
  background: rgba(2, 15, 33, .88);
  backdrop-filter: blur(15px);
}
.nav-wrap { min-height: 106px; display: flex; align-items: center; gap: 42px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 64px; height: 50px; position: relative; display: grid; place-items: center;
  border: 4px solid white; border-radius: 50%;
}
.brand-mark::after {
  content: ""; position: absolute; right: -8px; bottom: 2px; width: 25px; height: 13px;
  border-right: 5px solid white; border-bottom: 5px solid white; transform: skew(-35deg);
}
.brand-bars { display: flex; align-items: end; gap: 3px; height: 28px; }
.brand-bars i { display: block; width: 7px; background: white; border-radius: 2px 2px 0 0; }
.brand-bars i:nth-child(1) { height: 12px; }
.brand-bars i:nth-child(2) { height: 21px; }
.brand-bars i:nth-child(3) { height: 28px; }
.brand-bars i:nth-child(4) { height: 17px; }
.brand-name { font-size: 1.05rem; font-weight: 800; letter-spacing: .04em; line-height: 1.05; }
.brand-tag { display: block; margin-top: 6px; font-size: .56rem; letter-spacing: .3em; opacity: .8; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 42px); margin: 0; padding: 0; list-style: none; }
.primary-nav a { font-size: .98rem; font-weight: 700; transition: color .2s; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--blue-bright); }
.button {
  display: inline-flex; min-height: 64px; align-items: center; justify-content: center; gap: 12px;
  padding: 0 32px; border: 1px solid transparent; border-radius: 16px; font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 12px 30px rgba(38,119,232,.28); }
.button-primary:hover { background: #1769d6; box-shadow: 0 16px 34px rgba(38,119,232,.38); }
.button-outline { color: white; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.03); }
.button-outline:hover { background: rgba(255,255,255,.08); }
.header-cta { min-height: 56px; margin-left: auto; padding-inline: 28px; border-radius: 16px; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; color: white; border: 0; background: none; font-size: 1.6rem; }

.hero {
  position: relative; min-height: 830px; overflow: hidden; color: white;
  background:
    linear-gradient(90deg, rgba(2,17,37,.98) 0%, rgba(4,25,51,.95) 43%, rgba(6,28,54,.57) 70%, rgba(4,19,37,.75) 100%),
    var(--navy);
}
.hero::before {
  content: ""; position: absolute; inset: 106px 0 0;
  opacity: .26;
  background-image:
    linear-gradient(rgba(104, 146, 197, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(104, 146, 197, .2) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero::after {
  content: ""; position: absolute; width: 720px; height: 720px; right: -150px; top: 110px;
  border-radius: 50%; opacity: .6; filter: blur(4px);
  background: radial-gradient(circle at 40% 38%, rgba(61,141,255,.45), rgba(14,58,102,.2) 38%, transparent 68%);
}
.hero-art { position: absolute; inset: 106px 0 0 46%; pointer-events: none; }
.chart-line {
  position: absolute; left: 9%; top: 20%; width: 75%; height: 48%;
  border-top: 4px solid rgba(61,141,255,.46); border-radius: 50%; transform: rotate(-13deg);
}
.chart-bars { position: absolute; right: 15%; bottom: 17%; display: flex; align-items: end; gap: 24px; height: 410px; opacity: .24; }
.chart-bars i { width: 62px; border: 1px solid rgba(255,255,255,.35); background: linear-gradient(rgba(61,141,255,.65), rgba(61,141,255,.08)); }
.chart-bars i:nth-child(1) { height: 28%; }.chart-bars i:nth-child(2) { height: 46%; }
.chart-bars i:nth-child(3) { height: 64%; }.chart-bars i:nth-child(4) { height: 82%; }
.chart-bars i:nth-child(5) { height: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 860px; padding: 154px 0 70px; }
.hero .eyebrow::after { content: ""; display: block; width: 86px; height: 4px; margin-top: 18px; border-radius: 9px; background: var(--blue); }
.hero h1 {
  margin: 0 0 30px; font-family: var(--display); font-size: clamp(3.4rem, 5.6vw, 6.2rem);
  font-weight: 400; letter-spacing: -.025em; line-height: .98;
}
.hero h1 span { color: var(--blue-bright); }
.hero-lead { max-width: 760px; margin: 0 0 42px; color: var(--mist); font-size: clamp(1.1rem, 1.45vw, 1.45rem); line-height: 1.55; }
.hero-lead strong { color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.trust-strip {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: -1px; border-top: 1px solid var(--line); background: rgba(4,20,42,.76);
}
.trust-item { padding: 22px 30px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; color: white; font-size: 1.25rem; }
.trust-item span { color: #91a4bb; font-size: .83rem; letter-spacing: .1em; text-transform: uppercase; }

.services { background: var(--surface); }
.services-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.services-head p { max-width: 560px; margin: 0 0 54px; color: #607087; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative; min-height: 350px; padding: 36px; overflow: hidden;
  border: 1px solid #dce5f0; border-radius: var(--radius); background: white; transition: .25s;
}
.service-card:hover { transform: translateY(-7px); border-color: #a9c9f7; box-shadow: var(--shadow); }
.service-number { color: var(--blue); font-size: .84rem; font-weight: 800; letter-spacing: .18em; }
.service-icon {
  width: 64px; height: 64px; display: grid; place-items: center; margin: 34px 0 28px;
  border-radius: 18px; color: var(--blue); background: #e9f2ff; font-size: 1.8rem;
}
.service-card h3 { margin: 0 0 12px; color: var(--ink); font-family: var(--display); font-size: 1.75rem; font-weight: 400; line-height: 1.15; }
.service-card p { margin: 0; color: #65758a; font-size: 1rem; }
.service-link { position: absolute; right: 32px; bottom: 26px; color: var(--blue); font-weight: 800; }

.process { color: white; background: var(--navy); }
.process .section-heading { color: white; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: steps; }
.process-step { position: relative; padding: 30px 34px 20px 0; border-top: 1px solid #2a4362; counter-increment: steps; }
.process-step::before {
  content: "0" counter(steps); display: grid; width: 48px; height: 48px; place-items: center;
  margin-top: -25px; border: 6px solid var(--navy); border-radius: 50%; color: white; background: var(--blue);
  font-size: .72rem; font-weight: 800;
}
.process-step h3 { margin: 28px 0 10px; font-size: 1.3rem; }
.process-step p { margin: 0; color: #9fb0c5; font-size: .95rem; }

.results-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.metric-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 1px; overflow: hidden;
  border-radius: var(--radius); background: #dbe5f1; box-shadow: var(--shadow);
}
.metric { min-height: 190px; display: flex; flex-direction: column; justify-content: center; padding: 32px; background: white; }
.metric strong { color: var(--blue); font-family: var(--display); font-size: 3.6rem; font-weight: 400; line-height: 1; }
.metric span { margin-top: 12px; color: #69798d; font-size: .93rem; }
.quote { position: relative; margin: 24px 0; padding-left: 36px; color: #31445d; font-size: 1.3rem; font-style: italic; }
.quote::before { content: "“"; position: absolute; left: 0; top: -17px; color: var(--blue); font-family: Georgia, serif; font-size: 4rem; }
.quote-by { font-weight: 800; }.quote-by span { display: block; color: var(--blue); font-size: .9rem; font-weight: 700; }

.cta-section { padding: 90px 0; background: var(--surface); }
.cta-box {
  position: relative; overflow: hidden; padding: 70px; border-radius: 30px; color: white;
  background: linear-gradient(120deg, #061b38, #0b376c); box-shadow: var(--shadow);
}
.cta-box::after { content: ""; position: absolute; width: 400px; height: 400px; right: -80px; top: -180px; border-radius: 50%; background: rgba(61,141,255,.25); }
.cta-box h2 { position: relative; z-index: 1; max-width: 850px; margin: 0 0 20px; font-family: var(--display); font-size: clamp(2.5rem,4vw,4rem); font-weight: 400; line-height: 1.05; }
.cta-box p { position: relative; z-index: 1; max-width: 700px; color: #b7c5d8; }
.cta-box .button { position: relative; z-index: 1; margin-top: 14px; }

.site-footer { padding: 64px 0 24px; color: #9dafc5; background: #020e20; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 52px; }
.footer-brand .brand { color: white; margin-bottom: 24px; }
.footer-brand p { max-width: 420px; }
.site-footer h4 { margin: 5px 0 18px; color: white; font-size: 1rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: white; }
.copyright { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; }

@media (max-width: 1180px) {
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: block; cursor: pointer; }
  .site-header.is-open .primary-nav {
    position: absolute; display: block; top: 100%; left: 0; width: 100%; padding: 24px 28px 30px; background: #031226;
  }
  .site-header.is-open .primary-nav ul { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-art { left: 38%; opacity: .65; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 50px 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, 680px); }
  .nav-wrap { min-height: 84px; }
  .brand-mark { width: 48px; height: 38px; border-width: 3px; }
  .brand-bars { transform: scale(.75); }
  .brand-name { font-size: .88rem; }
  .brand-tag { font-size: .45rem; }
  .hero { min-height: auto; }
  .hero::before { top: 84px; }
  .hero-art { top: 84px; }
  .hero-content { padding: 132px 0 54px; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.3rem); }
  .button { width: 100%; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 18px; }
  .section { padding: 76px 0; }
  .services-head, .results-grid { display: block; }
  .service-grid, .process-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
  .process-grid { gap: 45px; }
  .results-grid { display: flex; flex-direction: column; gap: 50px; align-items: stretch; }
  .metric { min-height: 150px; padding: 22px; }
  .metric strong { font-size: 2.7rem; }
  .cta-box { padding: 42px 28px; }
  .footer-grid { gap: 28px; }
  .copyright { flex-direction: column; }
}
