:root {
  --primary: #13ecc8;
  --bg-dark: #10221f;
  --bg-light: #f6f8f8;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

header {
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(19, 236, 200, 0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
}

.brand span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
}

h1,
h2 {
  margin: 0;
}

section {
  margin-top: 1.5rem;
}

.card {
  background: rgba(15, 36, 32, 0.96);
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.75rem;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: #05100e;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

footer {
  border-top: 1px solid rgba(19, 236, 200, 0.15);
  background: #09110f;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.75rem 1.25rem;
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

footer a {
  color: var(--primary);
}

.services-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.services-row::-webkit-scrollbar {
  height: 6px;
}

.services-row::-webkit-scrollbar-thumb {
  background: #1f2933;
  border-radius: 999px;
}

.grid-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal-backdrop.show {
  display: flex;
}

.modal {
  background: var(--bg-dark);
  border-radius: 1.5rem;
  padding: 1.5rem;
  max-width: 360px;
  width: 100%;
  border: 1px solid rgba(19, 236, 200, 0.4);
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 36, 32, 0.9);
  color: var(--text-main);
  font-size: 0.85rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

textarea {
  resize: vertical;
}

