.page-hero {
  background: linear-gradient(135deg, #2663ea 0%, #651fff 100%);
  color: #fff;
  padding: 4rem 0 3rem;
}

/* Services accents */
.service-page {
  --accent-1: #2663ea;
  --accent-2: #651fff;
  --accent-soft: rgba(38, 99, 234, 0.14);
}

.service-page .page-hero {
  background: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
}

.service-page .btn-primary {
  background: var(--accent-1);
}

.service-page .btn-primary:hover {
  background: var(--accent-2);
}

.service-page .checklist li::before {
  color: var(--accent-1);
}

.service-page .tag-list li {
  background: var(--accent-soft);
  color: #0f172a;
}

.service-page--websites {
  --accent-1: #2663ea;
  --accent-2: #651fff;
  --accent-soft: rgba(38, 99, 234, 0.14);
}

.service-page--web-apps {
  --accent-1: #0ea5e9;
  --accent-2: #22d3ee;
  --accent-soft: rgba(14, 165, 233, 0.14);
}

.service-page--hosting {
  --accent-1: #16a34a;
  --accent-2: #4ade80;
  --accent-soft: rgba(22, 163, 74, 0.14);
}

.service-page--domains {
  --accent-1: #f59e0b;
  --accent-2: #f97316;
  --accent-soft: rgba(245, 158, 11, 0.16);
}

.service-page--email {
  --accent-1: #7c3aed;
  --accent-2: #c084fc;
  --accent-soft: rgba(124, 58, 237, 0.14);
}

.service-page--custom-work {
  --accent-1: #ec4899;
  --accent-2: #f472b6;
  --accent-soft: rgba(236, 72, 153, 0.14);
}

.service-page--developer-contracting {
  --accent-1: #4f46e5;
  --accent-2: #818cf8;
  --accent-soft: rgba(79, 70, 229, 0.14);
}

.product-page--autometrica {
  --accent-1: #0f172a;
  --accent-2: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.14);
}

.product-page--autometrica .page-hero .tag-list li {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.product-page--bel51 {
  --accent-1: #1e1b4b;
  --accent-2: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.14);
}

.product-page--bel51 .page-hero .tag-list li {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.page-hero-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.page-hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.page-hero p {
  max-width: 680px;
  opacity: 0.85;
  line-height: 1.7;
}

.page-section {
  background: #f1f5f9;
  color: #1e293b;
  padding: 3.5rem 0;
}

.page-section--white {
  background: #fff;
}

.page-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.page-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.page-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.page-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  padding: 1.75rem;
  color: #1e293b;
}

.page-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.portfolio-list {
  display: grid;
  gap: 2rem;
}

.portfolio-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  padding: 1.75rem;
  display: grid;
  gap: 1.5rem;
  color: #1e293b;
  min-height: 60vh;
  align-content: center;
}

.portfolio-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-media img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 0.75rem;
  display: block;
}

.portfolio-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.portfolio-content .tag-list {
  margin-bottom: 1rem;
}

.portfolio-content .btn {
  display: inline-block;
}

@media (min-width: 900px) {
  .portfolio-item {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .portfolio-item:nth-child(even) {
    grid-template-columns: 1fr 1.1fr;
  }

  .portfolio-item:nth-child(even) .portfolio-media {
    order: 2;
  }

  .portfolio-media img {
    max-height: 60vh;
  }
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.tag-list li {
  background: #e2e8f0;
  color: #1e293b;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.checklist li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 600;
}

.inline-link {
  color: #2563eb;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-alert {
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.form-alert.success {
  background: #ecfdf3;
  border-color: #86efac;
  color: #166534;
}

.form-alert.error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.95rem;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.policy-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}

.policy-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0.5rem 0 1rem;
}

