/*
Theme Name: The Wash Mastermind
Theme URI: https://example.com/
Author: The Wash Mastermind
Description: Custom one-page WordPress theme for The Wash Mastermind contractor community.
Version: 1.4.0
Text Domain: wash-mastermind
*/

:root {
  --wm-bg: #070b10;
  --wm-bg-2: #0c1219;
  --wm-panel: #101923;
  --wm-panel-2: #131f2b;
  --wm-text: #f7fbff;
  --wm-muted: #aebdca;
  --wm-blue: #4bb7f2;
  --wm-blue-2: #86d8ff;
  --wm-border: rgba(255,255,255,.10);
  --wm-shadow: 0 20px 60px rgba(0,0,0,.35);
  --wm-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(75,183,242,.12), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(75,183,242,.08), transparent 30%),
    var(--wm-bg);
  color: var(--wm-text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.wm-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.wm-section { padding: 92px 0; position: relative; }
.wm-section--tight { padding: 72px 0; }
.wm-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--wm-blue-2); font-size: .82rem;
}
.wm-kicker:before { content: ""; width: 30px; height: 2px; background: var(--wm-blue); border-radius: 999px; }
.wm-title {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.02; letter-spacing: -.045em; margin: 14px 0 22px;
}
.wm-subtitle { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--wm-muted); max-width: 760px; }
.wm-center { text-align: center; }
.wm-center .wm-subtitle { margin-left: auto; margin-right: auto; }

.wm-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(7,11,16,.80); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.wm-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.wm-brand { display: flex; align-items: center; gap: 14px; font-weight: 900; }
.wm-brand img { width: 150px; height: auto; display: block; }
.wm-menu { display: flex; align-items: center; gap: 26px; color: #d9e4ec; font-size: .96rem; }
.wm-menu a { transition: .2s ease; }
.wm-menu a:hover { color: white; }
.wm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; font-weight: 900; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.wm-btn:hover { transform: translateY(-2px); }
.wm-btn--primary { background: linear-gradient(135deg, var(--wm-blue), #168ad0); color: #03111b; box-shadow: 0 10px 35px rgba(75,183,242,.23); }
.wm-btn--ghost { border-color: var(--wm-border); background: rgba(255,255,255,.03); color: var(--wm-text); }
.wm-btn--large { padding: 17px 28px; font-size: 1.03rem; }

.wm-hero { padding: 92px 0 74px; overflow: hidden; }
.wm-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.wm-hero h1 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: .94; letter-spacing: -.055em; margin: 14px 0 26px; max-width: 900px; }
.wm-hero h1 span { color: var(--wm-blue-2); }
.wm-hero-copy { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--wm-muted); max-width: 680px; }
.wm-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.wm-proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 34px; color: #dfeaf2; font-weight: 700; font-size: .95rem; }
.wm-proof span:before { content: "✓"; color: var(--wm-blue); margin-right: 8px; }
.wm-hero-card {
  position: relative; min-height: 520px; border: 1px solid var(--wm-border); border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    radial-gradient(circle at 50% 30%, rgba(75,183,242,.18), transparent 36%),
    #0b1219;
  box-shadow: var(--wm-shadow); display: grid; place-items: center; overflow: hidden;
}
.wm-hero-card:after { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 50%; background: radial-gradient(circle, rgba(75,183,242,.13), transparent 65%); }
.wm-hero-logo { width: min(86%, 470px); filter: drop-shadow(0 18px 28px rgba(0,0,0,.36)); position: relative; z-index: 2; }
.wm-floating-tag { position: absolute; z-index: 3; padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); background: rgba(10,17,24,.84); backdrop-filter: blur(10px); font-weight: 800; color: #eaf6ff; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.wm-floating-tag--one { left: 24px; top: 28px; }
.wm-floating-tag--two { right: 24px; bottom: 30px; }

.wm-strip { border-top: 1px solid var(--wm-border); border-bottom: 1px solid var(--wm-border); background: rgba(255,255,255,.025); }
.wm-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.wm-strip-item { padding: 24px 18px; text-align: center; border-right: 1px solid var(--wm-border); font-weight: 900; color: #eaf5fc; }
.wm-strip-item:last-child { border-right: 0; }
.wm-strip-item small { display: block; color: var(--wm-muted); font-weight: 600; margin-top: 3px; }

.wm-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 42px; }
.wm-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 42px; }
.wm-card { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border: 1px solid var(--wm-border); border-radius: var(--wm-radius); padding: 28px; box-shadow: 0 14px 36px rgba(0,0,0,.16); }
.wm-card-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: rgba(75,183,242,.11); color: var(--wm-blue-2); font-size: 1.4rem; font-weight: 900; margin-bottom: 18px; }
.wm-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.wm-card p { margin: 0; color: var(--wm-muted); }

