
/* PNW Electrical Engineering — Professional One-Page Site
   Color system uses accessible blues; typography balances modern + technical.
*/
:root {
  --brand-navy: #0F2A4A;
  --brand-blue: #145DA0;
  --brand-sky: #E8F1FB;
  --brand-ink: #1A1F2B;
  --brand-accent: #2C7BE5;
  --text: #0B1120;
  --muted: #5B6475;
  --bg: #FFFFFF;
  --ring: rgba(44, 123, 229, 0.35);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 74, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  backdrop-filter: saturate(140%) blur(8px);
  background: color-mix(in srgb, var(--bg) 80%, white 20%);
  border-bottom: 1px solid #eef2f7;
  z-index: 40;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 0;
}

.nav .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand img {
  height: 36px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.nav .links {
  margin-left: auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}

.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-blue));
  color: white;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
}

.cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cta:active { transform: translateY(0); }

.hero {
  background: radial-gradient(1000px 600px at 10% -10%, var(--brand-sky), transparent 60%),
              radial-gradient(800px 500px at 110% -20%, #EAF3FF, transparent 60%);
  padding: 64px 0 40px;
}

.hero .content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

@media (max-width: 920px) {
  .hero .content { grid-template-columns: 1fr; }
}

h1 {
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
  margin: 12px 0 14px;
  color: var(--brand-navy);
}

.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }

.badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.badge {
  background: #F5F9FF;
  border: 1px solid #E3ECFA;
  color: var(--brand-navy);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 600;
  font-size: 13px;
}

.card {
  background: white;
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero .panel {
  padding: 20px;
}

.panel .stamp {
  width: 100%;
  border-radius: 12px;
  border: 1px dashed #cfe0ff;
  padding: 12px;
  background: #fbfdff;
}

.section {
  padding: 60px 0;
}

.section h2 {
  font-size: clamp(22px, 3.6vw, 34px);
  color: var(--brand-navy);
  margin: 0 0 6px;
}

.subtle { color: var(--muted); margin-top: 0; }

.grid {
  display: grid;
  gap: 18px;
}

.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 920px) { .grid.cols-3 { grid-template-columns: 1fr; } }

.service {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.service h3 { margin: 0; color: var(--brand-blue); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 12px;
}

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

.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px dashed #d9e6fb;
  border-radius: 12px;
  background: #fbfdff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  height: 44px; width: 44px;
  background: var(--brand-blue);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(20,93,160,0.25);
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 920px) { .pricing { grid-template-columns: 1fr; } }

.price {
  padding: 18px;
  display: grid;
  gap: 8px;
}

.price .amount {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-navy);
}

.callout {
  padding: 18px;
  border-left: 4px solid var(--brand-accent);
  background: #F7FAFF;
  border-radius: 10px;
  color: var(--ink);
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }

form {
  display: grid;
  gap: 12px;
}

.input, select, textarea, input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  background: white;
}

.input:focus, select:focus, textarea:focus, input[type="file"]:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 6px var(--ring);
}

.help {
  font-size: 12px;
  color: var(--muted);
}

.footer {
  padding: 28px 0 60px;
  border-top: 1px solid #eef2f7;
  color: var(--muted);
  font-size: 14px;
}

.footer .cols {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 18px;
}
@media (max-width: 920px) { .footer .cols { grid-template-columns: 1fr; } }

.small { font-size: 12px; color: var(--muted); }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td { padding: 8px 10px; border-bottom: 1px solid #eef2f7;}
.table th { text-align: left; color: var(--brand-navy); }

.notice { font-size: 12px; color: var(--muted); }

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 18px; }
.mb-6 { margin-bottom: 26px; }
.p-2 { padding: 12px; }
.p-3 { padding: 18px; }
.p-4 { padding: 24px; }
.center { text-align: center; }
.hidden { display: none; }

/* Buttons variants */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 10px; border: 1px solid #cfe0ff;
  background: white; color: var(--brand-blue); font-weight: 700; cursor: pointer;
  text-decoration: none;
}
.btn:hover { background: #f6faff; }

/* Mobile menu */
.mobile-toggle { display: none; }
@media (max-width: 740px) {
  .nav .links { display: none; }
  .mobile-toggle { display: inline-flex; margin-left: auto; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: grid; gap: 10px; padding: 10px 0 16px; }
  .mobile-menu a { padding: 8px 0; border-bottom: 1px solid #eef2f7; }
}


/* ===== Refinements: Process Step Wrapping & Alignment ===== */
.process { 
  gap: 16px; 
}

.step {
  grid-template-columns: 56px 1fr; /* slightly wider index column to avoid wrap */
  align-items: center;             /* center-align the number circle with text */
}

.step::before {
  height: 48px; width: 48px;       /* slightly larger for legibility */
  font-size: 18px;
}

.step > div:last-child {
  word-break: keep-all;
  overflow-wrap: anywhere;         /* allow long words/URLs to break nicely */
  hyphens: auto;
}

.step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--brand-navy);
  line-height: 1.25;
}
