/*
Theme Name: Sudo Fix
Theme URI: https://sudofix.nz
Author: Chris Pringuer
Author URI: https://sudofix.nz
Description: Professional IT support theme for Sudo Fix, Rakaia & Mid Canterbury. Dark terminal aesthetic.
Version: 1.0
License: GNU General Public License v2 or later
Tags: business, one-page, responsive, dark, technology
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0b1623;
  --bg-2:         #0f1e2e;
  --bg-3:         #132334;
  --bg-card:      #0d1a28;
  --green:        #00e5a0;
  --green-dim:    #00b880;
  --green-glow:   rgba(0, 229, 160, 0.15);
  --green-border: rgba(0, 229, 160, 0.25);
  --text:         #c9d6e3;
  --text-muted:   #6e8da8;
  --text-bright:  #e8f0f8;
  --white:        #ffffff;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(0,229,160,0.3);
  --mono:         'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --sans:         'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius:       8px;
  --radius-lg:    14px;
  --shadow:       0 4px 24px rgba(0,0,0,0.4);
  --shadow-green: 0 0 24px rgba(0,229,160,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dim); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 3rem;
}

/* =============================================
   NAV
   ============================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 22, 35, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-family: var(--mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.02em;
}

.site-logo .dollar { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text-bright); background: var(--border); }

.nav-links .nav-cta a {
  background: var(--green);
  color: #000;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
}

.nav-links .nav-cta a:hover {
  background: var(--green-dim);
  color: #000;
}

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
  background-color: var(--bg);
  
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 22, 35, 0.78);
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,22,35,0.55) 0%, rgba(11,22,35,0.1) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--green);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 0.15em;
}

.hero h1 .accent { color: var(--green); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 1.25rem 0 2rem;
  line-height: 1.75;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-pill {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}

.hero-pill:hover {
  border-color: var(--green-border);
  color: var(--green);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: #000;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}

.hero-cta:hover {
  background: var(--green-dim);
  color: #000;
  box-shadow: var(--shadow-green);
  transform: translateY(-1px);
}

/* Terminal card */
.terminal-card {
  background: #0a1628;
  border: 1px solid rgba(0,229,160,0.18);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 40px rgba(0,229,160,0.08);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.terminal-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  background: #081220;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terminal-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red   { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #28ca41; }

.terminal-title {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.terminal-body { padding: 1.25rem; line-height: 1.9; }
.t-cmd  { color: var(--green); }
.t-text { color: #8faabf; }
.t-bar  {
  display: inline-block;
  width: 80px;
  height: 8px;
  background: var(--green);
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.t-ok   { color: var(--green); }
.t-result { color: var(--green); font-weight: 600; }

/* =============================================
   SERVICES
   ============================================= */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  position: relative;
}

.service-card:hover {
  border-color: var(--green-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 20px rgba(0,229,160,0.07);
  transform: translateY(-3px);
}

.service-icon {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--green);
  background: var(--green-glow);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 0.3rem 0.65rem;
  display: inline-block;
  margin-bottom: 1.1rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-price {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--green);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* =============================================
   WORKSHOPS
   ============================================= */
.workshops { background: var(--bg); }

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.2s;
}

.workshop-card:hover {
  border-color: var(--green-border);
  transform: translateY(-2px);
}

.workshop-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 0.5rem;
}

.workshop-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.workshop-meta {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.workshop-meta span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.workshop-meta .w-price { color: var(--green); }

/* =============================================
   WHY SUDO FIX / ABOUT
   ============================================= */

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-points { list-style: none; margin-top: 1.5rem; }

.about-points li {
  display: flex;
  gap: 0.85rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.about-points li:last-child { border-bottom: none; }

.about-points li::before {
  content: '✓';
  font-family: var(--mono);
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.about-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 2;
}

.about-terminal .t-cmd { color: var(--green); }
.about-terminal .t-val { color: var(--text-bright); }
.about-terminal .t-comment { color: var(--text-muted); }

/* =============================================
   PRICING / SHOP TEASER
   ============================================= */
.pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.2s;
}

.price-card.featured {
  border-color: var(--green-border);
  background: linear-gradient(135deg, #0d1f2e, #0e2538);
}

.price-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.price-card .price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.price-card .price-amount .currency {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  vertical-align: top;
  margin-top: 0.4rem;
  display: inline-block;
}

.price-card .price-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.price-features { list-style: none; }

.price-features li {
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.price-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.8rem;
}

/* =============================================
   FAQ
   ============================================= */

.faq-list { max-width: 760px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-bright);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--green); }

.faq-icon {
  font-family: var(--mono);
  color: var(--green);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  padding-bottom: 1.1rem;
}

.faq-item.open .faq-answer { display: block; }

/* =============================================
   CONTACT — white section
   ============================================= */
.contact { background: #ffffff; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact .section-label { color: var(--green-dim); }

.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0b1623;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  color: #4a6070;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contact-details { list-style: none; }

.contact-details li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
}

.contact-details li:last-child { border-bottom: none; }

.contact-details .cd-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--green-dim);
  min-width: 70px;
  margin-top: 0.15rem;
}

