/* ============================================================
   WordPress Technical Specialist — theme
   Dark, technical, premium. Green is an accent, not a flood.
   ============================================================ */
:root {
  --bg: #080B0D;
  --bg-2: #0D1115;
  --card: #151A1F;
  --border: #252C33;
  --green: #4CAF50;
  --green-hover: #43A047;
  --green-light: #81C784;
  --paper: #F5F7F2;
  --white: #FFFFFF;
  --muted: #A7AFB7;
  --text: #EDEFF1;
  --radius: 14px;
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Cascadia Code', Menlo, Consolas, monospace;
  --container: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--white);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1.1em; color: var(--muted); }
p strong, li strong { color: var(--text); }

a { color: var(--green-light); text-decoration: none; }
a:hover { color: var(--green); }

img, svg { max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section.section { padding: 96px 0; }
section.section-tight { padding: 64px 0; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
}
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
  background: var(--green);
  color: #fff;
}
.btn:hover { background: var(--green-hover); color: #fff; transform: translateY(-1px); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--green); background: rgba(76, 175, 80, 0.08); color: var(--white); }

.btn-small { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Header / nav ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 8px; top: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 11, 13, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) {
  color: var(--muted); font-weight: 500; font-size: 0.98rem;
  padding: 10px 14px; border-radius: 8px;
}
.site-nav a:not(.btn):hover { color: var(--white); background: rgba(255,255,255,0.04); }
.site-nav a.is-active { color: var(--white); }
.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--green-light); }
.hero-sub { font-size: 1.18rem; max-width: 34rem; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 34px; }
.trust-points { display: flex; gap: 26px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.trust-points li {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--muted); font-size: 0.95rem; font-weight: 500;
}
.trust-points svg { flex: none; }

/* ---------- Diagnostic terminal ---------- */
.terminal {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: var(--card);
}
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border); }
.terminal-bar .dot:first-child { background: #e05c5c; }
.terminal-bar .dot:nth-child(2) { background: #e0a85c; }
.terminal-bar .dot:nth-child(3) { background: var(--green); }
.terminal-title {
  margin-left: 10px; font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.14em; color: var(--muted);
}
.terminal-body { padding: 22px 22px 18px; font-family: var(--font-mono); font-size: 0.86rem; }
.diag-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 7px 0; color: var(--muted);
  border-bottom: 1px dashed rgba(37,44,51,0.7);
  opacity: 0; transform: translateX(-8px);
  animation: diagIn 0.45s ease forwards;
}
.diag-line .prompt { color: var(--green); margin-right: 8px; }
.diag-line .check { white-space: nowrap; }
.ok-badge {
  display: inline-block; padding: 2px 10px; border-radius: 6px;
  background: rgba(76,175,80,0.14); color: var(--green-light);
  font-weight: 700; font-size: 0.78rem; letter-spacing: 0.06em;
  border: 1px solid rgba(76,175,80,0.35);
}
.diag-status {
  margin-top: 18px; padding: 14px 16px;
  background: rgba(76,175,80,0.08);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 10px;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; animation: diagIn 0.45s ease forwards;
}
.diag-status .pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(76,175,80,0.6);
  animation: pulse 2s infinite; flex: none;
}
.diag-status strong { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; }
.diag-status span { color: var(--muted); font-size: 0.82rem; }

