/* =========================================================================
   OWASOL — inner-page components
   Loaded alongside main.css on every page except the home page.
   main.css owns the shared shell (header, footer, buttons, cards, motion);
   this file owns the pieces that only inner pages use.
   ========================================================================= */

/* ---------- 1. Page hero ------------------------------------------------ */
.page-hero {
  position: relative;
  padding: 152px 0 56px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 420px;
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(99, 102, 241, 0.22), transparent 66%);
  pointer-events: none;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-size: 12.5px;
  color: #7f8ba6;
}
.crumbs a { color: #94a3b8; transition: color 0.3s; }
.crumbs a:hover { color: var(--cyan); }
.crumbs img { opacity: 0.35; }

.page-title {
  margin-top: 16px;
  max-width: 17ch;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}
.page-lead {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 15.5px;
  line-height: 1.75;
  color: #94a3b8;
}

.section.pt-0 { padding-top: 0; }
.section.pt-4 { padding-top: 24px; }

/* ---------- 2. Service detail rows -------------------------------------- */
.service-row {
  display: grid;
  gap: 40px;
  align-items: center;
}
.row-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.09);
}
.service-row-copy h2 {
  margin: 22px 0 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.row-lead { margin: 0; font-size: 16px; line-height: 1.65; color: #cbd5e1; }
.row-body { margin: 16px 0 0; font-size: 14.5px; line-height: 1.75; color: #94a3b8; }

.row-points {
  display: grid;
  gap: 11px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.row-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #cbd5e1;
}
.row-points img { flex: none; margin-top: 2px; }

.service-row-copy .card-link { margin-top: 28px; padding-top: 0; }

.service-row-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -44px rgba(0, 0, 0, 0.95);
  transform-style: preserve-3d;
}
.service-row-media img { width: 100%; }
.service-row-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.1), transparent 55%);
  pointer-events: none;
}

