/* =========================================================
   Panavia Interactive: Services (/services/)
   The business-facing page. Deliberately not the game site's
   cockpit-HUD look: light paper, navy ink, a serif for headings,
   one warm accent carried over from the studio's amber.
   Only services/index.html loads this file.
   ========================================================= */

:root {
  --paper: #f7f6f2;
  --surface: #ffffff;
  --tint: #eef1f5;
  --ink: #142033;
  --ink-2: #3f4b5e;
  --ink-3: #5f6a7b;
  --line: #e2e0d9;
  --line-2: #cfd5de;
  --navy: #1c3557;
  --navy-2: #284a78;
  --accent: #c25e14;
  --accent-text: #a4500f;  /* the accent dark enough for small text (5:1 on paper) */
  --accent-soft: #f6e6d8;
  --ok: #1f6b4a;
  --err: #a12a2a;

  --f-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --maxw: 1120px;
  --pad: clamp(16px, 5vw, 56px);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; color: var(--ink); margin: 0; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

.kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* -------------------- buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font: 600 15px/1.2 var(--f-body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--navy); }
.btn:focus-visible, a:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------- header -------------------- */
.svc-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 246, 242, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.svc-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.svc-brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.svc-brand strong { font-family: var(--f-head); font-size: 20px; font-weight: 700; letter-spacing: 0.01em; }
.svc-brand span { font-size: 13px; color: var(--ink-3); border-left: 1px solid var(--line-2); padding-left: 10px; }
.svc-nav { display: flex; align-items: center; gap: 26px; }
.svc-nav a { color: var(--ink-2); font-size: 15px; text-decoration: none; }
.svc-nav a:hover { color: var(--navy); }
.svc-nav .btn { padding: 10px 18px; color: #fff; }
.svc-nav .btn { white-space: nowrap; }
.when-narrow { display: none; }
@media (max-width: 440px) {
  .when-wide { display: none; }
  .when-narrow { display: inline; }
  .svc-brand strong { font-size: 18px; }
}

/* -------------------- sections -------------------- */
section { padding: 88px 0; scroll-margin-top: 68px; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 10px; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 17px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* -------------------- hero -------------------- */
.hero { padding: 80px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.01em; margin-top: 14px; }
.hero .lead { font-size: 19px; color: var(--ink-2); margin-top: 22px; max-width: 580px; }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

.flow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 18px 40px -24px rgba(20, 32, 51, 0.28);
}
.flow-card .label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.flow-card h3 { font-size: 19px; margin-top: 6px; }
.flow { list-style: none; margin-top: 14px; }
.flow li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14.5px; color: var(--ink-2); }
.flow li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: var(--line-2); }
.flow.after li::before { background: var(--ok); }
.flow-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 2px; font-size: 13px; font-weight: 600; color: var(--accent-text); }
.flow-divider::before, .flow-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* -------------------- pain points -------------------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.pain h3 { font-family: var(--f-body); font-size: 16px; font-weight: 600; }
.pain p { color: var(--ink-2); font-size: 15px; margin-top: 6px; }