@keyframes diagIn { to { opacity: 1; transform: none; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(76,175,80,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

/* stagger the terminal lines */
.diag-line:nth-of-type(1) { animation-delay: 0.10s; }
.diag-line:nth-of-type(2) { animation-delay: 0.25s; }
.diag-line:nth-of-type(3) { animation-delay: 0.40s; }
.diag-line:nth-of-type(4) { animation-delay: 0.55s; }
.diag-line:nth-of-type(5) { animation-delay: 0.70s; }
.diag-line:nth-of-type(6) { animation-delay: 0.85s; }
.diag-line:nth-of-type(7) { animation-delay: 1.00s; }
.diag-status { animation-delay: 1.25s; }

@media (prefers-reduced-motion: reduce) {
  .diag-line, .diag-status { opacity: 1; transform: none; animation: none; }
  .diag-status .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Cards & grids ---------- */
.cards { display: grid; gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 30px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: #34404a; transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.28);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; margin-bottom: 0; }
.card .card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 0.95rem; }

/* service cards */
.service-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.service-num {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.2em;
  color: var(--green-light); margin-bottom: 14px; font-weight: 700;
}
.service-price { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--white); margin: 18px 0 4px; }
.service-price small { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.service-card .spacer { height: 22px; }

.stack-line {
  margin-top: 44px; text-align: center;
  color: var(--muted); font-size: 0.98rem;
}
.stack-line strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 10px; }
.stack-items {
  display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 0; max-width: 100%;
  font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.04em;
}
.stack-items .sep { color: var(--green); margin: 0 10px; }
@media (max-width: 640px) {
  .stack-items { font-size: 0.82rem; }
  .stack-items .sep { margin: 0 7px; }
}

/* ---------- Approach steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; position: relative;
}
.step-num {
  font-family: var(--font-mono); color: var(--green); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.16em; margin-bottom: 14px; display: block;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; margin: 0; }

/* ---------- Pricing table ---------- */
.price-table {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.price-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 28px; border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-row .service { color: var(--text); font-weight: 500; }
.price-row .amount { font-family: var(--font-head); font-weight: 800; color: var(--green-light); white-space: nowrap; }
.price-note { margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

/* ---------- Care plan ---------- */
.care-card {
  background: linear-gradient(180deg, rgba(76,175,80,0.07), rgba(76,175,80,0.02));
  border: 1px solid rgba(76,175,80,0.32);
  border-radius: var(--radius);
  padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.care-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.care-card li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.98rem; }
.care-card li svg { flex: none; margin-top: 4px; }
.care-price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--white); }
.care-price small { font-size: 1rem; color: var(--muted); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { max-width: 640px; }

/* ---------- Service detail blocks ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  padding: 56px 0; border-top: 1px solid var(--border);
}
.service-detail:first-of-type { border-top: none; padding-top: 24px; }
.example-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
.example-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.97rem; }
.example-list li svg { flex: none; margin-top: 5px; }
.detail-price {
  display: inline-block; margin-top: 22px; padding: 10px 18px;
  background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.3);
  border-radius: 999px; color: var(--green-light);
  font-family: var(--font-head); font-weight: 800;
}
.pay-slot { margin-top: 18px; }

/* ---------- Secondary services ---------- */
.tag-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tag {
  padding: 10px 18px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--muted); font-size: 0.94rem; font-weight: 500;
}

/* ---------- About ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.exp-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.exp-card h3 { font-size: 1.05rem; margin-bottom: 14px; color: var(--green-light); }
.exp-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.exp-card li { color: var(--muted); font-size: 0.93rem; padding-left: 16px; position: relative; }
.exp-card li::before { content: "›"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.check-list li svg { flex: none; margin-top: 4px; }
.check-list strong { color: var(--text); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76,175,80,0.15);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-success, .form-error {
  border-radius: 10px; padding: 18px 20px; margin-bottom: 22px; font-size: 0.98rem;
}
.form-success { background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.4); color: var(--green-light); }
.form-error { background: rgba(224,92,92,0.08); border: 1px solid rgba(224,92,92,0.4); color: #e88; }
.contact-side .side-block {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 20px;
}
.contact-side h3 { font-size: 1.05rem; margin-bottom: 12px; }
.contact-side ol { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; font-size: 0.97rem; }
.contact-email-big { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--white); word-break: break-all; }

/* ---------- Work placeholder ---------- */
.work-placeholder {
  text-align: center; padding: 40px 20px;
  border: 1px dashed var(--border); border-radius: var(--radius);
  background: var(--bg-2);
}
.work-placeholder .mono { font-family: var(--font-mono); color: var(--green-light); font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 64px 0 0; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-tagline { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--muted); margin: 14px 0 8px; }
.footer-note { font-size: 0.9rem; max-width: 300px; }
.footer-links { display: grid; gap: 10px; align-content: start; }
.footer-links a { color: var(--muted); font-size: 0.97rem; }
.footer-links a:hover { color: var(--white); }
.footer-email { color: var(--white); font-weight: 600; word-break: break-all; }
.footer-socials { display: flex; gap: 16px; margin-top: 12px; }
.footer-socials a { color: var(--muted); font-size: 0.92rem; }
.footer-socials a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 24px; }
.footer-bottom p { margin: 0; font-size: 0.86rem; color: var(--muted); }

/* ---------- Reveal on scroll (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .care-card { grid-template-columns: 1fr; gap: 28px; padding: 34px; }
  .service-detail { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section.section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }

  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 2px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 8px; }
  .nav-cta { margin: 10px 0 0; text-align: center; }

  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .form-card { padding: 28px 22px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .terminal-body { font-size: 0.78rem; }
}