.wm-callout { border: 1px solid rgba(75,183,242,.22); background: linear-gradient(135deg, rgba(75,183,242,.09), rgba(255,255,255,.02)); border-radius: 30px; padding: 52px; display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; }
.wm-callout h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -.035em; }
.wm-callout p { color: var(--wm-muted); margin: 0; max-width: 760px; font-size: 1.05rem; }

.wm-brotherhood { background: linear-gradient(180deg, transparent, rgba(75,183,242,.045), transparent); }
.wm-quote { font-size: clamp(1.7rem, 3.4vw, 3.1rem); line-height: 1.18; letter-spacing: -.03em; max-width: 950px; margin: 30px auto 0; font-weight: 800; }
.wm-quote strong { color: var(--wm-blue-2); }

.wm-list { display: grid; gap: 13px; margin-top: 24px; padding: 0; list-style: none; }
.wm-list li { color: #dbe8f0; }
.wm-list li:before { content: "✓"; color: var(--wm-blue); font-weight: 900; margin-right: 10px; }

.wm-about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.wm-about-panel { border-radius: 28px; min-height: 430px; border: 1px solid var(--wm-border); background: radial-gradient(circle at 50% 30%, rgba(75,183,242,.17), transparent 34%), #0d151e; display: grid; place-items: center; padding: 28px; }
.wm-about-panel img { width: 76%; max-width: 420px; }

.wm-final { text-align: center; padding: 104px 0 110px; }
.wm-final-box { border-radius: 34px; padding: 68px 28px; border: 1px solid rgba(75,183,242,.24); background: radial-gradient(circle at 50% 0%, rgba(75,183,242,.15), transparent 40%), #0a1118; box-shadow: var(--wm-shadow); }
.wm-final-logo { width: 190px; margin-bottom: 20px; }
.wm-final h2 { font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.045em; margin: 0 auto 18px; max-width: 900px; }
.wm-final p { color: var(--wm-muted); font-size: 1.12rem; max-width: 760px; margin: 0 auto 28px; }

.wm-footer { border-top: 1px solid var(--wm-border); padding: 34px 0; color: #8ea0ad; font-size: .92rem; }
.wm-footer-grid { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.wm-footer-links { display: flex; gap: 18px; flex-wrap: wrap; }

.wm-mobile-toggle { display: none; background: none; border: 0; color: white; font-size: 1.5rem; }

@media (max-width: 900px) {
  .wm-hero-grid, .wm-about, .wm-callout { grid-template-columns: 1fr; }
  .wm-grid-3 { grid-template-columns: 1fr; }
  .wm-grid-2 { grid-template-columns: 1fr; }
  .wm-strip-grid { grid-template-columns: 1fr 1fr; }
  .wm-strip-item:nth-child(2) { border-right: 0; }
  .wm-strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--wm-border); }
  .wm-menu { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 22px; background: #0a1118; border-bottom: 1px solid var(--wm-border); flex-direction: column; align-items: stretch; }
  .wm-menu.is-open { display: flex; }
  .wm-mobile-toggle { display: block; }
  .wm-header .wm-btn--primary.wm-desktop-cta { display: none; }
  .wm-hero-card { min-height: 430px; }
  .wm-callout { padding: 38px 28px; }
}

@media (max-width: 560px) {
  .wm-container { width: min(100% - 28px, 1180px); }
  .wm-section { padding: 70px 0; }
  .wm-hero { padding-top: 60px; }
  .wm-brand img { width: 126px; }
  .wm-strip-grid { grid-template-columns: 1fr; }
  .wm-strip-item { border-right: 0; border-bottom: 1px solid var(--wm-border); }
  .wm-strip-item:last-child { border-bottom: 0; }
  .wm-proof { display: grid; gap: 10px; }
  .wm-hero-card { min-height: 340px; }
  .wm-floating-tag { font-size: .78rem; }
  .wm-final-box { padding: 52px 20px; }
}

.wm-card-title-large { font-size: clamp(2rem,4vw,3.3rem); line-height: 1.06; margin: 18px 0 12px; }
.wm-skool-note { margin-top: 15px; color: #98aab7; font-weight: 700; }


/* v1.3 Tools dropdown + normal WordPress pages */
.wm-tools-menu{position:relative}
.wm-tools-toggle{background:none;border:0;color:#d9e4ec;font:inherit;cursor:pointer;padding:10px 0;display:flex;align-items:center;gap:5px}
.wm-tools-toggle:hover{color:#fff}
.wm-tools-dropdown{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);width:260px;padding:10px;background:#0a1118;border:1px solid var(--wm-border);border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.35);z-index:100}
.wm-tools-menu:hover .wm-tools-dropdown,.wm-tools-menu.is-open .wm-tools-dropdown{display:block}
.wm-tools-dropdown a{display:block;padding:10px 12px;border-radius:8px;white-space:nowrap}
.wm-tools-dropdown a:hover{background:rgba(255,255,255,.06)}
.wm-page-main{padding:120px 0 70px;min-height:70vh}
.wm-page-shell{width:100%}
.wm-page-heading{margin-bottom:24px}
.wm-page-kicker{font-size:.78rem;font-weight:800;letter-spacing:.12em;color:var(--wm-yellow,#f2c230);margin-bottom:8px}
.wm-page-heading h1{margin:0;font-size:clamp(2rem,4vw,3.5rem)}
.wm-page-content{width:100%}
@media(max-width:900px){
 .wm-tools-menu{width:100%}
 .wm-tools-toggle{width:100%;justify-content:space-between;padding:8px 0}
 .wm-tools-dropdown{position:static;transform:none;width:100%;box-shadow:none;margin-top:5px;background:rgba(255,255,255,.03)}
 .wm-tools-menu:hover .wm-tools-dropdown{display:none}
 .wm-tools-menu.is-open .wm-tools-dropdown{display:block}
 .wm-tools-dropdown a{white-space:normal}
}


/* v1.4 Editable WordPress Primary Menu */
.wm-menu .wm-menu-list{
  list-style:none;
  display:flex;
  align-items:center;
  gap:24px;
  margin:0;
  padding:0;
}
.wm-menu .wm-menu-list > li{
  position:relative;
  margin:0;
}
.wm-menu .wm-menu-list a{
  text-decoration:none;
}
.wm-menu .menu-item-has-children > a::after{
  content:" ▾";
  font-size:.8em;
}
.wm-menu .sub-menu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:250px;
  list-style:none;
  margin:0;
  padding:10px;
  background:#0a1118;
  border:1px solid var(--wm-border);
  border-radius:12px;
  box-shadow:0 18px 50px rgba(0,0,0,.35);
  z-index:200;
}
.wm-menu .menu-item-has-children:hover > .sub-menu,
.wm-menu .menu-item-has-children:focus-within > .sub-menu{
  display:block;
}
.wm-menu .sub-menu li{
  margin:0;
}
.wm-menu .sub-menu a{
  display:block;
  padding:10px 12px;
  white-space:nowrap;
  border-radius:8px;
}
.wm-menu .sub-menu a:hover{
  background:rgba(255,255,255,.06);
}

@media(max-width:900px){
  .wm-menu .wm-menu-list{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    width:100%;
  }
  .wm-menu .wm-menu-list > li{
    width:100%;
  }
  .wm-menu .wm-menu-list a{
    display:block;
    padding:10px 0;
  }
  .wm-menu .sub-menu{
    display:block;
    position:static;
    min-width:0;
    box-shadow:none;
    margin:0 0 4px 12px;
    padding:0 0 0 12px;
    border:0;
    border-left:1px solid var(--wm-border);
    border-radius:0;
    background:transparent;
  }
  .wm-menu .sub-menu a{
    white-space:normal;
    padding:8px 0;
  }
}
