@charset "UTF-8";
/*
Theme Name:   WaaS Base
Theme URI:    https://rockintuit.com
Description:  Standalone PARENT theme for every WaaS-provisioned client site — not a child of 'sitelab' (the storefront theme is unrelated). Owns everything shared across every tier/design: header/footer, the ACF Business Info/Social options pages, LocalBusiness schema, the wb_field()/wb_option() helpers, WooCommerce support, and the brand-override CSS custom-property contract below. Each actual site design is one of unlimited child themes (Template: waas-base) — e.g. waas-starter-1, waas-starter-2 — that supply only their own front-page.php/page-templates + ACF field group. Never hardcode brand values here — always read var(--waas-color-primary, <fallback>) etc. so the per-client override file (enqueued after this stylesheet) can win.
Author:       RockIntuit
Author URI:   https://rockintuit.com
Version:      0.2.0
Requires PHP: 8.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  waas-base
*/

/* ── BRAND TOKENS ──────────────────────────────────────────
 * Contract with includes/css-generator.php in waas-site-builder.
 * Generic fallbacks only — real values arrive via the per-site
 * brand-overrides.css file enqueued at priority 100 after this
 * stylesheet (see waas_sb_enqueue_brand_overrides()).
 */
:root {
  --waas-color-primary: #1a1a1a;
  --waas-color-secondary: #0073aa;
  --waas-font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --waas-logo-url: none;

  /* ── Neutral tokens (not brand-controlled, safe to hardcode) ── */
  --wb-white: #ffffff;
  --wb-gray-50: #f8fafc;
  --wb-gray-100: #f1f5f9;
  --wb-gray-200: #e2e8f0;
  --wb-gray-400: #94a3b8;
  --wb-gray-600: #475569;
  --wb-gray-800: #1e293b;
  --wb-text: #0f172a;
  --wb-success: #16a34a;
  --wb-max-w: 1140px;
  --wb-radius: 10px;
  --wb-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  --wb-ease: 0.2s ease;
}

/* ── BASE ──────────────────────────────────────────────────── */
body {
  font-family: var(--waas-font-base);
  color: var(--wb-text);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--wb-text);
}

a {
  color: var(--waas-color-secondary);
}

.wb-container {
  max-width: var(--wb-max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.wb-container--narrow {
  max-width: 640px;
}

.wb-section {
  padding-block: 72px;
}

.wb-section--alt {
  background: var(--wb-gray-50);
}

.wb-section__title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  margin-block-end: 12px;
}

.wb-section__sub {
  color: var(--wb-gray-600);
  max-width: 640px;
  margin-block-end: 40px;
}

/* Optional image shown above (default) a section's headline — see
   wb_section_graphic() in inc/helpers.php. Basics only by design;
   child themes override for anything more opinionated. */
.wb-section__graphic {
  margin-block-end: 20px;
}

.wb-section__graphic img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  width: auto;
  height: auto;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.wb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--wb-radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--wb-ease), box-shadow var(--wb-ease), opacity var(--wb-ease);
  border: 2px solid transparent;
}

.wb-btn:hover {
  transform: translateY(-1px);
}

.wb-btn--primary {
  background: var(--waas-color-primary);
  color: var(--wb-white);
}

.wb-btn--primary:hover {
  opacity: 0.9;
}

.wb-btn--outline {
  border-color: var(--waas-color-primary);
  color: var(--waas-color-primary);
}

.wb-btn--outline:hover {
  background: var(--waas-color-primary);
  color: var(--wb-white);
}

.wb-btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ── LOGO (falls back to site title if no --waas-logo-url set) ── */
.wb-logo-fallback {
  display: none;
}

.custom-logo-link[style*="--waas-logo-url"] {
  background-image: var(--waas-logo-url);
}

/* ── HERO ──────────────────────────────────────────────────── */
.wb-hero {
  padding-block: 96px 80px;
  background: linear-gradient(180deg, var(--wb-gray-50), var(--wb-white));
  text-align: center;
}

.wb-hero__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 24px;
}

.wb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--waas-color-secondary);
  margin-block-end: 16px;
}

.wb-hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.wb-hero__headline {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem);
  margin-block-end: 18px;
}

.wb-hero__subheadline {
  font-size: 1.15rem;
  color: var(--wb-gray-600);
  margin-block-end: 32px;
}

.wb-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.wb-hero__note {
  margin-block-start: 18px;
  font-size: 0.85rem;
  color: var(--wb-gray-400);
}

/* ── SERVICES SUMMARY ──────────────────────────────────────── */
/* Flexbox, not CSS Grid — a fluid auto-fit grid shares one fixed set
 * of column tracks across every row, so there's no way to center a
 * lone leftover card in an odd-count last row without hardcoding a
 * column count. Flexbox centers each wrapped line independently, so
 * an odd number of services (or any partially-filled last row) is
 * centered automatically, at any viewport width, with no JS and no
 * breakpoint-specific nth-child overrides. Site-wide: every WaaS
 * theme's Services Summary section shares this one rule via
 * waas-base. */