/* ---------- 3. Why / stack cards ---------------------------------------- */
.why-card {
  position: relative;
  padding: 34px 30px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(13, 20, 52, 0.85), rgba(7, 11, 32, 0.9));
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.4s, box-shadow 0.45s;
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 34px 60px -34px rgba(34, 211, 238, 0.5);
}
.why-num {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.why-card h3 {
  margin: 18px 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}
.why-card p { margin: 0; font-size: 14px; line-height: 1.7; color: #94a3b8; }

.stack-card {
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.4s var(--ease-out), border-color 0.35s, background 0.35s;
}
.stack-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(139, 92, 246, 0.06);
}
.stack-card h3 {
  margin: 0 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}
.stack-card p { margin: 0; font-size: 13.5px; line-height: 1.7; color: #94a3b8; }

/* ---------- 4. Portfolio ------------------------------------------------ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 42px;
}
.filter-btn {
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.filter-btn:hover { color: #fff; transform: translateY(-2px); border-color: var(--line-strong); }
.filter-btn.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(115deg, var(--indigo), var(--purple));
  box-shadow: 0 10px 26px -14px rgba(139, 92, 246, 0.95);
}

.portfolio-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
.portfolio-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(13, 20, 52, 0.88), rgba(7, 11, 32, 0.92));
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out), border-color 0.4s, box-shadow 0.45s, opacity 0.4s;
}
.portfolio-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 36px 66px -34px rgba(34, 211, 238, 0.5);
}
.portfolio-card.is-hidden { display: none; }

.portfolio-media { position: relative; overflow: hidden; }
.portfolio-media img {
  width: 100%;
  aspect-ratio: 16 / 10.4;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.portfolio-card:hover .portfolio-media img { transform: scale(1.06); }

.portfolio-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 24px 26px;
}
.portfolio-cat {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
}
.portfolio-body h2 {
  margin: 0 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
}
.portfolio-summary { margin: 0; font-size: 13.5px; line-height: 1.7; color: #94a3b8; }

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 20px 0 0;
}
.tech-tags span {
  padding: 5px 11px;
  border-radius: 99px;
  font-size: 11px;
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.24);
  background: rgba(99, 102, 241, 0.1);
}
.portfolio-body .card-link { margin-top: auto; padding-top: 22px; }

/* ---------- 5. About ----------------------------------------------------- */
.fact-card {
  padding: 30px 28px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.06), rgba(168, 85, 247, 0.07));
  transition: transform 0.4s var(--ease-out), border-color 0.35s, box-shadow 0.4s;
}
.fact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 30px 56px -34px rgba(34, 211, 238, 0.6);
}
.fact-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.22), rgba(168, 85, 247, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fact-num {
  margin: 20px 0 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.fact-label { margin: 0; font-size: 13.5px; color: #94a3b8; }

.vision-panel {
  position: relative;
  padding: 48px;
  border-radius: 26px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background:
    radial-gradient(110% 130% at 90% 10%, rgba(124, 58, 237, 0.35), transparent 60%),
    linear-gradient(120deg, rgba(12, 18, 48, 0.95), rgba(20, 13, 52, 0.95));
  overflow: hidden;
}
.vision-panel::before {
  content: '';
  position: absolute;
  inset: -50% -10%;
  background: conic-gradient(from 0deg, transparent, rgba(34, 211, 238, 0.14), transparent 32%);
  animation: swirl 18s linear infinite;
}
.vision-panel > * { position: relative; }
.vision-panel h2 {
  margin: 18px 0 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
}
.vision-panel p { margin: 0; max-width: 70ch; font-size: 15.5px; line-height: 1.8; color: #cbd5e1; }

.industry-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.industry-chip {
  padding: 11px 22px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 500;
  color: #cbd5e1;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.35s var(--ease-out), color 0.3s, border-color 0.3s, background 0.3s, box-shadow 0.35s;
}
.industry-chip:hover {
  transform: translateY(-4px);
  color: #fff;
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 14px 30px -18px rgba(34, 211, 238, 0.9);
}

.value-card, .topic-card {
  padding: 32px 30px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(13, 20, 52, 0.85), rgba(7, 11, 32, 0.9));
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease-out), border-color 0.4s, box-shadow 0.45s;
}
.value-card:hover, .topic-card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 34px 62px -34px rgba(139, 92, 246, 0.65);
}
.value-card h3, .topic-card h3 {
  margin: 22px 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}
.value-card p, .topic-card p { margin: 0; font-size: 14px; line-height: 1.7; color: #94a3b8; }

/* ---------- 6. Careers --------------------------------------------------- */
.benefit-card {
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.4s var(--ease-out), border-color 0.35s, background 0.35s;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.055);
}
.benefit-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.24), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.45s var(--ease-out);
}
.benefit-card:hover .benefit-ico { transform: rotate(-10deg) scale(1.08); }
.benefit-card h3 {
  margin: 20px 0 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.benefit-card p { margin: 0; font-size: 13px; line-height: 1.65; color: #94a3b8; }

.timeline { margin: 0; padding: 0; list-style: none; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  top: 18px; bottom: 18px; left: 19px;
  width: 1px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.55), rgba(168, 85, 247, 0.35), transparent);
}
.timeline-item {
  position: relative;
  display: flex;
  gap: 22px;
  padding-bottom: 30px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  flex: none;
  width: 39px; height: 39px;
  border-radius: 50%;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--indigo), var(--purple));
  box-shadow: 0 0 0 5px rgba(3, 6, 26, 1), 0 10px 24px -12px rgba(139, 92, 246, 0.95);
}
.timeline-item h3 {
  margin: 8px 0 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.timeline-item p { margin: 0; font-size: 14px; line-height: 1.7; color: #94a3b8; }

/* ---------- 7. Empty states --------------------------------------------- */
.empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 24px;
  font-size: 14px;
  color: #94a3b8;
}
.empty-state img { opacity: 0.45; }

.empty-state-lg {
  flex-direction: column;
  gap: 0;
  padding: 62px 34px;
  text-align: center;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}
.empty-ico {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.empty-state-lg h3 {
  margin: 0 0 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.empty-state-lg p { margin: 0; max-width: 54ch; font-size: 14.5px; line-height: 1.75; color: #94a3b8; }

/* ---------- 8. Contact --------------------------------------------------- */
.contact-panel {
  padding: 38px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(13, 20, 52, 0.88), rgba(7, 11, 32, 0.92));
}

.field-group { margin: 0 0 28px; padding: 0; border: 0; }
.field-group legend {
  padding: 0 0 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.radio-row { display: grid; gap: 12px; grid-template-columns: 1fr; }
.radio-card { cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-inner {
  display: flex;
  align-items: center;
  gap: 13px;
  height: 100%;
  padding: 15px 17px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.radio-card:hover .radio-inner { transform: translateY(-3px); border-color: var(--line-strong); }
.radio-card input:checked + .radio-inner {
  border-color: rgba(34, 211, 238, 0.65);
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}
.radio-card input:focus-visible + .radio-inner { outline: 2px solid var(--cyan); outline-offset: 2px; }
.radio-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.22), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.radio-text { display: flex; flex-direction: column; gap: 3px; }
.radio-text strong { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: #fff; }
.radio-text em { font-style: normal; font-size: 12px; color: #7f8ba6; }

.field-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.field { display: block; margin-bottom: 18px; }
.field > span {
  display: block;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #cbd5e1;
}
.field b { color: var(--cyan); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 13px;
  font-family: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  outline: none;
  resize: vertical;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7794; }
.field input:focus, .field textarea:focus {
  border-color: rgba(34, 211, 238, 0.7);
  background: rgba(34, 211, 238, 0.06);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.11);
}
.field input.is-invalid, .field textarea.is-invalid {
  border-color: rgba(248, 113, 113, 0.8);
  background: rgba(248, 113, 113, 0.07);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 6px 0 26px;
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  cursor: pointer;
}
.checkbox input {
  flex: none;
  width: 17px; height: 17px;
  margin-top: 1px;
  accent-color: #22d3ee;
}

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-panel .form-note { margin-top: 16px; }

.contact-aside { display: flex; flex-direction: column; gap: 12px; }
.promise-card {
  padding: 24px 26px;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.09), rgba(99, 102, 241, 0.09));
}
.promise-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.promise-card li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #cbd5e1;
}
.promise-card img { flex: none; margin-top: 2px; }

.aside-title {
  margin: 18px 0 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 0.35s var(--ease-out), border-color 0.3s, background 0.3s;
}
.contact-card:not(.is-static):hover {
  transform: translateX(5px);
  border-color: rgba(34, 211, 238, 0.45);
  background: rgba(34, 211, 238, 0.06);
}
.contact-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-card > span:last-child { font-size: 13.5px; line-height: 1.55; color: #94a3b8; }
.contact-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.hours-card {
  margin-top: 6px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.hours-card h3 {
  margin: 0 0 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.hours-card p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 9px;
  font-size: 13px;
  color: #94a3b8;
}
.hours-card p:last-child { margin-bottom: 0; }
.hours-card span:last-child { color: #cbd5e1; }

/* ---------- 9. FAQ ------------------------------------------------------- */
.faq-grid { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.35s, background 0.35s;
}
.faq-item.is-open { border-color: rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.04); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 21px 24px;
  text-align: left;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.faq-q img { flex: none; opacity: 0.5; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
.faq-item.is-open .faq-q img { transform: rotate(180deg); opacity: 1; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-out);
}
.faq-a p { margin: 0; padding: 0 24px 22px; font-size: 14px; line-height: 1.75; color: #94a3b8; }

/* ---------- 10. Legal pages --------------------------------------------- */
.legal { max-width: 780px; }
.legal-updated {
  margin: 0 0 40px;
  padding: 9px 18px;
  display: inline-block;
  border-radius: 99px;
  font-size: 12.5px;
  color: #94a3b8;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.legal-block { margin-bottom: 40px; }
.legal-block h2 {
  margin: 0 0 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.legal-block p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.8; color: #94a3b8; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block strong { color: #cbd5e1; font-weight: 600; }

/* ---------- 11. 404 ------------------------------------------------------ */
.error-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 140px 0 80px;
  text-align: center;
}
.error-inner { display: flex; flex-direction: column; align-items: center; }
.error-orb {
  position: relative;
  width: clamp(180px, 32vw, 260px);
  aspect-ratio: 1;
  perspective: 900px;
  margin-bottom: 12px;
}
.error-code {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3.4rem, 11vw, 6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shiftHue 7s linear infinite;
}
.error-inner h1 {
  margin: 18px 0 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.error-lead { margin: 16px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.7; color: #94a3b8; }
.error-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 26px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  width: min(560px, 90vw);
}
.error-links a { font-size: 13.5px; color: #94a3b8; transition: color 0.3s; }
.error-links a:hover { color: var(--cyan); }

/* ---------- 12. Compact CTA --------------------------------------------- */
.cta-compact { padding: 44px; }
.cta-compact .cta-visual .astronaut { width: clamp(180px, 26vw, 260px); }

/* ---------- 13. Responsive ---------------------------------------------- */
@media (min-width: 640px) {
  .radio-row { grid-template-columns: repeat(3, 1fr); }
  .field-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .page-hero { padding: 184px 0 64px; }
  .service-row { grid-template-columns: 1fr 1fr; gap: 64px; }
  .service-row.is-flipped .service-row-copy { order: 2; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-compact { grid-template-columns: 1.2fr 0.8fr; padding: 48px 56px; }
}

@media (max-width: 767px) {
  .page-hero { padding: 120px 0 40px; }
  .contact-panel { padding: 26px 22px; }
  .vision-panel { padding: 32px 26px; }
  .cta-compact { padding: 30px 24px; }
  .why-card, .value-card, .topic-card { padding: 26px 24px; }
}
