/*
Theme Name: Mac's Headroom
Theme URI: https://macsheadroom.com
Author: Mac's Headroom
Author URI: https://macsheadroom.com
Description: A lightweight WordPress theme for an AI Support Ops & Automation consulting business.
Version: 1.0.0
License: GPLv2 or later
Text Domain: macs-headroom
Tags: business, consulting, ai, support, automation, responsive
*/

:root {
  --mh-bg: #0b1020;
  --mh-bg-2: #111a33;
  --mh-card: #ffffff;
  --mh-card-soft: #f4f7fb;
  --mh-text: #111827;
  --mh-muted: #5b6472;
  --mh-light: #f8fafc;
  --mh-line: #dce4ef;
  --mh-accent: #52e0c4;
  --mh-accent-dark: #16a085;
  --mh-blue: #4f7cff;
  --mh-orange: #ffb84d;
  --mh-radius: 22px;
  --mh-shadow: 0 24px 80px rgba(6, 12, 31, 0.14);
  --mh-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mh-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #fff;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.mh-container {
  width: min(var(--mh-max), calc(100% - 40px));
  margin-inline: auto;
}

.mh-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mh-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.mh-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mh-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #06101e;
  background: linear-gradient(135deg, var(--mh-accent), var(--mh-orange));
  font-weight: 900;
  box-shadow: 0 10px 35px rgba(82,224,196,0.2);
}

.mh-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.mh-menu ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.mh-menu a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 650;
  font-size: .96rem;
}

.mh-menu a:hover {
  color: #fff;
}

.mh-button,
.wp-block-button__link,
input[type="submit"],
button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  background: var(--mh-accent);
  color: #04121d;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(82, 224, 196, 0.25);
}

.mh-button:hover,
input[type="submit"]:hover,
button:hover {
  transform: translateY(-1px);
  background: #65f2d9;
}

.mh-button-secondary {
  background: rgba(255,255,255,0.09);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.mh-button-secondary:hover {
  background: rgba(255,255,255,0.15);
}

.mh-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(82, 224, 196, .24), transparent 32rem),
    radial-gradient(circle at 80% 20%, rgba(79, 124, 255, .24), transparent 30rem),
    linear-gradient(145deg, #0b1020 0%, #101a34 60%, #07101f 100%);
  color: #fff;
  padding: 96px 0 76px;
}

.mh-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 54px;
  align-items: center;
}

.mh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.88);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
}

.mh-hero h1,
.mh-page-hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.07em;
  margin: 20px 0 22px;
}

.mh-hero p {
  color: rgba(255,255,255,.78);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  max-width: 660px;
}

.mh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.mh-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.mh-trust-pill {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.76);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 700;
  font-size: .9rem;
}

.mh-dashboard-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 34px;
  padding: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

.mh-dashboard-inner {
  background: rgba(255,255,255,.94);
  color: var(--mh-text);
  border-radius: 25px;
  padding: 22px;
}

.mh-ticket {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--mh-line);
}

.mh-ticket:last-child {
  border-bottom: none;
}

.mh-ticket-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mh-card-soft);
  font-weight: 900;
}

.mh-ticket strong {
  display: block;
  line-height: 1.2;
}

.mh-ticket small {
  color: var(--mh-muted);
}

.mh-badge {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .78rem;
  font-weight: 850;
  background: #e8fff9;
  color: #087560;
}

.mh-section {
  padding: 86px 0;
}

.mh-section-soft {
  background: var(--mh-card-soft);
}

.mh-section-header {
  max-width: 760px;
  margin-bottom: 38px;
}

.mh-section-header.center {
  margin-inline: auto;
  text-align: center;
}

.mh-section h2,
.entry-content h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: -.055em;
  margin: 0 0 16px;
}

.mh-section-header p,
.entry-content p {
  color: var(--mh-muted);
  font-size: 1.06rem;
}

.mh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mh-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mh-card {
  background: var(--mh-card);
  border: 1px solid var(--mh-line);
  border-radius: var(--mh-radius);
  padding: 28px;
  box-shadow: 0 12px 45px rgba(15, 23, 42, 0.05);
}

.mh-card-dark {
  background: linear-gradient(145deg, #10192f, #0b1020);
  color: #fff;
  border: 1px solid rgba(255,255,255,.09);
}

.mh-card h3 {
  font-size: 1.35rem;
  line-height: 1.18;
  margin: 0 0 10px;
  letter-spacing: -.03em;
}

.mh-card p,
.mh-card li {
  color: var(--mh-muted);
}

.mh-card-dark p,
.mh-card-dark li {
  color: rgba(255,255,255,.74);
}

.mh-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: #e9fff9;
  font-size: 1.35rem;
}

.mh-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.mh-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 11px;
}

.mh-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mh-accent-dark);
  font-weight: 900;
}

.mh-price {
  font-size: 2.15rem;
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 12px 0;
}

.mh-price span {
  color: var(--mh-muted);
  font-size: .95rem;
  font-weight: 700;
}

.mh-process {
  counter-reset: step;
  display: grid;
  gap: 18px;
}

.mh-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--mh-line);
}

.mh-step::before {
  content: counter(step);
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: var(--mh-bg);
  color: var(--mh-accent);
  font-weight: 900;
  font-size: 1.25rem;
}

.mh-cta {
  background:
    radial-gradient(circle at top left, rgba(82,224,196,.2), transparent 30rem),
    linear-gradient(135deg, #0b1020, #12213f);
  color: #fff;
  border-radius: 34px;
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.mh-cta h2 {
  color: #fff;
}

.mh-cta p {
  color: rgba(255,255,255,.76);
  max-width: 720px;
}

.mh-page-hero {
  padding: 78px 0;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(82,224,196,.18), transparent 26rem),
    linear-gradient(135deg, #0b1020, #111a33);
}

.entry-content {
  padding: 72px 0;
}

.entry-content .mh-container > * {
  max-width: 880px;
}

.mh-contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.mh-form-card {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--mh-shadow);
}

label {
  display: block;
  font-weight: 800;
  margin: 0 0 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  margin-top: 7px;
}

textarea {
  min-height: 140px;
}

.mh-site-footer {
  background: #08101f;
  color: rgba(255,255,255,.7);
  padding: 54px 0;
}

.mh-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: start;
}

.mh-footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.mh-footer-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-weight: 700;
}

.mh-footer-links a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .mh-menu {
    gap: 14px;
  }

  .mh-menu ul {
    display: none;
  }

  .mh-hero-grid,
  .mh-grid-3,
  .mh-grid-2,
  .mh-contact-panel,
  .mh-cta,
  .mh-footer-grid {
    grid-template-columns: 1fr;
  }

  .mh-hero {
    padding-top: 68px;
  }

  .mh-dashboard-card {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .mh-container {
    width: min(var(--mh-max), calc(100% - 28px));
  }

  .mh-nav {
    min-height: 68px;
  }

  .mh-logo span:last-child {
    display: none;
  }

  .mh-section {
    padding: 64px 0;
  }

  .mh-card,
  .mh-form-card {
    padding: 22px;
  }
}
