:root {
  --brand-dark: #0f1b2d;
  --brand-dark-2: #16283f;
  --brand-primary: #2563eb;
  --brand-primary-dark: #1d4ed8;
  --brand-accent: #c2410c;
  --brand-accent-dark: #9a3412;
  --brand-accent-light: #fb923c;
  --text-main: #111827;
  --text-muted: #4b5563;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --star-empty: #cbd5e1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site-header {
  background: var(--brand-dark);
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
header.site-header.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.2px;
}
.brand-logo { width: 42px; height: 42px; flex: 0 0 auto; }
.brand span { color: var(--brand-accent-light); }
nav.main-nav { display: flex; gap: 20px; align-items: center; }
nav.main-nav a {
  color: #e5edf7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
nav.main-nav a:hover { color: var(--brand-accent-light); }
.call-btn {
  background: var(--brand-accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.call-btn:hover { background: var(--brand-accent-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0f1b2d, #16283f 60%, #1d3a5f);
  color: #fff;
  padding: 150px 20px 120px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-graphic {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.15;
}
.hero p.subhead {
  font-size: 1.15rem;
  max-width: 680px;
  margin: 0 auto 30px;
  color: #dbe6f5;
}
.hero-ctas { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.btn-primary {
  background: var(--brand-accent);
  color: #fff;
  padding: 18px 44px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(194, 65, 12, 0.35);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--brand-accent-dark);
  box-shadow: 0 8px 28px rgba(194, 65, 12, 0.5);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 16px 42px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  border: 2.5px solid #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.hero-badges {
  margin-top: 34px;
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #cfdcee;
}
.hero-badges span { white-space: nowrap; }

/* Page hero (service / sub pages) */
.page-hero {
  background: linear-gradient(135deg, rgba(15,27,45,0.96), rgba(22,40,63,0.92));
  color: #fff;
  padding: 130px 20px 60px;
  text-align: center;
}
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: #cfdcee;
  margin-bottom: 14px;
}
.page-hero .breadcrumb a { color: #cfdcee; text-decoration: underline; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.2;
}
.page-hero p.subhead {
  font-size: 1.08rem;
  max-width: 700px;
  margin: 0 auto;
  color: #dbe6f5;
}

/* Section generic */
section { padding: 64px 20px; }
h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  text-align: center;
  margin: 0 0 8px;
  color: var(--brand-dark);
}
p.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

/* Keyword-rich content section (service pages) */
.content-section { background: #fff; }
.content-section .container { max-width: 860px; }
.content-section h2 { color: var(--brand-dark); font-size: 1.6rem; margin: 0 0 16px; }
.content-section h3 { color: var(--brand-dark); font-size: 1.25rem; margin: 32px 0 12px; }
.content-section p { color: var(--text-muted); font-size: 1.02rem; margin: 0 0 16px; }
.content-section ul { color: var(--text-muted); font-size: 1.02rem; padding-left: 22px; margin: 0 0 16px; }
.content-section li { margin-bottom: 6px; }
.content-section p a:not(.btn-primary):not(.btn-secondary),
.content-section li a:not(.btn-primary):not(.btn-secondary) {
  color: var(--brand-primary-dark);
  text-decoration: underline;
  font-weight: 600;
}
.faq-item { margin-bottom: 20px; }
.faq-item h4 {
  color: var(--brand-dark);
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.faq-item p { margin: 0; }

/* Services grid (homepage + services hub) */
.services-section { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}
.service-card .icon { width: 46px; height: 46px; margin: 0 auto 12px; }
.service-card h3 { margin: 0 0 8px; color: var(--brand-dark); }
.service-card p { color: var(--text-muted); margin: 0 0 4px; font-size: 0.97rem; }
.service-card a.service-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-primary-dark);
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.92rem;
}

/* Process steps */
.process-section { background: var(--bg-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.process-step {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 26px 22px;
  position: relative;
}
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-dark);
  color: var(--brand-accent-light);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}
.process-step h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.05rem; }
.process-step p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* Portfolio */
.portfolio-section { background: #fff; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.portfolio-card {
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-light);
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(15,27,45,0.12); }
.browser-mock {
  background: var(--brand-dark);
}
.browser-mock .browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #0a1420;
}
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #3a4a60; }
.browser-bar .url-pill {
  flex: 1;
  margin-left: 8px;
  background: #16283f;
  color: #9fb3cc;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-mock .mock-body {
  padding: 34px 20px;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--card-color-1, #2563eb), var(--card-color-2, #0f1b2d));
}
.browser-mock .mock-body .mock-name {
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.browser-mock .mock-body .mock-niche {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.portfolio-card .portfolio-body { padding: 22px 24px; }
.portfolio-card h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.15rem; }
.portfolio-card p { margin: 0 0 12px; color: var(--text-muted); font-size: 0.95rem; }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.portfolio-tags span {
  background: #eef2ff;
  color: var(--brand-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}
.portfolio-card a.portfolio-link {
  color: var(--brand-primary-dark);
  font-weight: 700;
  text-decoration: underline;
  font-size: 0.92rem;
}
.portfolio-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  background: #fef3e2;
  color: var(--brand-accent-dark);
  margin-bottom: 10px;
}

/* About / trust */
.about-section .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.about-section h2 { text-align: left; }
.about-section p { color: var(--text-muted); font-size: 1.05rem; }
.about-facts {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 26px;
}
.about-facts dl { margin: 0; }
.about-facts dt {
  font-weight: 700;
  color: var(--brand-dark);
  margin-top: 16px;
}
.about-facts dt:first-child { margin-top: 0; }
.about-facts dd { margin: 4px 0 0; color: var(--text-muted); }

/* Reviews (honest empty state, no fabricated reviews) */
.reviews-section {
  background: linear-gradient(180deg, #fff, var(--bg-light));
  text-align: center;
}
.reviews-visual {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}
.stars-empty {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}
.stars-empty svg { width: 30px; height: 30px; fill: none; stroke: var(--star-empty); stroke-width: 1.5; }
.no-reviews-box {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(15,27,45,0.1);
}
.no-reviews-box h3 { margin: 0 0 8px; color: var(--brand-dark); font-size: 1.2rem; }
.no-reviews-box p { color: var(--text-muted); margin: 0 0 20px; }

/* Contact cards */
.contact-section { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.contact-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 26px;
}
.contact-card h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card p { margin: 0; color: var(--text-muted); }
.contact-card a.plain-link { text-decoration: underline; font-weight: 600; color: var(--brand-primary-dark); }

/* Contact form */
.contact-form-section {
  background: var(--bg-light);
  padding: 80px 20px;
}
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15,27,45,0.08);
  border: 1px solid var(--border-color);
}
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid #d3dce6;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--brand-dark);
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form button[type="submit"] { margin-top: 10px; }
.hidden-field { position: absolute; left: -9999px; }
.form-status {
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
.form-status.success { color: #15803d; }
.form-status.error { color: #c2410c; }

/* Final CTA */
.cta-section {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section p.section-sub { color: #cfdcee; }

/* Footer */
footer.site-footer {
  background: #0a1420;
  color: #b8c6da;
  padding: 40px 20px 26px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.footer-nap { font-size: 0.95rem; color: #a7b8cf; }
.footer-nap strong { color: #fff; }
.footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 0.88rem;
}
.footer-sitemap a { color: #a7b8cf; text-decoration: none; }
.footer-sitemap a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  font-size: 0.82rem;
  color: #6f83a0;
  border-top: 1px solid #1c2e45;
  padding-top: 18px;
  width: 100%;
  text-align: center;
}

/* Mobile nav */
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 780px) {
  .about-section .container { grid-template-columns: 1fr; }
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    flex-direction: column;
    padding: 16px 20px;
    gap: 14px;
    display: none;
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  header.site-header { position: sticky; }
}
