/* ===== Omneix – Service & extra pages (hidden by default) ===== */

/* Clickable service cards */
.service { cursor: pointer; }

/* Hidden by default */
#pages { display: none; }
body.route-open #pages { display: block; }
body.route-open main { display: none; }

.page-wrap { padding: 18px 20px 30px; max-width: 1100px; margin: 0 auto; }
.page-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; padding: 9px 14px; border-radius: 999px;
  background: #f1f5ee; border: 1px solid #e3ebdc; margin-bottom: 22px;
}
.page-back:hover { background: #e7f3d9; }

.page-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: #0b0b0c;
  background: #8fe020; padding: 5px 12px; border-radius: 999px; letter-spacing: .3px;
}
.page-wrap h1 { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -1px; margin-top: 14px; }
.page-lead { font-size: 15px; line-height: 1.7; color: #3b4148; margin-top: 14px; max-width: 640px; }
.page-wrap h2 { font-size: 22px; font-weight: 700; letter-spacing: -.4px; margin-top: 34px; }
.page-wrap h2::after {
  content: ""; display: block; width: 34px; height: 3px; background: #8fe020; border-radius: 3px; margin-top: 8px;
}

.btn-cta-dark {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  background: #0b0b0c; color: #fff; padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.btn-cta-dark span { color: #8fe020; }

/* Feature list */
.feat { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.feat li {
  padding: 14px 16px; border-radius: 14px; font-size: 14px; line-height: 1.5;
  background: #f6f8fa; border: 1px solid #e6e9ee;
  display: flex; gap: 12px; align-items: flex-start;
}
.feat li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex-shrink: 0;
  background: linear-gradient(135deg, #8fe020, #22b8f0);
}

/* Process steps */
.steps { list-style: none; counter-reset: st; display: grid; gap: 10px; margin-top: 16px; }
.steps li {
  counter-increment: st; position: relative; padding: 14px 16px 14px 56px; border-radius: 14px;
  background: #fff; border: 1px solid #e6e9ee; font-size: 14px; line-height: 1.5;
}
.steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 10px; background: #0b0b0c; color: #8fe020;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.steps li strong { display: block; font-size: 14px; margin-bottom: 2px; }

/* Portfolio cards */
.pf-grid { display: grid; gap: 14px; margin-top: 16px; grid-template-columns: 1fr; }
.pf-card {
  position: relative; border-radius: 18px; overflow: hidden; min-height: 200px; padding: 18px;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  text-decoration: none; box-shadow: 0 10px 25px rgba(0,0,0,.08);
  transition: transform .25s;
}
.pf-card:hover { transform: translateY(-4px); }
.pf-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.05) 65%);
}
.pf-card > * { position: relative; z-index: 2; }
.pf-card .pf-type { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #8fe020; font-weight: 600; }
.pf-card h3 { font-size: 18px; font-weight: 700; margin-top: 4px; }
.pf-card p { font-size: 12.5px; line-height: 1.5; color: #e4e8ec; margin-top: 4px; }
.pf-1 { background: linear-gradient(135deg, #1f2328, #8fe020); }
.pf-2 { background: linear-gradient(135deg, #22b8f0, #0b0b0c); }
.pf-3 { background: linear-gradient(135deg, #0b0b0c, #3a3f46); }
.pf-4 { background: linear-gradient(135deg, #8fe020, #22b8f0); }
.pf-5 { background: linear-gradient(135deg, #2b3a2a, #0b0b0c); }
.pf-6 { background: linear-gradient(135deg, #123a46, #8fe020); }
.pf-7 { background: linear-gradient(135deg, #0b0b0c, #22b8f0); }
.pf-8 { background: linear-gradient(135deg, #8fe020, #0b0b0c); }
.pf-9 { background: linear-gradient(135deg, #22b8f0, #8fe020); }

/* Other services links */
.other-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.other-grid a {
  padding: 12px 14px; border-radius: 12px; background: #f6f8fa; border: 1px solid #e6e9ee;
  font-size: 12.5px; font-weight: 600;
}
.other-grid a:hover { background: #e7f3d9; }

/* Simple content blocks (About, FAQ) */
.info-grid { display: grid; gap: 12px; margin-top: 16px; }
.info-box {
  padding: 18px; border-radius: 16px; background: #f6f8fa; border: 1px solid #e6e9ee;
}
.info-box h3 { font-size: 15px; font-weight: 700; }
.info-box p { font-size: 13.5px; line-height: 1.6; color: #3b4148; margin-top: 6px; }

.faq { display: grid; gap: 10px; margin-top: 16px; }
.faq details { border: 1px solid #e6e9ee; border-radius: 14px; padding: 14px 16px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: #8fe020; font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { font-size: 13.5px; line-height: 1.6; color: #3b4148; margin-top: 10px; }

/* Contact form */
.contact-form { display: grid; gap: 12px; margin-top: 16px; max-width: 560px; }
.contact-form label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 14px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid #dfe3e8; background: #fff; color: #111;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: #8fe020; box-shadow: 0 0 0 3px rgba(143,224,32,.2);
}
.contact-form button {
  border: none; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px;
  padding: 14px 22px; border-radius: 999px; background: #8fe020; color: #0b0b0c;
}

/* Responsive */
@media (min-width: 720px) {
  .page-wrap { padding: 30px 60px 50px; }
  .page-wrap h1 { font-size: 48px; }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .other-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .pf-grid { grid-template-columns: repeat(3, 1fr); }
  .other-grid { grid-template-columns: repeat(3, 1fr); }
}