/* -------------------- services -------------------- */
.main-services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 32px;
}
.svc-card.ai { border-top-color: var(--accent); }
.svc-card h3 { font-size: 25px; margin-top: 8px; }
.svc-card > p { color: var(--ink-2); margin-top: 12px; }
.ticks { list-style: none; margin-top: 18px; }
.ticks li { position: relative; padding: 6px 0 6px 28px; color: var(--ink-2); font-size: 15.5px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

.prices { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 32px; }
.prices-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.prices-head h3 { font-size: 21px; }
.prices-head p { color: var(--ink-3); font-size: 14.5px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 18px; }
.price + .price { border-left: 1px solid var(--line); padding-left: 20px; }
.price span { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.price strong { display: block; font-family: var(--f-head); font-size: 27px; font-weight: 600; color: var(--navy); margin-top: 4px; white-space: nowrap; }
.price strong small { font-family: var(--f-body); font-size: 14px; font-weight: 500; color: var(--ink-3); }
.price em { display: block; font-style: normal; font-size: 14px; color: var(--ink-3); margin-top: 2px; }

.also-head { margin: 56px 0 18px; font-size: 21px; }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.also { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.also h4 { font-family: var(--f-body); font-size: 16px; font-weight: 600; }
.also p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }

/* -------------------- process -------------------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font: 600 18px/1 var(--f-head);
}
.steps h3 { font-size: 20px; }
.steps p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* -------------------- AI training -------------------- */
.ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.ai-grid .section-head { margin-bottom: 0; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.topic { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.topic strong { display: block; font-size: 15px; }
.topic span { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { background: var(--accent-soft); color: #7a3a0b; border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; }

/* -------------------- why us -------------------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.why h3 { font-family: var(--f-body); font-size: 16.5px; font-weight: 600; padding-top: 14px; border-top: 2px solid var(--accent); }
.why p { color: var(--ink-2); font-size: 15px; margin-top: 8px; }

/* -------------------- example project -------------------- */
.example { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.example-head { padding: 28px 32px; border-bottom: 1px solid var(--line); }
.example-head h3 { font-size: 23px; }
.example-head p { color: var(--ink-2); margin-top: 6px; }
.example-cols { display: grid; grid-template-columns: 1fr 1.2fr 0.9fr; }
.example-cols > div { padding: 26px 32px; }
.example-cols > div + div { border-left: 1px solid var(--line); }
.example-cols h4 { font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.example-cols ul { list-style: none; margin-top: 10px; }
.example-cols li { position: relative; padding: 6px 0 6px 18px; color: var(--ink-2); font-size: 15px; }
.example-cols li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.example-result { background: var(--tint); }
.example-result .big { font: 600 30px/1.2 var(--f-head); color: var(--navy); margin-top: 12px; }
.example-result .big span { color: var(--accent); padding: 0 4px; }
.example-result p:last-child { color: var(--ink-2); margin-top: 8px; font-size: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* -------------------- about -------------------- */
.about { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.about img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: var(--tint); }
.about h2 { font-size: clamp(28px, 3.4vw, 38px); margin-top: 10px; }
.about p { color: var(--ink-2); font-size: 17px; margin-top: 16px; max-width: 640px; }
.about .btn-row { margin-top: 28px; }

/* -------------------- FAQ -------------------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 16px;
  font: 400 26px/1 var(--f-body);
  color: var(--ink-3);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 720px; }

/* -------------------- contact -------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid .section-head { margin-bottom: 24px; }
.contact-points { list-style: none; }
.contact-points li { padding: 14px 0; border-top: 1px solid var(--line); }
.contact-points li:last-child { border-bottom: 1px solid var(--line); }
.contact-points .k { font-size: 13px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.06em; }
.contact-points .v { margin-top: 2px; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-card label .opt { font-weight: 400; color: var(--ink-3); }
.form-card input, .form-card select, .form-card textarea {
  width: 100%;
  font: 400 15.5px/1.5 var(--f-body);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 18px;
}
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(40, 74, 120, 0.18); }
.form-card .btn { width: 100%; padding: 15px; }
.form-card .fine { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.turnstile-slot { margin-bottom: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { border-radius: 8px; padding: 14px 16px; margin-bottom: 20px; font-size: 15px; }
.form-status.success { background: #e5f2ec; color: var(--ok); border: 1px solid #b9dccb; }
.form-status.error { background: #f8e7e7; color: var(--err); border: 1px solid #e7c1c1; }

/* -------------------- footer -------------------- */
.svc-footer { border-top: 1px solid var(--line); padding: 36px 0; font-size: 14px; color: var(--ink-3); }
.svc-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.svc-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.svc-footer a { color: var(--ink-2); text-decoration: none; }
.svc-footer a:hover { color: var(--navy); text-decoration: underline; }

/* -------------------- responsive -------------------- */
@media (max-width: 980px) {
  .hero-grid, .ai-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .example-cols { grid-template-columns: 1fr 1fr; }
  .example-result { grid-column: 1 / -1; border-left: none !important; border-top: 1px solid var(--line); }
  .about { grid-template-columns: 220px 1fr; gap: 36px; }
  .also-grid, .why-grid, .steps { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .price:nth-child(3) { border-left: none; padding-left: 0; }
  .svc-nav a:not(.btn) { display: none; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .main-services, .pain-grid, .also-grid, .why-grid, .steps, .topics, .form-row { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .svc-card, .form-card, .prices { padding: 24px; }
  .price-grid { grid-template-columns: 1fr; gap: 14px; }
  .price + .price { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .example-cols { grid-template-columns: 1fr; }
  .example-cols > div + div { border-left: none; border-top: 1px solid var(--line); }
  .example-head, .example-cols > div { padding: 22px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about img { max-width: 220px; }
  .svc-brand span { display: none; }
  .svc-nav .btn { padding: 9px 14px; font-size: 14px; }
}