.contact-details .cd-value { color: #1e3a4a; }

.contact-form-wrap {
  background: #f4f7f9;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a6070;
  font-family: var(--mono);
  margin-bottom: 0.45rem;
  letter-spacing: 0.04em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  font-size: 0.9rem;
  color: #0b1623;
  font-family: var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--green-dim);
  box-shadow: 0 0 0 3px rgba(0,184,128,0.12);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field select option { background: #ffffff; color: #0b1623; }

.submit-btn {
  width: 100%;
  background: var(--green);
  color: #000;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: var(--green-dim);
  box-shadow: 0 4px 16px rgba(0,184,128,0.25);
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

#contact-response {
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: var(--mono);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.footer-brand .site-logo {
  display: block;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--mono);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-layout      { grid-template-columns: 1fr; gap: 2.5rem; }
  .terminal-card    { max-width: 480px; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid     { grid-template-columns: repeat(2, 1fr); }
  .about-layout     { grid-template-columns: 1fr; }
  .contact-layout   { grid-template-columns: 1fr; }
  .workshops-grid   { grid-template-columns: 1fr; }
  .footer-top       { flex-direction: column; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .services-grid  { grid-template-columns: 1fr; }
  .pricing-grid   { grid-template-columns: 1fr; }
  .nav-links      { display: none; position: absolute; top: 60px; left: 0; right: 0; background: #0b1623; border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a    { padding: 0.6rem 0; width: 100%; }
  .nav-burger     { display: flex; }
  .footer-bottom  { flex-direction: column; text-align: center; }
}

/* =============================================
   LIGHT SECTIONS (services → footer)
   ============================================= */

/* Section backgrounds — alternating white / off-white */
.services   { background: #f7f9fb; }
.workshops  { background: #ffffff; }
.about      { background: #f7f9fb; }
.pricing    { background: #ffffff; }
.faq        { background: #f7f9fb; }

/* Section labels on light bg — slightly darker green for contrast */
.services   .section-label,
.workshops  .section-label,
.about      .section-label,
.pricing    .section-label,
.faq        .section-label { color: #009e71; }

/* Section titles and subs on light bg */
.services   .section-title,
.workshops  .section-title,
.about      .section-title,
.pricing    .section-title,
.faq        .section-title { color: #0d1b2a; }

.services   .section-sub,
.workshops  .section-sub,
.pricing    .section-sub { color: #4a5e6d; }

/* ---- SERVICE CARDS (light) ---- */
.services .service-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.services .service-card:hover {
  border-color: rgba(0,184,128,0.35);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,184,128,0.15);
  transform: translateY(-3px);
}
.services .service-icon {
  color: #007a57;
  background: rgba(0,184,128,0.1);
  border-color: rgba(0,184,128,0.25);
}
.services .service-card h3 { color: #0d1b2a; }
.services .service-card p  { color: #4a5e6d; }
.services .service-card .service-price {
  color: #007a57;
  border-top-color: rgba(0,0,0,0.07);
}

/* ---- WORKSHOP CARDS (light) ---- */
.workshops .workshop-card {
  background: #f7f9fb;
  border-color: rgba(0,0,0,0.08);
}
.workshops .workshop-card:hover {
  border-color: rgba(0,184,128,0.35);
  transform: translateY(-2px);
}
.workshops .workshop-card h3 { color: #0d1b2a; }
.workshops .workshop-card p  { color: #4a5e6d; }
.workshops .workshop-meta {
  border-top-color: rgba(0,0,0,0.07);
}
.workshops .workshop-meta span { color: #4a5e6d; }
.workshops .workshop-meta .w-price { color: #007a57; }

/* ---- ABOUT (light) ---- */
.about .section-sub { color: #4a5e6d; }
.about > .container > .about-layout > div > p { color: #4a5e6d; }
.about-points li { color: #0d1b2a; border-bottom-color: rgba(0,0,0,0.07); }
.about-points li::before { color: #007a57; }

/* About terminal keeps dark — intentional code-block feel */
.about .about-terminal {
  background: #0d1a28;
  border-color: rgba(255,255,255,0.08);
}

/* ---- PRICING CARDS (light) ---- */
.pricing .price-card {
  background: #f7f9fb;
  border-color: rgba(0,0,0,0.08);
}
.pricing .price-card.featured {
  background: #ffffff;
  border-color: rgba(0,184,128,0.4);
  box-shadow: 0 4px 24px rgba(0,184,128,0.1);
}
.pricing .price-card h3 { color: #4a5e6d; }
.pricing .price-card .price-amount { color: #0d1b2a; }
.pricing .price-card .price-amount .currency { color: #4a5e6d; }
.pricing .price-card .price-desc {
  color: #4a5e6d;
  border-bottom-color: rgba(0,0,0,0.07);
}
.pricing .price-features li { color: #2c3e50; }
.pricing .price-features li::before { color: #007a57; }

/* ---- FAQ (light) ---- */
.faq .faq-item { border-bottom-color: rgba(0,0,0,0.09); }
.faq .faq-question { color: #0d1b2a; }
.faq .faq-question:hover { color: #007a57; }
.faq .faq-icon { color: #007a57; }
.faq .faq-answer { color: #4a5e6d; }
.faq .section-sub { color: #4a5e6d; }

/* ---- FOOTER (keep dark — looks intentional at base of white page) ---- */
.site-footer {
  background: #0b1623;
  border-top: none;
}

/* =============================================
   NAV LOGO ANIMATION
   ============================================= */
.site-logo .logo-dollar { color: #00e5a0; }
.site-logo .logo-text   { color: #e8f0f8; }
.site-logo .logo-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #00e5a0;
  margin-left: 2px;
  vertical-align: -0.1em;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* =============================================
   PAGE BANNER (shared across all pages)
   ============================================= */
.page-banner {
  background: var(--bg);
  padding: 4.5rem 0 3.5rem;
  animation: bannerRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bannerRise {
  from {
    transform: translateY(36px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.page-banner-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--green);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  display: block;
}

.page-banner-label .lb-slash { color: #2d5a78; margin-right: 0.4em; }

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-banner .page-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.75;
}

/* =============================================
   PAGE CONTENT (white area below banner)
   ============================================= */
.page-content { background: #ffffff; color: #1a2a3a; } /* background overridden by inline style on dark pages */
.page-content section { padding: 4rem 0; }
.page-content section + section { border-top: 1px solid rgba(0,0,0,0.07); }

/* Service group sections */
.service-group-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #007a57;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.service-group-label .lb-slash { color: #c0ccd4; margin-right: 0.4em; }

.service-group h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 0.75rem;
}

.service-group > .container > p {
  font-size: 0.975rem;
  color: #4a5e6d;
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

/* Horizontal rule between items */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) { .service-row { grid-template-columns: 1fr; } }

/* Light service item */
.service-item {
  background: #f7f9fb;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.service-item:hover { border-color: rgba(0,184,128,0.3); transform: translateY(-2px); }
.service-item h3 { font-size: 1rem; font-weight: 700; color: #0d1b2a; margin-bottom: 0.4rem; }
.service-item p { font-size: 0.9rem; color: #4a5e6d; line-height: 1.6; }
.service-item .item-price {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #007a57;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

/* Blog archive */
.post-list { list-style: none; }
.post-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.post-item:first-child { padding-top: 0; }
.post-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #4a5e6d;
  margin-bottom: 0.5rem;
}
.post-title { font-size: 1.2rem; font-weight: 700; color: #0d1b2a; margin-bottom: 0.4rem; }
.post-title a { color: inherit; transition: color 0.2s; }
.post-title a:hover { color: #007a57; }
.post-excerpt { font-size: 0.9rem; color: #4a5e6d; line-height: 1.65; }
.post-more {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #007a57;
  margin-top: 0.65rem;
}

/* Single post */
.post-content { max-width: 720px; }
.post-content h2, .post-content h3 { color: #0d1b2a; margin: 1.5rem 0 0.5rem; }
.post-content p { color: #2c3e50; line-height: 1.8; margin-bottom: 1rem; }
.post-content a { color: #007a57; }

/* =============================================
   NAV ACTIVE STATE
   ============================================= */
.nav-links a.active {
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: 2px;
}

/* =============================================
   HERO BACKGROUND IMAGE
   ============================================= */
.hero {
  background-image: var(--hero-bg-url, none);
}

/* =============================================
   EXTRA ANIMATION POLISH
   ============================================= */

/* Nav cursor blink */
.logo-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #00e5a0;
  margin-left: 2px;
  vertical-align: -0.1em;
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0; }
}

/* Terminal body lines */
.terminal-body div {
  transition: opacity 0.15s ease;
}

/* Service card hover — green left border sweep */
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}
.service-card:hover::before { transform: scaleY(1); }

/* Page banner — stronger animation */
.page-banner {
  animation: bannerRise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes bannerRise {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Section titles fade in on page load */
.section-label,
.section-title,
.section-sub {
  animation: fadeUp 0.6s ease both;
}
.section-title { animation-delay: 0.1s; }
.section-sub   { animation-delay: 0.18s; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Progress bar in terminal — animate width */
.t-bar {
  display: inline-block;
  width: 0;
  height: 8px;
  background: var(--green);
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.5rem;
  animation: barGrow 0.8s ease 1.2s forwards;
}
@keyframes barGrow {
  from { width: 0; }
  to   { width: 80px; }
}

/* CTA button pulse on load */
.hero-cta {
  animation: ctaPulse 2.5s ease 1.8s infinite;
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,229,160,0); }
  50%     { box-shadow: 0 0 0 8px rgba(0,229,160,0.12); }
}

/* Pill hover */
.hero-pill {
  cursor: default;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.hero-pill:hover {
  border-color: var(--green-border);
  color: var(--green);
  transform: translateY(-2px);
}

/* Nav link underline slide */
.nav-links a {
  position: relative;
}
.nav-links a:not(.nav-cta a)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--green);
  transition: left 0.2s ease, right 0.2s ease;
}
.nav-links a:not(.nav-cta a):hover::after,
.nav-links a.active::after {
  left: 0; right: 0;
}

/* =============================================
   HERO PARTICLES CANVAS
   ============================================= */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Keep hero content above canvas */
.hero .container { position: relative; z-index: 3; }
.hero::before    { z-index: 2; }
.hero::after     { z-index: 2; }

/* =============================================
   SCAN LINE
   ============================================= */
#sf-scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,229,160,0.25), transparent);
  animation: scanDown 6s linear infinite;
  z-index: 4;
  pointer-events: none;
}

@keyframes scanDown {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* =============================================
   LOGO CURSOR BLINK
   ============================================= */
.logo-cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  background: #00e5a0;
  margin-left: 3px;
  vertical-align: -0.15em;
  border-radius: 1px;
  animation: blockBlink 1s step-end infinite;
}
@keyframes blockBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* =============================================
   TERMINAL PROGRESS BAR GROW
   ============================================= */
.t-bar {
  display: inline-block;
  width: 0;
  height: 8px;
  background: var(--green);
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 0.5rem;
  animation: barGrow 0.7s cubic-bezier(0.22,1,0.36,1) 1.3s forwards;
}
@keyframes barGrow { to { width: 80px; } }

/* =============================================
   SERVICE CARD — green left sweep
   ============================================= */
.service-card {
  transform-style: preserve-3d;
  will-change: transform;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--green), transparent);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.service-card:hover::before { transform: scaleY(1); }

/* =============================================
   CTA BUTTON PULSE
   ============================================= */
.hero-cta {
  animation: ctaPulse 3s ease 2s infinite;
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,229,160,0); }
  50%     { box-shadow: 0 0 0 10px rgba(0,229,160,0.1); }
}

/* =============================================
   HERO PILL HOVER
   ============================================= */
.hero-pill {
  transition: border-color 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.2s;
}
.hero-pill:hover {
  border-color: rgba(0,229,160,0.5);
  color: #00e5a0;
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,229,160,0.12);
}

/* =============================================
   NAV LINK UNDERLINE SLIDE
   ============================================= */
.nav-links li:not(.nav-cta) a {
  position: relative;
}
.nav-links li:not(.nav-cta) a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%; right: 50%;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: left 0.25s cubic-bezier(0.22,1,0.36,1), right 0.25s cubic-bezier(0.22,1,0.36,1);
}
.nav-links li:not(.nav-cta) a:hover::after,
.nav-links li:not(.nav-cta) a.active::after { left: 0; right: 0; }

/* =============================================
   PAGE BANNER ANIMATION
   ============================================= */
.page-banner {
  animation: bannerRise 0.65s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes bannerRise {
  from { transform: translateY(48px); opacity: 0; filter: blur(6px); }
  to   { transform: translateY(0);    opacity: 1; filter: blur(0); }
}

/* =============================================
   SECTION LABEL FADE
   ============================================= */
.section-label {
  animation: fadeUp 0.6s ease 0.1s both;
}
.section-title { animation: fadeUp 0.6s ease 0.2s both; }
.section-sub   { animation: fadeUp 0.6s ease 0.3s both; }
@keyframes fadeUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

/* =============================================
   GREEN GLOW ON DARK CARDS HOVER
   ============================================= */
.terminal-card {
  transition: box-shadow 0.35s ease, transform 0.15s ease;
  will-change: transform;
}
.terminal-card:hover {
  box-shadow: var(--shadow), 0 0 48px rgba(0,229,160,0.15);
}

/* =============================================
   BOOT LOADER SCREEN
   ============================================= */
#sf-boot {
  position: fixed;
  inset: 0;
  background: #060f19;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#sf-boot.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#sf-boot-inner {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: #c9d6e3;
  width: min(640px, 90vw);
  padding: 2rem;
}

#sf-boot-inner .b-line {
  display: block;
  line-height: 1.9;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
}

#sf-boot-inner .b-green  { color: #00e5a0; }
#sf-boot-inner .b-muted  { color: #3a5a72; }
#sf-boot-inner .b-ok     { color: #00e5a0; }
#sf-boot-inner .b-warn   { color: #f5a623; }
#sf-boot-inner .b-cursor {
  display: inline-block;
  width: 0.55em;
  height: 0.95em;
  background: #00e5a0;
  vertical-align: -0.1em;
  margin-left: 2px;
  animation: blockBlink 0.8s step-end infinite;
}

/* Progress bar inside boot screen */
#sf-boot-bar-wrap {
  margin-top: 1.5rem;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#sf-boot-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00b880, #00e5a0);
  border-radius: 2px;
  transition: width 0.08s linear;
  box-shadow: 0 0 8px rgba(0,229,160,0.5);
}


/* =============================================
   NAV PHONE LINK
   ============================================= */

.nav-hours {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #3d5a6e;
  white-space: nowrap;
}
@media (max-width: 900px) { .nav-hours { display: none; } }

.nav-phone {
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(0,229,160,0.25);
  border-radius: var(--radius);
  padding: 0.4rem 0.85rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-phone:hover {
  background: rgba(0,229,160,0.08);
  border-color: rgba(0,229,160,0.5);
  color: var(--green);
}

/* =============================================
   FOOTER CONTACT BLOCK
   ============================================= */
.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-phone {
  font-family: var(--mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
  transition: color 0.2s;
}

.footer-phone:hover { color: #fff; }

.footer-contact-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-contact-cta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  transition: color 0.2s;
}

.footer-contact-cta:hover { color: var(--green); }

/* =============================================
   RESPONSIVE — topbar + nav phone
   ============================================= */

/* ==============================================
   PAGE CONTENT — MASTER COLOUR RESET
   Force dark text on all white page sections.
   Body defaults to light terminal colour so we
   must override explicitly with !important here.
   ============================================== */
.page-content                { color: #1a2a3a !important; }
.svc-section                 { color: #1a2a3a !important; }
.build-section               { color: #1a2a3a !important; }
.builds-promise              { color: #1a2a3a !important; }
.services-promise            { color: #1a2a3a !important; }
.svc-breadcrumb              { color: #4a5e6d !important; }
.svc-overview-card           { color: #1a2a3a !important; }

/* card colour overrides removed — handled per-component */

/* Parts table */
.parts-table td              { color: #2c3e50 !important; }
.parts-table td:first-child  { color: #007a57 !important; }
.parts-table tfoot td        { color: #0d1b2a !important; }
.parts-table tfoot .tf-labour{ color: #4a5e6d !important; }
.parts-table tfoot .tf-total { color: #007a57 !important; }

/* Price block (dark bg — keep light text) */
.build-price-block           { color: #e8f0f8 !important; }
.build-price-block .bp-label { color: #6e8da8 !important; }
.build-price-block .bp-total { color: #00e5a0 !important; }
.build-price-block .bp-note  { color: #4a6070 !important; }

/* Green accents — keep green */
.pi-check                    { color: #00b880 !important; }
.svc-overview-tag,
.svc-num,
.build-num                   { color: #007a57 !important; }

.build-price-block .bp-note  { color: #4a6070; }

@media (max-width: 900px) {
  .sf-topbar-hours { display: none; }
  .nav-phone       { display: none; }
}

@media (max-width: 640px) {
  .sf-topbar-label { display: none; }
}

/* =============================================
   SERVICES PAGE — REDESIGN
   ============================================= */

/* Sticky category nav */
.services-subnav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 60px;
  z-index: 50;
  padding: 0;
}

.services-subnav-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.services-subnav-inner::-webkit-scrollbar { display: none; }

.services-subnav-inner a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #4a5e6d;
  padding: 0.85rem 1.1rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
}

.services-subnav-inner a:hover,
.services-subnav-inner a.active {
  color: #007a57;
  border-bottom-color: #00e5a0;
}

/* Promise bar */
.services-promise {
  background: #f7f9fb;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.9rem 0;
}

.services-promise-inner {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #4a5e6d;
  font-family: var(--mono);
}

.promise-item .pi-check {
  color: #00b880;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Section anchors */
.svc-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  scroll-margin-top: 110px;
}

.svc-section:last-child { border-bottom: none; }

.svc-section-header {
  margin-bottom: 2rem;
}

.svc-section-header .svc-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #007a57;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.svc-section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 0.5rem;
}

.svc-section-header p {
  font-size: 0.95rem;
  color: #4a5e6d;
  max-width: 600px;
  line-height: 1.7;
}

/* =============================================
   SERVICE CARDS — TERMINAL MODULE STYLE
   Matches the services overview grid throughout
   ============================================= */

/* Grid — 1px divider lines between cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

/* Card base */
.svc-card {
  background: #0d1b2a;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0,229,160,0.12);
  border-radius: 10px;
  transition: background 0.18s;
}

.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5a0, transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

.svc-card:hover { background: #111f2e; }
.svc-card:hover::after { opacity: 1; }
.svc-card.featured { background: #0f2030; }

/* Tag — styled like ./command */
.svc-card-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #00e5a0 !important;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  display: block;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

/* Title */
.svc-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #e8f0f8 !important;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

/* Description */
.svc-card p {
  font-size: 0.855rem;
  color: #5a7a91 !important;
  line-height: 1.65;
  flex: 1;
}

/* Footer */
.svc-card-footer {
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Price */
.svc-price {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: #e8f0f8 !important;
}

.svc-price-note {
  font-size: 0.72rem;
  color: #3d5a6e !important;
  font-family: var(--mono);
}

.svc-parts-note {
  font-size: 0.72rem;
  color: #3d5a6e !important;
  margin-top: 0.3rem;
  font-family: var(--mono);
}

/* Badges — terminal style */
.svc-badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  white-space: nowrap;
}

.svc-badge-flat {
  background: rgba(0,229,160,0.08);
  color: #00e5a0;
  border: 1px solid rgba(0,229,160,0.2);
}

.svc-badge-free {
  background: rgba(40,200,64,0.1);
  color: #28c840;
  border: 1px solid rgba(40,200,64,0.25);
}

.svc-badge-popular {
  background: rgba(255,189,46,0.1);
  color: #ffbd2e;
  border: 1px solid rgba(255,189,46,0.25);
}

/* Plan cards — same terminal style */
.svc-plan-card {
  background: #0d1b2a;
  border: 1px solid rgba(0,229,160,0.12);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  transition: background 0.18s;
  overflow: hidden;
}

.svc-plan-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5a0, transparent);
  opacity: 0;
  transition: opacity 0.22s;
}

.svc-plan-card:hover { background: #111f2e; }
.svc-plan-card:hover::after { opacity: 1; }
.svc-plan-card.featured { background: #0f2030; border-color: rgba(0,229,160,0.25); }

.svc-plan-price {
  font-family: var(--mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: #00e5a0 !important;
  line-height: 1;
  margin: 0.75rem 0 0.25rem;
}

.svc-plan-price .plan-period {
  font-size: 0.9rem;
  font-weight: 400;
  color: #3d5a6e !important;
}

.svc-plan-desc {
  font-size: 0.875rem;
  color: #5a7a91 !important;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.svc-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-plan-features li {
  font-size: 0.875rem;
  color: #c9d6e3 !important;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.svc-plan-features li::before {
  content: '✓';
  color: #00e5a0;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--mono);
}

/* CTA strip at bottom of page */
.svc-cta-strip {
  background: #0b1623;
  padding: 3rem 0;
  margin-top: 0;
}

.svc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.svc-cta-text h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.svc-cta-text p {
  font-size: 0.9rem;
  color: #6e8da8;
}

.svc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #00e5a0;
  color: #000;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.svc-cta-btn:hover {
  background: #00b880;
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .services-promise-inner { gap: 1rem; justify-content: flex-start; }
  .svc-cta-inner { flex-direction: column; }
}

/* =============================================
   BUILDS PAGE
   ============================================= */

/* Tier nav — same sticky pattern as services */
.builds-subnav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  position: sticky;
  top: 60px;
  z-index: 50;
}
.builds-subnav-inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.builds-subnav-inner::-webkit-scrollbar { display: none; }
.builds-subnav-inner a {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #4a5e6d;
  padding: 0.85rem 1.1rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
}
.builds-subnav-inner a:hover,
.builds-subnav-inner a.active { color: #007a57; border-bottom-color: #00e5a0; }

/* Promise bar */
.builds-promise {
  background: #f7f9fb;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.9rem 0;
}

/* Build section */
.build-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  scroll-margin-top: 110px;
}
.build-section:last-child { border-bottom: none; }
.build-section:nth-child(even) { background: #f7f9fb; }

.build-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.build-header-left { flex: 1; min-width: 260px; }

.build-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #007a57;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.build-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: #0d1b2a;
  margin-bottom: 0.4rem;
}

.build-tagline {
  font-size: 0.9rem;
  color: #4a5e6d;
  line-height: 1.6;
  max-width: 480px;
}

/* Total price block */
.build-price-block {
  background: #0d1b2a;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 200px;
}
.build-price-block .bp-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #6e8da8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.3rem;
}
.build-price-block .bp-total {
  font-size: 2rem;
  font-weight: 800;
  color: #00e5a0;
  line-height: 1;
  font-family: var(--mono);
}
.build-price-block .bp-note {
  font-size: 0.72rem;
  color: #4a6070;
  margin-top: 0.35rem;
  display: block;
  font-family: var(--mono);
}

/* Parts table */
.parts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.parts-table thead tr {
  background: #0d1b2a;
}
.parts-table thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: #6e8da8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1rem;
  text-align: left;
}
.parts-table thead th:last-child { text-align: left; }

.parts-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.15s;
}
.parts-table tbody tr:hover { background: rgba(0,184,128,0.03); }
.parts-table tbody tr:last-child { border-bottom: none; }

.parts-table td {
  padding: 0.7rem 1rem;
  color: #2c3e50;
  vertical-align: middle;
}
.parts-table td:first-child {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #007a57;
  font-weight: 600;
  width: 130px;
  white-space: nowrap;
}
.parts-table td:last-child {
  text-align: right;
  font-family: var(--mono);
  font-weight: 600;
  color: #0d1b2a;
  white-space: nowrap;
}

.parts-table tfoot tr { background: #f7f9fb; border-top: 2px solid rgba(0,0,0,0.08); }
.parts-table tfoot td {
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #0d1b2a;
}
.parts-table tfoot .tf-labour { color: #4a5e6d; }
.parts-table tfoot .tf-total {
  font-family: var(--mono);
  font-size: 1rem;
  color: #007a57;
}

/* Tier badge on build header */
.build-tier-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.tier-entry    { background: rgba(0,122,87,0.1);  color: #007a57; border: 1px solid rgba(0,122,87,0.2); }
.tier-gaming   { background: rgba(0,122,87,0.12); color: #007a57; border: 1px solid rgba(0,122,87,0.25); }
.tier-mid      { background: rgba(245,166,35,0.1); color: #a06800; border: 1px solid rgba(245,166,35,0.25); }
.tier-high     { background: rgba(99,102,241,0.1); color: #4338ca; border: 1px solid rgba(99,102,241,0.25); }
.tier-creator  { background: rgba(239,68,68,0.08); color: #b91c1c; border: 1px solid rgba(239,68,68,0.2); }
.tier-elite    { background: rgba(0,0,0,0.06); color: #0d1b2a; border: 1px solid rgba(0,0,0,0.15); }

/* CTA strip — reuse svc-cta-strip */

@media (max-width: 700px) {
  .build-header { flex-direction: column; }
  .build-price-block { min-width: unset; width: 100%; }
  .parts-table td:first-child { width: 90px; }
}

/* =============================================
   SHOP ORDER MODAL
   ============================================= */
.sf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 25, 0.82);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.sf-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.sf-modal {
  background: #ffffff;
  border-radius: 14px;
  width: min(540px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.sf-modal-overlay.open .sf-modal {
  transform: translateY(0) scale(1);
}

.sf-modal-header {
  background: #0b1623;
  padding: 1.25rem 1.5rem;
  border-radius: 14px 14px 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.sf-modal-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #e8f0f8;
  line-height: 1.3;
}
.sf-modal-header .modal-item-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #00e5a0;
  display: block;
  margin-bottom: 0.25rem;
}
.sf-modal-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #c9d6e3;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sf-modal-close:hover { background: rgba(255,255,255,0.2); }

.sf-modal-body { padding: 1.5rem; }

/* Delivery choice toggle */
.delivery-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.delivery-option {
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.delivery-option:hover { border-color: rgba(0,184,128,0.35); }
.delivery-option.selected {
  border-color: #00b880;
  background: rgba(0,184,128,0.05);
}
.delivery-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.delivery-option .do-icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.4rem;
}
.delivery-option .do-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0d1b2a;
  display: block;
  margin-bottom: 0.2rem;
}
.delivery-option .do-desc {
  font-size: 0.78rem;
  color: #4a5e6d;
  line-height: 1.45;
}

/* Conditional sections */
.order-section { display: none; }
.order-section.visible { display: block; }

.order-divider {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #007a57;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 1.25rem 0 0.75rem;
}

.sf-modal .field { margin-bottom: 0.9rem; }
.sf-modal .field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a5e6d;
  font-family: var(--mono);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}
.sf-modal .field input,
.sf-modal .field textarea,
.sf-modal .field select {
  width: 100%;
  background: #f7f9fb;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 7px;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  color: #0b1623;
  font-family: var(--sans);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sf-modal .field input:focus,
.sf-modal .field textarea:focus,
.sf-modal .field select:focus {
  border-color: #00b880;
  box-shadow: 0 0 0 3px rgba(0,184,128,0.1);
  background: #fff;
}
.sf-modal .field textarea { min-height: 70px; resize: vertical; }

.modal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.modal-submit-btn {
  width: 100%;
  background: #00e5a0;
  color: #000;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s, transform 0.1s;
}
.modal-submit-btn:hover { background: #00b880; transform: translateY(-1px); }
.modal-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

#modal-response {
  border-radius: 7px;
  font-size: 0.82rem;
  font-family: var(--mono);
  margin-top: 0.75rem;
}

/* Order button on shop cards */
.shop-order-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #00e5a0;
  color: #000;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.85rem;
}
.shop-order-btn:hover { background: #00b880; transform: translateY(-2px); }


}

/* =============================================
   SERVICE SUB-PAGE BREADCRUMB
   ============================================= */
.svc-breadcrumb {
  background: #f7f9fb;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0.6rem 0;
}
.svc-breadcrumb a {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: #007a57;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s;
}
.svc-breadcrumb a:hover { color: #005c42; }


  .svc-terminal-promise { gap: 0.4rem 1rem; }
}

/* =============================================
   SERVICES OVERVIEW — TERMINAL MODULE GRID
   ============================================= */

.svc-terminal-section {
  background: #f7f9fb;
  padding: 3rem 0 2.5rem;
}

.svc-terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.t-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.t-dot-r { background: #ff5f57; }
.t-dot-y { background: #ffbd2e; }
.t-dot-g { background: #28c840; }

.t-bar-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: #6e8da8;
  margin-left: 0.5rem;
}

/* Grid */
.svc-module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Each module is an <a> — override ALL link colours */
a.svc-module,
a.svc-module:hover,
a.svc-module:visited {
  display: flex;
  flex-direction: column;
  background: #0d1b2a;
  padding: 1.5rem 1.4rem;
  text-decoration: none;
  color: #c9d6e3;
  position: relative;
  transition: background 0.18s;
  border: 1px solid rgba(0,229,160,0.12);
  border-radius: 10px;
}

a.svc-module:hover {
  background: #111f2e;
  color: #c9d6e3;
}

/* Green slide-in bottom line on hover */
a.svc-module::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00e5a0, transparent);
  opacity: 0;
  transition: opacity 0.22s;
}
a.svc-module:hover::after { opacity: 1; }

/* Top row */
.svc-module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 0.5rem;
}

.svc-module-cmd {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #00e5a0;
  font-weight: 600;
}

.svc-module-status {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #28c840;
  white-space: nowrap;
}

/* Title — bright white, NOT green */
.svc-module-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e8f0f8 !important;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

/* Description — muted */
.svc-module-desc {
  font-size: 0.845rem;
  color: #5a7a91 !important;
  line-height: 1.65;
  flex: 1;
  margin: 0;
}

/* Footer */
.svc-module-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.svc-module-price {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8f0f8 !important;
}

.svc-module-run {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #00e5a0;
  opacity: 0.45;
  transition: opacity 0.18s, transform 0.18s;
}

a.svc-module:hover .svc-module-run {
  opacity: 1;
  transform: translateX(4px);
}

/* Promise strip */
.svc-terminal-promise {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.svc-terminal-promise span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #6e8da8;
}

/* Responsive */
@media (max-width: 900px) {
  .svc-module-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-module-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MOBILE OPTIMISATION — 480px and below
   Desktop layouts untouched above this breakpoint
   ============================================= */
@media (max-width: 480px) {

  /* ── HERO ───────────────────────────────── */
  .hero { padding: 2.5rem 0 2rem; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem;
  }

  .hero-pills { gap: 0.4rem; }
  .hero-pill  { font-size: 0.68rem; padding: 0.25rem 0.65rem; }

  .hero-cta {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0.85rem 1rem;
  }

  /* Hide terminal card on mobile — hero content alone is enough */
  .terminal-card { display: none; }

  /* ── SERVICES MODULE GRID (homepage + services page) ── */
  .svc-module-grid {
    grid-template-columns: 1fr;
  }

  .svc-module-grid a.svc-module {
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(0,229,160,0.08);
  }

  .svc-module-grid a.svc-module:first-child {
    border-radius: 10px 10px 0 0;
  }

  .svc-module-grid a.svc-module:last-child {
    border-radius: 0 0 10px 10px;
    border-bottom: none;
  }

  /* ── BUILDS — swap carousel for card stack ── */
  #builds-carousel-wrap { background: #f7f9fb; }

  /* Hide carousel chrome */
  #builds-track-outer { overflow: visible; }
  #builds-track       { transform: none !important; flex-direction: column; gap: 1rem; padding: 1.5rem; }
  #builds-progress-bar,
  #builds-nav         { display: none; }

  /* All slides visible, stacked */
  .build-slide {
    min-width: 100%;
    grid-template-columns: 1fr;
    opacity: 1 !important;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
  }

  /* Left panel adjustments */
  .bs-left {
    padding: 1.25rem 1.25rem 0;
    border-right: none;
    border-bottom: none;
    gap: 0.9rem;
    background: #ffffff;
  }

  .bs-title { font-size: 1.3rem !important; }
  .bs-tagline { font-size: 0.82rem !important; }

  /* Hide performance bars on mobile — too small to be useful */
  .bs-perf { display: none; }

  /* Best for tags — keep but smaller */
  .bs-tag { font-size: 0.65rem; }

  /* Price block */
  .bs-price { font-size: 1.8rem !important; }
  .bs-price-block { padding-top: 0.75rem; margin-top: 0.75rem; }
  .bs-cta {
    width: 100%;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.75rem 1rem;
  }

  /* Right panel — terminal */
  .bs-right {
    padding: 1rem 1.25rem 1.25rem;
    background: #f7f9fb;
    gap: 0.75rem;
  }

  .bs-term-body { padding: 0.75rem 1rem 1rem; }
  .bs-part-row  { grid-template-columns: 80px 1fr; }
  .bs-part-key  { font-size: 0.62rem; }
  .bs-part-val  { font-size: 0.68rem; }

  /* Includes grid — single column */
  .bs-inc-grid { grid-template-columns: 1fr; }

  /* ── PAGE BANNER ────────────────────────── */
  .page-banner { padding: 2.5rem 0 2rem; }
  .page-banner h1 { font-size: 1.8rem; }
  .page-sub { font-size: 0.85rem; }

  /* ── GENERAL CARD GRIDS ─────────────────── */
  .svc-grid    { grid-template-columns: 1fr; }
  .svc-plan-card { padding: 1.25rem; }
  .svc-plan-price { font-size: 1.75rem; }

  /* ── STARLINK PAGE ──────────────────────── */
  .container > div[style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }

  /* ── CTA STRIP ──────────────────────────── */
  .svc-cta-strip { padding: 2rem 0; }
  .svc-cta-inner { flex-direction: column; }
  .svc-cta-btn   { width: 100%; justify-content: center; text-align: center; }

  /* ── PROMISE BAR ────────────────────────── */
  .services-promise-inner { gap: 0.5rem 1rem; }
  .promise-item { font-size: 0.75rem; }

}

/* ── 640px — tablet tweaks ─────────────────── */
@media (max-width: 640px) {

  /* Builds — start collapsing at 640 too */
  #builds-track       { transform: none !important; flex-direction: column; gap: 1rem; padding: 1.25rem; }
  #builds-progress-bar,
  #builds-nav         { display: none; }
  .build-slide        {
    min-width: 100%;
    grid-template-columns: 1fr;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
  }
  #builds-carousel-wrap { background: #f7f9fb; }
  .bs-left  { border-right: none; padding: 1.25rem 1.25rem 0; background: #ffffff; }
  .bs-right { background: #f7f9fb; padding: 1rem 1.25rem 1.25rem; }

}
