@charset "UTF-8";

/* ============================================
   JM Design Works — Stylesheet
   Light theme, navy blue accent
   ============================================ */

:root {
  --navy-900: #0b1f44;
  --navy-800: #14294f;
  --navy-700: #18396b;
  --navy-600: #1f4a8a;
  --navy-500: #2d5fad;
  --navy-100: #e7ecf6;
  --navy-50: #f3f6fc;

  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --text: #161f33;
  --text-muted: #5b6472;
  --border: #e5e9f2;

  --font-head: "Chivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 68, 0.06);
  --shadow-md: 0 12px 32px rgba(11, 31, 68, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 68, 0.16);

  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* The header is fixed, so an anchor would otherwise land underneath it.
   Sections carry their own 100px padding; #care is a bare div and needs more. */
section[id],
main[id] {
  scroll-margin-top: 40px;
}

#care {
  scroll-margin-top: 104px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: var(--navy-100);
  padding: 6px 14px;
  border-radius: 0;
  margin-bottom: 18px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

.bg-alt {
  background: var(--bg-alt);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 0;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--navy-900);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy-900);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(11, 31, 68, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy-900);
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--navy-600);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Header CTA that only appears inside the mobile menu */
.nav-cta {
  display: none;
}

.nav-cta a::after {
  display: none;
}

/* .nav-links a sets a dark colour that would otherwise win over .btn-primary */
.nav-cta .btn-primary {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */

.hero {
  padding: 190px 0 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-50) 0%, #ffffff 65%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--navy-100), transparent 70%);
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 66px);
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--navy-600);
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 38px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---- Hero graphic: laptop and phone drawn as SVG ---- */

.hero-visual {
  position: relative;
}

.hv-devices {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* Each device carries its own shadow so the phone reads as sitting in
   front of the laptop rather than pasted on top of it. */
.hv-laptop {
  filter: drop-shadow(0 18px 30px rgba(11, 31, 68, 0.16));
  animation: hv-float 9s ease-in-out infinite alternate;
}

.hv-phone {
  filter: drop-shadow(-12px 18px 28px rgba(11, 31, 68, 0.22));
  animation: hv-float 7s ease-in-out -2.4s infinite alternate;
}

@keyframes hv-float {
  from { transform: translateY(0); }
  to { transform: translateY(-7px); }
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Accent bar that fills in on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--navy-600);
  transition: width 0.3s ease;
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--navy-100);
  color: var(--navy-700);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s ease, color 0.25s ease;
}

.service-icon svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .service-icon {
  background: var(--navy-900);
  color: #fff;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.service-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-600);
}

.service-link:hover {
  text-decoration: underline;
}

/* ---------- Process ---------- */

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The rail runs between the centres of the first and last step markers,
   which sit at 12.5% and 87.5% of a four-column grid. */
.process-list::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--navy-100);
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.process-step .num {
  width: 54px;
  height: 54px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ring in the section colour so each marker punches a gap in the rail */
  box-shadow: 0 0 0 8px var(--bg-alt);
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 30ch;
  margin: 0 auto;
}

/* ---------- Work / Portfolio ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Cards are buttons so they are reachable by keyboard, not just mouse */
.work-card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.work-card:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
}

.work-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

/* Fades the cut-off edge so the crop reads as deliberate */
.work-thumb::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.work-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 31, 68, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.work-card:hover .work-open,
.work-card:focus-visible .work-open {
  opacity: 1;
}

.work-open span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}

.work-open svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.work-body {
  padding: 20px 22px 24px;
}

.work-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: 6px;
  display: block;
}

.work-body h3 {
  font-size: 17px;
}

/* ---------- Work preview: a scaled mock site, shared by card and modal ---------- */

/* The frame clips; the page inside is drawn at a fixed 1100px and scaled to fit,
   so a card thumbnail and the modal render from identical markup. */
.wp-frame {
  position: relative;
  overflow: hidden;
}

.wp-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 1100px;
  transform-origin: top left;
  background: #fff;
  font-size: 0;
}

.wp-sec {
  padding: 56px 64px;
}

.wp-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 64px;
  border-bottom: 1px solid #e9eef6;
}

.wp-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--wp-accent);
  flex: none;
}

.wp-word {
  width: 104px;
  height: 13px;
  border-radius: 4px;
  background: #c3cfe3;
}

