/*
Theme Name: Computing Made Easy
Theme URI: https://computingmadeeasy.org
Author: Computing Made Easy / Smart Touch Homes
Author URI: https://computingmadeeasy.org
Description: Custom navy / electric-blue marketing theme for Computing Made Easy — IT, Smart Home (Smart Touch Homes), and Security. Classic PHP templates, no page builder required.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: computing-made-easy
Tags: custom-menu, custom-logo, one-column, two-columns, accessibility-ready, translation-ready
*/

/* ==========================================================================
   Design tokens — navy #0B1F3A / electric #2563EB
   ========================================================================== */
:root {
  --cme-navy: #0b1f3a;
  --cme-electric: #2563eb;
  --cme-electric-hover: #1d4ed8;
  --cme-electric-soft: #dbeafe;
  --cme-muted: #64748b;
  --cme-surface: #f8fafc;
  --cme-bg: #ffffff;
  --cme-fg: #0b1f3a;
  --cme-radius: 1rem;
  --cme-radius-lg: 1.25rem;
  --cme-radius-full: 9999px;
  --cme-shadow: 0 1px 2px rgba(11, 31, 58, 0.06), 0 1px 3px rgba(11, 31, 58, 0.08);
  --cme-shadow-md: 0 4px 12px rgba(11, 31, 58, 0.1);
  --cme-max: 72rem;
  --cme-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cme-fade-up, .cme-fade-up-d1, .cme-fade-up-d2, .cme-fade-up-d3 { animation: none !important; }
}
body {
  margin: 0;
  font-family: var(--cme-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cme-fg);
  background: var(--cme-bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cme-electric); text-decoration: none; }
a:hover { color: var(--cme-electric-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--cme-navy); }
p { margin: 0; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--cme-electric);
  outline-offset: 2px;
}

.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  width: auto; height: auto; margin: 0; clip: auto; overflow: visible;
  background: var(--cme-electric); color: #fff;
  padding: 0.5rem 1rem; border-radius: 0.5rem; font-weight: 600;
}

/* Layout */
.cme-wrap {
  width: 100%;
  max-width: var(--cme-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .cme-wrap { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .cme-wrap { padding-left: 2rem; padding-right: 2rem; }
}

#main {
  flex: 1;
  padding-bottom: 4rem; /* room for mobile call bar */
}
@media (min-width: 768px) {
  #main { padding-bottom: 0; }
}

/* Hero mesh background */
.cme-hero-mesh {
  background-image:
    radial-gradient(circle at 80% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 90% 80%, rgba(11, 31, 58, 0.06) 0%, transparent 45%);
}

@keyframes cme-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.cme-fade-up { animation: cme-fade-up 0.6s ease-out both; }
.cme-fade-up-d1 { animation: cme-fade-up 0.6s ease-out 0.1s both; }
.cme-fade-up-d2 { animation: cme-fade-up 0.6s ease-out 0.2s both; }
.cme-fade-up-d3 { animation: cme-fade-up 0.6s ease-out 0.3s both; }

/* Buttons */
.cme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--cme-radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.cme-btn:focus-visible {
  outline: 2px solid var(--cme-electric);
  outline-offset: 2px;
}
.cme-btn--primary {
  background: var(--cme-electric);
  color: #fff;
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
}
.cme-btn--primary:hover {
  background: var(--cme-electric-hover);
  color: #fff;
}
.cme-btn--secondary {
  background: #fff;
  color: var(--cme-navy);
  border-color: rgba(11, 31, 58, 0.2);
}
.cme-btn--secondary:hover {
  border-color: rgba(11, 31, 58, 0.4);
  background: var(--cme-surface);
  color: var(--cme-navy);
}
.cme-btn--outline {
  background: #fff;
  color: var(--cme-electric);
  border-color: var(--cme-electric);
}
.cme-btn--outline:hover {
  background: var(--cme-electric-soft);
  color: var(--cme-electric);
}
.cme-btn--ghost {
  background: transparent;
  color: var(--cme-electric);
}
.cme-btn--ghost:hover { background: var(--cme-electric-soft); }
.cme-btn--ghost-light {
  background: transparent;
  color: #fff;
}
.cme-btn--ghost-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.cme-btn--on-navy {
  background: #fff;
  color: var(--cme-navy);
}
.cme-btn--on-navy:hover { background: #eff6ff; color: var(--cme-navy); }
.cme-btn--full { width: 100%; }
.cme-btn svg { width: 1rem; height: 1rem; flex-shrink: 0; }

.cme-btn-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .cme-btn-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cme-btn-row .cme-btn { width: auto; }
}
.cme-btn-row .cme-btn { width: 100%; }
@media (min-width: 640px) {
  .cme-btn-row .cme-btn { width: auto; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.cme-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 31, 58, 0.05);
}
.cme-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.cme-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: inherit;
  text-decoration: none;
  border-radius: 0.5rem;
}
.cme-logo:hover { color: inherit; }
.cme-logo__mark { width: 2rem; height: 2rem; flex-shrink: 0; }
.cme-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.cme-logo__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cme-navy);
}
@media (min-width: 640px) {
  .cme-logo__name { font-size: 1rem; }
}
.cme-logo__sub {
  display: none;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--cme-electric);
}
@media (min-width: 640px) {
  .cme-logo__sub { display: block; }
}

