:root {
  --fg: #0f172a;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --accent: #0ea5e9;
  --muted: #64748b;
  --border: #e2e8f0;
}

[data-theme="dark"] {
  --fg: #e2e8f0;
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --accent: #38bdf8;
  --muted: #94a3b8;
  --border: #334155;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.brand .logo-dark { display: none; }

[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }

.header-right {
  display: flex;
  align-items: center;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: none;
  color: var(--fg);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  margin-left: 1.5rem;
}

.theme-toggle:hover {
  border-color: var(--accent);
}

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

.site-header {
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
}

.site-header nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header nav a {
  color: var(--fg);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--accent);
}

main.container {
  padding-top: 3rem;
  padding-bottom: 3rem;
  min-height: 60vh;
}

.hero {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 3rem 2rem;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--fg);
}

.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.cta:hover {
  background: #0284c7;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  padding: 1.5rem 0;
}

.legal-details {
  margin-top: 0.5rem;
  font-size: 0.8rem;
}

.trusted-by {
  text-align: center;
  margin-top: 2.5rem;
}

.trusted-by-label {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.trusted-by-names {
  margin: 0;
  font-weight: 600;
  color: var(--fg);
}

.home-services {
  margin-top: 3rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.service-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.service-card h2,
.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font: inherit;
}

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

.btn-submit {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.btn-submit:hover {
  background: #0284c7;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