.wp-links {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.wp-links i {
  width: 56px;
  height: 10px;
  border-radius: 5px;
  background: #dde4f1;
}

.wp-navbtn {
  width: 104px;
  height: 34px;
  border-radius: 8px;
  background: var(--wp-accent);
  margin-left: 22px;
}

.wp-b {
  display: block;
  border-radius: 5px;
  background: #dbe3f0;
  margin-bottom: 14px;
}

.wp-b-xl { height: 30px; width: 100%; background: #b9c6dd; }
.wp-b-xl.s2 { width: 68%; }
.wp-b-lg { height: 22px; width: 62%; background: #c3cfe3; }
.wp-b-md { height: 13px; width: 88%; }
.wp-b-sm { height: 10px; width: 60%; }

.wp-btn {
  display: block;
  width: 150px;
  height: 42px;
  border-radius: 9px;
  background: var(--wp-accent);
  margin-top: 26px;
}

.wp-img {
  border-radius: 12px;
  background: linear-gradient(135deg, #e7edf9, #cdd9ee);
}

/* Hero: copy left, image right */
.wp-hero {
  display: flex;
  gap: 56px;
  align-items: center;
  background: #f5f8fc;
}

.wp-hero-copy { flex: 1; }
.wp-hero .wp-img { flex: none; width: 430px; height: 290px; }

/* Hero: centred, image below */
.wp-hero-c {
  background: #f5f8fc;
  text-align: center;
}

.wp-hero-c .wp-b { margin-left: auto; margin-right: auto; }
.wp-hero-c .wp-b-xl { width: 74%; }
.wp-hero-c .wp-b-xl.s2 { width: 52%; }
.wp-hero-c .wp-b-md { width: 56%; }
.wp-hero-c .wp-btn { margin-left: auto; margin-right: auto; }
.wp-hero-c .wp-img { height: 300px; margin-top: 34px; }

.wp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.wp-card {
  border: 1px solid #e9eef6;
  border-radius: 12px;
  padding: 18px;
}

.wp-card .wp-img { height: 120px; margin-bottom: 16px; }

.wp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wp-grid .wp-img { height: 165px; }

.wp-split {
  display: flex;
  gap: 56px;
  align-items: center;
}

.wp-split .wp-img { flex: none; width: 420px; height: 260px; }
.wp-split-copy { flex: 1; }

.wp-list { display: grid; gap: 16px; }

.wp-row {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #e9eef6;
  border-radius: 12px;
  padding: 18px 22px;
}

.wp-row .wp-img { flex: none; width: 62px; height: 62px; border-radius: 10px; }
.wp-row-copy { flex: 1; }
.wp-row-copy .wp-b { margin-bottom: 10px; }
.wp-row-btn { width: 108px; height: 34px; border-radius: 8px; background: #e2e8f4; flex: none; }

.wp-form {
  background: #f5f8fc;
}

.wp-field {
  height: 46px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid #e2e8f4;
  margin-bottom: 16px;
}

.wp-field.tall { height: 118px; }

.wp-foot {
  background: #12203a;
  padding: 48px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.wp-foot i {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.17);
  margin-bottom: 12px;
}

.wp-foot i:first-child {
  background: rgba(255, 255, 255, 0.34);
  width: 62%;
  height: 13px;
  margin-bottom: 18px;
}

/* ---------- Work modal ---------- */

.wm {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.wm.open { display: block; }

.wm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 68, 0.62);
  backdrop-filter: blur(4px);
  animation: wm-fade 0.2s ease;
}

.wm-dialog {
  position: relative;
  width: min(1000px, calc(100vw - 36px));
  max-height: calc(100vh - 56px);
  margin: 28px auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 90px rgba(11, 31, 68, 0.4);
  animation: wm-rise 0.25s ease;
}

@keyframes wm-fade { from { opacity: 0; } }
@keyframes wm-rise { from { opacity: 0; transform: translateY(14px); } }

.wm-chrome {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #f4f7fc;
  border-bottom: 1px solid var(--border);
}

.wm-dots { display: flex; gap: 6px; flex: none; }

.wm-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d5dde9;
}

.wm-url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-close {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--navy-900);
  cursor: pointer;
  transition: background 0.2s ease;
}

.wm-close:hover { background: #e3e9f4; }

.wm-close:focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 2px;
}

.wm-close svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* The scroller — this is the part the user drags through */
.wm-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  overscroll-behavior: contain;
}

.wm-meta {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 22px;
  border-top: 1px solid var(--border);
}

.wm-meta h3 { font-size: 18px; }

.wm-meta .work-tag { margin-bottom: 0; }

.wm-meta p {
  flex: 1 1 320px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

body.wm-lock { overflow: hidden; }

/* ---------- Why us / features ---------- */

/* Heading is a step down from a section-head h2 — it sits beside the card,
   not over the full width. Was an inline style on the element. */

/* The client's own claims, pulled out as figures */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 52px;
}

.feature-item {
  display: flex;
  gap: 18px;
}

.feature-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-grid + .plan-group {
  margin-top: 72px;
}

.plan-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.plan-group-head h3 {
  font-size: 23px;
}

.plan-group-head span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-600);
  background: var(--navy-100);
  padding: 5px 11px;
}