.cme-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .cme-nav { display: flex; }
}
.cme-nav a,
.cme-nav .menu-item a {
  display: block;
  padding: 0.5rem 0.75rem;
  border-radius: var(--cme-radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(11, 31, 58, 0.8);
  text-decoration: none;
  transition: color 0.15s;
}
.cme-nav a:hover,
.cme-nav .menu-item a:hover { color: var(--cme-navy); }
.cme-nav .current-menu-item > a,
.cme-nav a[aria-current="page"] {
  color: var(--cme-electric);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}
.cme-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }

.cme-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cme-header__quote-lg { display: none; }
.cme-header__quote-sm { display: inline-flex; padding: 0.5rem 0.75rem; font-size: 0.75rem; }
@media (min-width: 640px) {
  .cme-header__quote-lg { display: inline-flex; }
  .cme-header__quote-sm { display: none; }
}

.cme-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  color: var(--cme-navy);
  border-radius: 0.5rem;
  cursor: pointer;
}
@media (min-width: 768px) {
  .cme-menu-toggle { display: none; }
}
.cme-menu-toggle svg { width: 1.5rem; height: 1.5rem; }
.cme-menu-toggle .cme-icon-close { display: none; }
.cme-menu-toggle[aria-expanded="true"] .cme-icon-menu { display: none; }
.cme-menu-toggle[aria-expanded="true"] .cme-icon-close { display: block; }

.cme-mobile-nav {
  display: none;
  border-top: 1px solid rgba(11, 31, 58, 0.05);
  background: #fff;
  padding: 1rem;
}
.cme-mobile-nav.is-open { display: block; }
@media (min-width: 768px) {
  .cme-mobile-nav { display: none !important; }
}
.cme-mobile-nav nav,
.cme-mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cme-mobile-nav a {
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cme-navy);
  text-decoration: none;
}
.cme-mobile-nav a:hover { background: var(--cme-surface); }
.cme-mobile-nav .cme-mobile-call {
  font-weight: 600;
  color: var(--cme-electric);
}

/* ==========================================================================
   Front page / hero
   ========================================================================== */
.cme-hero {
  position: relative;
  overflow: hidden;
}
.cme-hero__grid {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .cme-hero__grid { padding-top: 5rem; padding-bottom: 5rem; }
}
@media (min-width: 1024px) {
  .cme-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
.cme-hero h1 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
}
@media (min-width: 640px) {
  .cme-hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .cme-hero h1 { font-size: 3.25rem; line-height: 1.1; }
}
.cme-hero h1 .cme-accent { color: var(--cme-electric); }
.cme-hero__lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  border-left: 4px solid var(--cme-navy);
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(11, 31, 58, 0.8);
}
@media (min-width: 640px) {
  .cme-hero__lead { font-size: 1.125rem; }
}
.cme-hero__art {
  display: none;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .cme-hero__art { display: block; }
}
.cme-hero__art svg { width: 100%; height: auto; }

/* Page hero (inner pages) */
.cme-page-hero {
  border-bottom: 1px solid rgba(11, 31, 58, 0.05);
}
.cme-page-hero__inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .cme-page-hero__inner { padding-top: 5rem; padding-bottom: 5rem; }
}
.cme-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cme-electric);
  margin: 0;
}
.cme-page-hero h1 {
  margin-top: 0.5rem;
  max-width: 40rem;
  font-size: 2.25rem;
}
@media (min-width: 640px) {
  .cme-page-hero h1 { font-size: 3rem; }
}
.cme-page-hero h1 .cme-accent { color: var(--cme-electric); }
.cme-page-hero__desc {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cme-muted);
}
@media (min-width: 640px) {
  .cme-page-hero__desc { font-size: 1.125rem; }
}

.cme-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.cme-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--cme-radius-full);
  background: var(--cme-electric-soft);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cme-navy);
}

