*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --steel: #3a5169;
  --pale: #e8eef2;
  --white: #ffffff;
  --text: #1a2634;
  --muted: #5a6b7d;
  --border: #c8d4dc;
  --accent: #2d6a8a;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--pale);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.logo span { color: var(--accent); font-weight: 400; }

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
}

.main-nav a {
  color: var(--steel);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.header-cta {
  display: inline-block;
  background: var(--steel);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  background: var(--steel);
  color: var(--white);
  padding: 72px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 2px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--steel);
}

.btn-primary:hover {
  background: var(--pale);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--white);
  text-decoration: none;
}

.btn-steel {
  background: var(--steel);
  color: var(--white);
}

.btn-steel:hover {
  background: var(--accent);
  text-decoration: none;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 20px;
  border-radius: 2px;
}

.stat-box strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-box span { font-size: 0.8125rem; opacity: 0.8; }

/* Sections */
section { padding: 64px 0; }

section.bg-white { background: var(--white); }
section.bg-pale { background: var(--pale); }

.section-header {
  margin-bottom: 40px;
  max-width: 640px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p { color: var(--muted); }

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 2px;
}

.card h3 {
  font-size: 1.125rem;
  color: var(--steel);
  margin-bottom: 10px;
}

.card p { color: var(--muted); font-size: 0.9375rem; }

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--pale);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-bottom: 16px;
  color: var(--steel);
  font-weight: 700;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

/* Pricing */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--steel);
  border-width: 2px;
  position: relative;
}

.price-card .badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--steel);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 {
  font-size: 1.125rem;
  color: var(--steel);
  margin-bottom: 8px;
}

.price-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 4px;
}

.price-card .price-note {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}

.price-card li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--pale);
  padding-left: 16px;
  position: relative;
}

.price-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.step-num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: var(--steel);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: 12px;
}

.step h4 {
  font-size: 0.9375rem;
  color: var(--steel);
  margin-bottom: 6px;
}

.step p { font-size: 0.8125rem; color: var(--muted); }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  border-radius: 2px;
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  padding: 0 24px 18px;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h3 {
  font-size: 1.125rem;
  color: var(--steel);
  margin-bottom: 16px;
}

.contact-detail {
  margin-bottom: 20px;
}

.contact-detail strong {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 4px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--steel);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--white);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}

/* Page header */
.page-header {
  background: var(--steel);
  color: var(--white);
  padding: 48px 0;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-header p { opacity: 0.85; max-width: 560px; }

.breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.breadcrumb a { color: var(--white); }

/* Content prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.375rem; color: var(--steel); margin: 32px 0 12px; }
.prose h3 { font-size: 1.125rem; color: var(--steel); margin: 24px 0 8px; }
.prose p { margin-bottom: 16px; color: var(--muted); }
.prose ul, .prose ol { margin: 0 0 16px 24px; color: var(--muted); }
.prose li { margin-bottom: 6px; }

/* Portfolio / projects */
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.project-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--pale) 0%, var(--border) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  font-weight: 600;
  font-size: 0.875rem;
}

.project-body { padding: 24px; }
.project-body h3 { font-size: 1.0625rem; color: var(--steel); margin-bottom: 8px; }
.project-body p { font-size: 0.875rem; color: var(--muted); }
.project-meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
}

/* Areas list */
.area-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  border-radius: 2px;
}

.area-item strong { color: var(--steel); }
.area-item span { font-size: 0.875rem; color: var(--muted); }

/* Sitemap */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.sitemap-col h3 {
  font-size: 1rem;
  color: var(--steel);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pale);
}

.sitemap-col ul { list-style: none; }
.sitemap-col li { margin-bottom: 6px; }
.sitemap-col a { font-size: 0.9375rem; }

/* CTA band */
.cta-band {
  background: var(--steel);
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}

.cta-band h2 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.cta-band p {
  opacity: 0.85;
  margin-bottom: 24px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-actions { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
}

.footer-bottom a { color: rgba(255,255,255,0.6); }

/* Legal pages */
.legal-content {
  background: var(--white);
  padding: 48px 0 64px;
}

.legal-content .prose { max-width: 800px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-4, .process-steps, .footer-grid, .sitemap-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hero h1 { font-size: 1.875rem; }
}