.plan-group-sub {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 620px;
  margin-bottom: 32px;
}

/* Wide, side-by-side plan card — used for Custom and the care plan */
.wide-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.wide-card-main h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.wide-card-main .price {
  margin: 4px 0 24px;
}

.wide-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.wide-features li {
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.wide-features li::before {
  content: "✓";
  color: var(--navy-600);
  font-weight: 700;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.price-card.featured h3,
.price-card.featured .price,
.price-card.featured .plan-desc { color: #fff; }

.price-card.featured .plan-desc { opacity: 0.75; }

.plan-badge {
  align-self: flex-start;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0;
  margin-bottom: 16px;
}

.price-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.price {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.price-prefix {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.price-card.featured .price span { color: rgba(255,255,255,0.65); }

.plan-features {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.plan-features li::before {
  content: "✓";
  color: var(--navy-600);
  font-weight: 700;
}

.price-card.featured .plan-features li::before {
  color: #fff;
}

/* ---------- CTA banner ---------- */

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy-700);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-detail .icon svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

.contact-detail span, .contact-detail a {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px var(--navy-100);
}

.form-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  background: var(--navy-100);
  color: var(--navy-800);
  border-radius: 0;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* Honeypot — hidden from people, visible to bots that fill everything in */
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  background: #fdecec;
  border: 1px solid #f3c9c9;
  color: #8a2b2b;
  font-size: 14px;
  font-weight: 600;
}

.form-error.show {
  display: block;
}

.form-error a {
  text-decoration: underline;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px 26px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy-900);
}

.faq-question .plus {
  font-size: 20px;
  color: var(--navy-600);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand img {
  height: 34px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-about p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who ask their OS for less motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hv-laptop,
  .hv-phone {
    animation: none;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .feature-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
  }

  .services-grid,
  .work-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 24px;
  }

  /* The rail only lines up with a single row of markers */
  .process-list::before {
    display: none;
  }

  .wide-card {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  section {
    padding: 72px 0;
  }

  .nav-links,
  .nav-actions .btn-outline,
  .nav-actions .btn-primary {
    display: none;
  }

  .brand {
    white-space: nowrap;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links .nav-cta {
    display: block;
    width: 100%;
    margin-top: 12px;
  }

  .nav.open .nav-links .nav-cta a {
    width: 100%;
    padding: 14px 20px;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }

  .nav.open .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .phone {
    right: -8px;
    bottom: -18px;
    width: 92px;
  }

  .services-grid,
  .work-grid,
  .pricing-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .wide-card {
    padding: 30px 24px;
  }

  .wide-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Legal pages (privacy, terms) ---------- */

.legal {
  padding: 150px 0 100px;
}

.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.legal .updated {
  font-size: 14px;
  color: var(--text-muted);
  padding-bottom: 26px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal h2 {
  font-size: 21px;
  margin: 44px 0 14px;
}

.legal h3 {
  font-size: 17px;
  margin: 26px 0 10px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.legal p { margin-bottom: 16px; }

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal li { margin-bottom: 9px; }

.legal a {
  color: var(--navy-600);
  text-decoration: underline;
}

.legal strong { color: var(--text); }

/* Anything the studio still has to fill in before publishing */
.legal .todo {
  background: #fff8e6;
  border: 1px solid #f0dca8;
  padding: 3px 7px;
  color: #7a5a12;
  font-weight: 600;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 11px 14px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-alt);
  color: var(--text);
  font-weight: 600;
}