/* Section heading */
.cme-section-head {
  max-width: 42rem;
}
.cme-section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.cme-section-head__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cme-electric);
  margin: 0;
}
.cme-section-head h2 {
  margin-top: 0.5rem;
  font-size: 1.875rem;
}
@media (min-width: 640px) {
  .cme-section-head h2 { font-size: 2.25rem; }
}
.cme-section-head__desc {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cme-muted);
}

.cme-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.cme-section--tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.cme-section--surface { background: var(--cme-surface); }

/* Funnel cards */
.cme-funnels {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .cme-funnels {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}
.cme-funnel {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--cme-radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: #fff;
  box-shadow: var(--cme-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cme-funnel:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--cme-shadow-md);
  color: inherit;
}
@media (min-width: 640px) {
  .cme-funnel {
    flex-direction: column;
    align-items: flex-start;
  }
}
.cme-funnel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cme-electric);
  color: #fff;
}
.cme-funnel__icon svg { width: 1.5rem; height: 1.5rem; }
.cme-funnel__body { min-width: 0; flex: 1; }
.cme-funnel__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.cme-funnel__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cme-navy);
}
.cme-funnel__arrow {
  width: 1rem;
  height: 1rem;
  color: var(--cme-electric);
  opacity: 0.7;
  transition: transform 0.2s, opacity 0.2s;
}
.cme-funnel:hover .cme-funnel__arrow {
  transform: translateX(2px);
  opacity: 1;
}
.cme-funnel__desc {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--cme-muted);
}

/* Trust strip */
.cme-trust {
  border-top: 1px solid rgba(11, 31, 58, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  margin-top: 1rem;
}
.cme-trust__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cme-navy);
}
@media (min-width: 640px) {
  .cme-trust__list { font-size: 1rem; }
}
.cme-trust__dot {
  color: var(--cme-electric);
  margin: 0 0.25rem;
}

/* CTA band */
.cme-cta-band {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .cme-cta-band {
    flex-direction: row;
    align-items: center;
  }
}
.cme-cta-band h2 {
  font-size: 1.5rem;
}
@media (min-width: 640px) {
  .cme-cta-band h2 { font-size: 1.875rem; }
}
.cme-cta-band p {
  margin-top: 0.5rem;
  max-width: 32rem;
  color: var(--cme-muted);
}

/* Feature / service cards */
.cme-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .cme-cards--2 { grid-template-columns: repeat(2, 1fr); }
  .cme-cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cme-cards--4 { grid-template-columns: repeat(4, 1fr); }
  .cme-cards--3 { grid-template-columns: repeat(3, 1fr); }
}
.cme-card {
  border-radius: var(--cme-radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--cme-shadow);
}
.cme-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--cme-electric);
  color: #fff;
}
.cme-card__icon svg { width: 1.5rem; height: 1.5rem; }
.cme-card__icon--soft {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--cme-electric-soft);
  color: var(--cme-electric);
}
.cme-card h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
}
.cme-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--cme-muted);
}

.cme-why-card {
  display: flex;
  gap: 0.75rem;
  border-radius: var(--cme-radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.05);
  background: #fff;
  padding: 1.25rem;
}
.cme-why-card__icon {
  flex-shrink: 0;
  color: var(--cme-electric);
}
.cme-why-card__icon svg { width: 1.75rem; height: 1.75rem; }
.cme-why-card h3 { font-size: 1rem; }
.cme-why-card p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--cme-muted);
}

/* Packages */
.cme-packages {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .cme-packages { grid-template-columns: repeat(3, 1fr); }
}
.cme-pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--cme-radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--cme-shadow);
  transition: box-shadow 0.2s;
}
.cme-pkg:hover { box-shadow: var(--cme-shadow-md); }
.cme-pkg--popular {
  border-color: var(--cme-electric);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}
.cme-pkg__badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--cme-radius-full);
  background: var(--cme-electric);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cme-pkg__badge svg { width: 0.75rem; height: 0.75rem; }
