/* ==========================================================================
   HexaMSP — pages.css
   Layouts used by a single page: services detail, about, pricing, contact.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Services — jump nav
   -------------------------------------------------------------------------- */
.svc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-block: 1.25rem;
}
.svc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--navy-700);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: 0.03em;
  color: var(--text-muted);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.svc-nav a:hover { border-color: var(--cyan-line); color: var(--cyan); background: var(--cyan-wash); }

/* --------------------------------------------------------------------------
   2. Services — detail blocks
   -------------------------------------------------------------------------- */
.svc__inner { display: grid; gap: 2rem; }
.svc__head { max-width: 40rem; }
.svc__head .hexicon { margin-bottom: 1.5rem; }
.svc__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
.svc__head p { margin-top: 1.15rem; color: var(--text-muted); }

.svc__detail { padding-top: 0.35rem; }
.svc__inc-title {
  font-family: var(--font-mono);
  font-size: var(--step-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 940px) {
  .svc__inner { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .svc__head { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* --------------------------------------------------------------------------
   3. About
   -------------------------------------------------------------------------- */
.about-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.about-figure img { width: 100%; }

/* Beside a long column of prose the figure would otherwise float, centred and
   undersized. Crop it to a portrait and let it track the text as you read. */
@media (min-width: 940px) {
  .about-figure {
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
  .about-figure img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }
}
/* Grades the photo into the palette and guarantees the caption stays legible
   over the lit hardware behind it. */
.about-figure__tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 30, 0.12) 40%, rgba(10, 15, 30, 0.9) 100%),
    linear-gradient(210deg, rgba(0, 212, 255, 0.12), transparent 60%);
}
.about-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: var(--step-xs);
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 940px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
}

.values { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(3, 1fr); } }

.value { padding: 1.75rem; background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); border-top: 2px solid var(--cyan); }
.value h3 { margin-bottom: 0.7rem; }
.value p { color: var(--text-muted); font-size: var(--step-sm); }

/* Promise list — the commitments section on About */
.promises { display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise {
  display: grid;
  gap: 0.5rem 1.5rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.promise .icon { color: var(--cyan); margin-top: 0.3rem; }
.promise h3 { font-size: 1.0625rem; font-weight: 600; }
.promise p { color: var(--text-muted); font-size: var(--step-sm); }
@media (min-width: 760px) { .promise { grid-template-columns: 24px 18rem 1fr; } }

/* --------------------------------------------------------------------------
   4. Contact
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.35fr 0.65fr; gap: 4rem; } }

.contact-aside { display: grid; gap: 1.25rem; }
.contact-card { padding: 1.75rem; background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius); }
.contact-card h2, .contact-card h3 {
  font-family: var(--font-mono);
  font-size: var(--step-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.25rem;
}
.contact-card__row { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-card__row + .contact-card__row { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.contact-card__row .icon { color: var(--cyan); flex: none; margin-top: 0.25rem; }
.contact-card__row a { font-size: 1.0625rem; font-weight: 600; }
.contact-card__row span { display: block; font-size: var(--step-xs); color: var(--text-faint); margin-top: 0.15rem; }
.contact-card p { font-size: var(--step-sm); color: var(--text-muted); }

.hours { display: flex; flex-direction: column; gap: 0.6rem; font-size: var(--step-sm); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-muted); }
.hours b { font-family: var(--font-mono); font-size: var(--step-xs); color: var(--paper); font-weight: 500; letter-spacing: 0.03em; }

.area-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.area-list li {
  padding: 0.3rem 0.7rem;
  background: var(--navy-900);
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   5. Pricing extras
   -------------------------------------------------------------------------- */
.price-faq { display: grid; gap: 1.25rem; }
@media (min-width: 860px) { .price-faq { grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; } }
.price-faq h3 { font-size: 1.0625rem; margin-bottom: 0.6rem; }
.price-faq p { color: var(--text-muted); font-size: var(--step-sm); }