.wb-services__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.wb-service-card {
  flex: 1 1 240px;
  max-width: 360px;
  background: var(--wb-white);
  border: 1px solid var(--wb-gray-200);
  border-radius: var(--wb-radius);
  padding: 28px;
  box-shadow: var(--wb-shadow);
  display: flex;
  flex-direction: column;
}

.wb-service-card__icon {
  font-size: 1.8rem;
  margin-block-end: 14px;
}

.wb-service-card__icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.wb-service-card__title {
  font-size: 1.15rem;
  margin-block-end: 8px;
}

.wb-service-card__desc {
  color: var(--wb-gray-600);
  font-size: 0.95rem;
}

.wb-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-block-start: auto;
  padding-block-start: 16px;
  margin-block-end: -4px;
  padding-block-end: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--waas-color-secondary, var(--wb-gray-800));
  text-decoration: none;
}

.wb-service-card__link:hover {
  text-decoration: underline;
}

/* ── FEATURE / BENEFIT GRID ────────────────────────────────── */
/* Same card language as Services Summary above (icon/title/desc) —
 * template-parts/sections/feature-grid.php has existed since the
 * theme-tier merge but never had matching CSS until this pass, so it
 * rendered completely unstyled wherever it was used. */
.wb-feature-grid {
  display: grid;
  grid-template-columns: repeat(var(--wb-feature-grid-cols, 3), minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 900px) {
  .wb-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.wb-feature-card {
  background: var(--wb-white);
  border: 1px solid var(--wb-gray-200);
  border-radius: var(--wb-radius);
  padding: 28px;
  box-shadow: var(--wb-shadow);
}

.wb-feature-card__icon {
  font-size: 1.8rem;
  margin-block-end: 14px;
}

.wb-feature-card__icon img {
  width: 48px;
  height: 48px;
  display: block;
}

.wb-feature-card__title {
  font-size: 1.15rem;
  margin-block-end: 8px;
}

.wb-feature-card__desc {
  color: var(--wb-gray-600);
  font-size: 0.95rem;
}

/* ── NAP BLOCK ─────────────────────────────────────────────── */
.wb-nap {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: var(--wb-gray-50);
  border-radius: var(--wb-radius);
  padding: 28px;
}

.wb-nap__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wb-nap__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--wb-gray-400);
}

.wb-nap__value a {
  color: var(--wb-text);
  text-decoration: none;
}

.wb-hours {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wb-hours li {
  display: flex;
  justify-content: space-between;
  padding-block: 4px;
  border-bottom: 1px dashed var(--wb-gray-200);
  font-size: 0.9rem;
}

/* ── CONTACT / LEAD FORM ───────────────────────────────────── */
.wb-lead-form {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}

.wb-lead-form__headline {
  margin-block-end: 8px;
}

.wb-lead-form__sub {
  color: var(--wb-gray-600);
  margin-block-end: 28px;
}

.wb-lead-form__no-form {
  color: var(--wb-gray-400);
  font-style: italic;
}

/* ── SITE HEADER / NAV ─────────────────────────────────────── */
/* waas-base is a standalone parent theme (no longer a child of
 * 'sitelab'), so these rules — previously inherited from that
 * theme's own style.css — now need to live here. */
.wb-site-header {
  border-bottom: 1px solid var(--wb-gray-200);
  background: var(--wb-white);
}

.wb-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px;
}

.wb-site-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wb-text);
  text-decoration: none;
}

.custom-logo-link {
  display: inline-block;
}

.wb-main-navigation ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wb-main-navigation a {
  color: var(--wb-text);
  text-decoration: none;
  font-weight: 500;
}

.wb-main-navigation a:hover {
  color: var(--waas-color-secondary);
}

.wb-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--wb-gray-200);
  border-radius: var(--wb-radius);
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 700px) {
  .wb-menu-toggle {
    display: inline-flex;
  }

  .wb-main-navigation ul {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--wb-white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--wb-gray-200);
  }

  .wb-main-navigation.is-open ul {
    display: flex;
  }

  .wb-site-header__inner {
    position: relative;
  }
}

/* Starter-tier (single-page) sites: the toggle nav is always on, at
 * every screen size — never the full inline desktop menu. The
 * `wb-tier-starter` body class comes from waas_base_body_class() in
 * inc/theme-setup.php. These rules mirror the mobile block above
 * exactly, just without the @media gate. */
body.wb-tier-starter .wb-menu-toggle {
  display: inline-flex;
}

body.wb-tier-starter .wb-main-navigation ul {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--wb-white);
  padding: 20px 24px;
  border-bottom: 1px solid var(--wb-gray-200);
}

body.wb-tier-starter .wb-main-navigation.is-open ul {
  display: flex;
}