.cme-pkg h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
}
.cme-pkg__sub {
  font-size: 0.875rem;
  color: var(--cme-muted);
}
.cme-pkg__features {
  margin-top: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.cme-pkg__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(11, 31, 58, 0.8);
}
.cme-pkg__features svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--cme-electric);
}
.cme-pkg__price {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cme-navy);
}
.cme-pkg .cme-btn { margin-top: 1rem; }
.cme-pkg-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--cme-muted);
}
.cme-pkg-note svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Steps */
.cme-steps {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cme-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(11, 31, 58, 0.8);
}
.cme-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cme-electric);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Navy panel CTA */
.cme-navy-panel {
  border-radius: 1.5rem;
  background: var(--cme-navy);
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .cme-navy-panel { padding: 2.5rem; }
}
.cme-navy-panel h2 {
  color: #fff;
  font-size: 1.5rem;
}
@media (min-width: 640px) {
  .cme-navy-panel h2 { font-size: 1.875rem; }
}
.cme-navy-panel p {
  margin: 0.75rem auto 0;
  max-width: 32rem;
  color: #dbeafe;
}
.cme-navy-panel .cme-btn-row {
  justify-content: center;
  align-items: center;
}
.cme-navy-card {
  border-radius: 1.5rem;
  background: var(--cme-navy);
  color: #fff;
  padding: 2rem;
}
.cme-navy-card h3 { color: #fff; font-size: 1.25rem; }
.cme-navy-card p { margin-top: 0.5rem; font-size: 0.875rem; color: #dbeafe; }
.cme-navy-card .cme-btn { margin-top: 1.5rem; }

.cme-split {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .cme-split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* Contact */
.cme-contact-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 1024px) {
  .cme-contact-grid {
    grid-template-columns: 2fr 3fr;
  }
}
.cme-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cme-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--cme-radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: #fff;
  box-shadow: var(--cme-shadow);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
a.cme-contact-card:hover {
  border-color: rgba(37, 99, 235, 0.3);
  color: inherit;
}
.cme-contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cme-electric);
  color: #fff;
}
.cme-contact-card__icon svg { width: 1.25rem; height: 1.25rem; }
.cme-contact-card__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cme-muted);
}
.cme-contact-card__value {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--cme-navy);
  word-break: break-word;
}
.cme-contact-card__value--sm { font-size: 1rem; }

/* Form */
.cme-form {
  border-radius: var(--cme-radius-lg);
  border: 1px solid rgba(11, 31, 58, 0.1);
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--cme-shadow);
}
.cme-form__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .cme-form__row--2 { grid-template-columns: 1fr 1fr; }
}
.cme-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cme-navy);
}
.cme-form input,
.cme-form select,
.cme-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.375rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(11, 31, 58, 0.15);
  background: #fff;
  color: var(--cme-navy);
  appearance: none;
  -webkit-appearance: none;
}
.cme-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}
.cme-form input::placeholder,
.cme-form textarea::placeholder { color: rgba(100, 116, 139, 0.6); }
.cme-form input:focus,
.cme-form select:focus,
.cme-form textarea:focus {
  border-color: var(--cme-electric);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}
.cme-form textarea { resize: vertical; min-height: 6rem; }
.cme-form__note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--cme-muted);
}
.cme-form__status {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--cme-muted);
}
.cme-form__status a { font-weight: 500; text-decoration: underline; }

/* Footer */
.cme-footer {
  margin-top: auto;
  background: var(--cme-navy);
  color: #fff;
  border-top: 1px solid rgba(11, 31, 58, 0.05);
}
.cme-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .cme-footer__grid { grid-template-columns: repeat(3, 1fr); }
}
.cme-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.cme-footer__brand .cme-logo__mark { filter: brightness(0) invert(1); }
.cme-footer__brand-name { font-weight: 700; color: #fff; }
.cme-footer__brand-sub { font-size: 0.875rem; color: #bfdbfe; }
.cme-footer__blurb {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(219, 234, 254, 0.8);
}
.cme-footer__heading {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #bfdbfe;
  margin: 0 0 0.75rem;
}
.cme-footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.cme-footer__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.cme-footer__links a:hover { color: #fff; }
.cme-footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.cme-footer__contact a,
.cme-footer__contact span {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.cme-footer__contact a:hover { color: #fff; }
.cme-footer__contact svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.cme-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(191, 219, 254, 0.7);
}

/* Mobile sticky call bar */
.cme-callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
}
@media (min-width: 768px) {
  .cme-callbar { display: none; }
}
.cme-callbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--cme-electric);
  color: #fff;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 -4px 16px rgba(37, 99, 235, 0.3);
  transition: background 0.2s;
}
.cme-callbar a:hover { background: var(--cme-electric-hover); color: #fff; }
.cme-callbar svg { width: 1.25rem; height: 1.25rem; }

/* Generic page / fallback */
.cme-content {
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: 48rem;
}
.cme-content h1 { margin-bottom: 1.5rem; font-size: 2.25rem; }
.cme-content p { margin-bottom: 1rem; color: rgba(11, 31, 58, 0.85); }
.cme-content ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.cme-content a { text-decoration: underline; }

/* Utility */
.cme-mt-0 { margin-top: 0; }
.cme-text-muted { color: var(--cme-muted); }
.cme-text-sm { font-size: 0.875rem; }
