/* =========================================================
   Solarsketch Design Services — site stylesheet
   Brand: navy #2B5A8A · steel blue #487497 · orange #E5A052 · cream #FDFBF6
   ========================================================= */

:root {
  --navy: #2B5A8A;
  --navy-dark: #1F4468;
  --steel: #487497;
  --steel-light: #6F9BC2;
  --sky: #DCE9F4;
  --orange: #E5A052;
  --orange-dark: #D18A33;
  --cream: #FDFBF6;
  --white: #FFFFFF;
  --ink: #1F2E3D;
  --muted: #5B6B7A;
  --line: #E3E6EA;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 46, 61, 0.08);
  --font: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: 0.75rem;
}

.lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(229,160,82,.35); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy-dark); }
.btn-block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 246, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand img { height: 44px; width: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 700; letter-spacing: 0.14em; font-size: 0.95rem; color: var(--steel); }
.brand-sub { font-weight: 500; letter-spacing: 0.22em; font-size: 0.58rem; color: var(--orange); text-transform: uppercase; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
  align-items: center;
}
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a.active { border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.nav-links .btn { padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.nav-open .mobile-menu { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-menu li a { display: block; padding: 12px 20px; font-weight: 500; color: var(--ink); }
.mobile-menu li a.active { color: var(--navy); }
.mobile-menu li.menu-cta { padding: 10px 20px 0; }
.mobile-menu li.menu-cta a { display: inline-flex; color: var(--white); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(229,160,82,.18), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(72,116,151,.16), transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-logo { max-width: 300px; margin: 0 auto; }
.hero h1 { color: var(--navy); }
.hero h1 em { font-style: normal; color: var(--orange-dark); }
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--orange-dark); font-weight: 700; }

@media (min-width: 860px) {
  .hero { padding: 84px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-logo { max-width: 400px; margin: 0; justify-self: end; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
@media (min-width: 860px) { .section { padding: 88px 0; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h3 { margin: 0; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--sky);
  padding: 4px 10px;
  border-radius: 999px;
}
.icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sky), #fff);
  border: 1px solid var(--line);
  color: var(--navy);
  margin-bottom: 6px;
}
.icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Service list (services page) */
.service-group { margin-bottom: 44px; }
.service-group h2 {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.35rem; margin-bottom: 18px;
}
.service-group h2::before { content: ""; width: 6px; height: 26px; border-radius: 3px; background: var(--orange); }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.service-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}
.service-list strong { color: var(--navy); font-weight: 600; }
.service-list span { color: var(--muted); font-size: 0.93rem; }
.service-list .included {
  font-style: normal;
  justify-self: start;
  margin-top: 4px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-dark); background: rgba(229,160,82,.14);
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 24px 24px 24px 76px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 22px; top: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  font-weight: 700;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } .step { padding: 70px 22px 24px; } .step::before { left: 22px; } }

/* ---------- Dark band / CTA ---------- */
.band {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0;
}
.band h2, .band h3 { color: var(--white); }
.band p { color: rgba(255,255,255,.82); }
.band .eyebrow { color: var(--orange); }
.band-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .band-grid { grid-template-columns: repeat(3, 1fr); } }
.band-grid h3 { color: var(--orange); font-size: 1rem; margin-bottom: 4px; }
.band-grid p { font-size: 0.95rem; }

.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--steel) 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 22px; }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (min-width: 860px) { .cta { padding: 56px 48px; } }

/* ---------- Software / tools ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-weight: 500; font-size: 0.9rem; color: var(--navy);
}

/* ---------- About ---------- */
.two-col { display: grid; gap: 32px; align-items: start; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.1fr 0.9fr; } }
.aside-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.aside-card ul { padding-left: 1.1em; margin: 0; color: var(--muted); }
.aside-card li { margin-bottom: 8px; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before { content: "✓"; color: var(--orange-dark); font-weight: 700; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-card { display: grid; gap: 18px; align-content: start; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .icon { margin: 0; flex: 0 0 48px; }
.contact-item strong { display: block; color: var(--navy); }
.contact-item a { font-weight: 500; word-break: break-word; }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #C9D2DB;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--steel-light); border-color: var(--steel); }
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checks { display: grid; gap: 8px; }
.checks label { display: flex; gap: 10px; align-items: center; font-size: 0.93rem; cursor: pointer; font-weight: 400; color: var(--ink); }
.checks input { width: 18px; height: 18px; accent-color: var(--navy); }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
@media (min-width: 640px) { .form-card { padding: 36px; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  padding: 48px 0 28px;
  font-size: 0.92rem;
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 46px; height: 46px; }
.footer-brand .brand-name { color: var(--white); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,.6);
}

/* ---------- Page banner ---------- */
.page-banner {
  padding: 48px 0 40px;
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(229,160,82,.16), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-banner .lead { max-width: 640px; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- Form status, honeypot, legal, skip link ---------- */
.form-status { display: none; padding: 12px 14px; border-radius: 10px; background: var(--sky); color: var(--navy); font-size: 0.93rem; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.checks.consent label { align-items: flex-start; }
.checks.consent input { margin-top: 3px; flex: 0 0 18px; }
.checks legend.field-label, .field-label { font-weight: 600; font-size: 0.9rem; color: var(--navy); padding: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal h2:first-child { margin-top: 0; }
.sr-only:focus { position: fixed; z-index: 1000; left: 1rem; top: 1rem; width: auto; height: auto; clip: auto; padding: .7rem 1rem; background: var(--white); color: var(--navy); border: 2px solid var(--navy); border-radius: 8px; }