body.wb-tier-starter .wb-site-header__inner {
  position: relative;
}

/* ── SITE FOOTER ───────────────────────────────────────────── */
.wb-site-footer {
  border-top: 1px solid var(--wb-gray-200);
  background: var(--wb-gray-50);
  padding-block: 28px;
}

.wb-site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--wb-gray-600);
}

.wb-site-footer__copy {
  margin: 0;
}

#wb-footer-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#wb-footer-menu a {
  color: var(--wb-gray-600);
  text-decoration: none;
}

/* ── ABOUT / STORY SECTION (starter-2 and beyond) ──────────── */
.wb-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.wb-about--with-image {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 780px) {
  .wb-about--with-image {
    grid-template-columns: minmax(0, 1fr);
  }
}

.wb-about__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--waas-color-secondary);
  margin-block-end: 12px;
}

.wb-about__body p {
  color: var(--wb-gray-600);
  margin-block-end: 16px;
}

.wb-about__benefits {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.wb-about__benefits li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.wb-about__benefits li::before {
  content: "✓";
  color: var(--wb-success);
  font-weight: 700;
}

.wb-about__image img {
  width: 100%;
  height: auto;
  border-radius: var(--wb-radius);
  box-shadow: var(--wb-shadow);
}

/* ── LOCAL INFO (hours + map + service area — starter-3 and beyond) ── */
.wb-local {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.wb-local__panel {
  background: var(--wb-white);
  border: 1px solid var(--wb-gray-200);
  border-radius: var(--wb-radius);
  padding: 24px;
}

.wb-local__panel-title {
  font-size: 1rem;
  font-weight: 700;
  margin-block-end: 14px;
}

.wb-local__area {
  color: var(--wb-gray-600);
  font-size: 0.95rem;
}

.wb-local__map {
  border-radius: var(--wb-radius);
  overflow: hidden;
  border: 1px solid var(--wb-gray-200);
  aspect-ratio: 4 / 3;
}

.wb-local__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.wb-local__map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wb-gray-400);
  font-style: italic;
  background: var(--wb-gray-50);
  text-align: center;
  padding: 16px;
}

/* ── TESTIMONIALS (starter-1 and beyond — build.md #23) ───────── */
.wb-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.wb-testimonial-card {
  background: var(--wb-white);
  border: 1px solid var(--wb-gray-200);
  border-radius: var(--wb-radius);
  padding: 28px;
  box-shadow: var(--wb-shadow);
  display: flex;
  flex-direction: column;
}

.wb-testimonial-card__mark {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--waas-color-secondary);
  margin-block-end: 8px;
}

.wb-testimonial-card__quote {
  font-style: italic;
  color: var(--wb-text);
  margin-block-end: 16px;
  flex-grow: 1;
}

.wb-testimonial-card__author {
  font-weight: 700;
  font-size: 0.95rem;
}

.wb-testimonial-card__role {
  color: var(--wb-gray-600);
  font-size: 0.85rem;
}

/* ── CREDENTIALS / TRUST BADGES (starter-1 and beyond — build.md #23) ── */
/* Deliberately a plain pill list, not a card grid — this is meant to
 * read as a quick trust signal (licensed/certified/press mentions),
 * not compete visually with the Testimonials cards right above it. */
.wb-credentials {
  text-align: center;
}

.wb-credentials__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wb-credentials__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wb-white);
  border: 1px solid var(--wb-gray-200);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.wb-credentials__badge::before {
  content: "✓";
  color: var(--wb-success);
}

/* ── FAQ (starter-1 and beyond — build.md #23/#24) ─────────────── */
.wb-faq-list {
  display: grid;
  gap: 4px;
}

.wb-faq-item {
  border-bottom: 1px solid var(--wb-gray-200);
  padding-block: 20px;
}

.wb-faq-item:first-child {
  border-top: 1px solid var(--wb-gray-200);
}

.wb-faq-item__q {
  font-size: 1.05rem;
  margin: 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wb-faq-item__q::-webkit-details-marker {
  display: none;
}

.wb-faq-item__q::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--wb-gray-600);
  transition: transform 0.2s var(--wb-ease, ease);
}

.wb-faq-item[open] .wb-faq-item__q::after {
  transform: rotate(45deg);
}

.wb-faq-item__a {
  color: var(--wb-gray-600);
  margin: 12px 0 0;
}

/* ── TEAM (starter-1 and beyond — build.md #23) ────────────────── */
.wb-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.wb-team-card {
  text-align: center;
}

.wb-team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--wb-gray-100);
  color: var(--wb-gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 14px;
}

.wb-team-card__name {
  font-size: 1.05rem;
  margin-block-end: 2px;
}

.wb-team-card__role {
  color: var(--waas-color-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-block-end: 10px;
}

.wb-team-card__bio {
  color: var(--wb-gray-600);
  font-size: 0.9rem;
}
