/* RockWill Showcase — clean, simple, honest */
:root {
  --navy: #1B2755;
  --navy-deep: #131b3f;
  --navy-mid: #2a3671;
  --orange: #F05A22;
  --orange-bright: #ff6b2c;
  --orange-soft: #fff2ec;
  --ink: #14161c;
  --ink-soft: #414653;
  --muted: #6b7180;
  --line: #e6e8ee;
  --line-strong: #d5d9e2;
  --paper: #f6f7fa;
  --white: #ffffff;
  --header-h: 72px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, 0.04);
  --shadow-md: 0 6px 24px rgba(20, 22, 28, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.shell {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
  max-width: 100%;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--navy); color: white;
  padding: 0.6rem 1rem; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-bright); border-color: var(--orange-bright); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--paper); }

.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.97);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s;
}
.nav a:hover { color: var(--navy); }
.nav-cta {
  padding: 0.5rem 0.9rem;
  background: var(--navy);
  color: white !important;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--navy-mid); color: white !important; }

.nav-toggle {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  display: grid; place-content: center; gap: 5px;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--navy);
  transition: transform 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-nav {
  padding: 0.25rem 1rem 1rem;
  background: white;
  border-bottom: 1px solid var(--line);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
  display: block;
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(240, 90, 34, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(27, 39, 85, 0.06), transparent 60%),
    var(--white);
}
.hero-inner {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
}

.hero-copy h1 { margin-bottom: 0.75rem; }
.hero-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.hero-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.hero-tags li {
  padding: 0.35rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-card {
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.hero-card h2 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.hero-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.hero-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  align-items: start;
}
.hero-card li span {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}
.hero-card strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.hero-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* Section head */
.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.section-head h2 { margin-bottom: 0.5rem; }
.section-head p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1rem;
}
.section-head--dark h2 { color: white; }
.section-head--dark p:not(.eyebrow) { color: rgba(255,255,255,0.75); }
.section-head--dark .eyebrow { color: var(--orange-bright); }

/* Package index */
.pkg-index {
  padding: 4rem 0 3rem;
  background: var(--paper);
}
.pkg-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pkg-card {
  display: block;
  padding: 1.5rem 1.35rem 1.35rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
}
.pkg-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}
.pkg-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.pkg-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.pkg-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.pkg-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
}
.pkg-tag--ready { background: var(--orange-soft); color: var(--orange); }
.pkg-tag--quote { background: rgba(27, 39, 85, 0.08); color: var(--navy); }

/* Configurator layout */
.config { padding: 4.5rem 0; background: white; }
.config--alt { background: var(--paper); }

.config-grid {
  display: grid;
  gap: 1.5rem;
  min-width: 0;
}
@media (min-width: 900px) {
  .config-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: start;
  }
}

.config-body { display: grid; gap: 1.25rem; min-width: 0; }

.cfg-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.35rem;
  margin: 0;
  background: white;
  min-width: 0;
  max-width: 100%;
}
fieldset.field,
fieldset.cfg-group {
  min-width: 0;
}
.cfg-group legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  padding: 0 0.35rem;
}
.cfg-hint {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: 0.35rem;
}

.cfg-radios {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.85rem;
  grid-template-columns: 1fr;
  min-width: 0;
}
@media (min-width: 520px) {
  .cfg-radios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .cfg-radios {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }
}
.cfg-radios--two {
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .cfg-radios--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .cfg-radios--two {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cfg-radios--single { grid-template-columns: 1fr; }

.cfg-radio {
  position: relative;
  display: block;
  cursor: pointer;
}
.cfg-radio input { position: absolute; opacity: 0; inset: 0; }
.cfg-radio-body {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.18s, background 0.18s;
  height: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cfg-radio input:checked + .cfg-radio-body {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.cfg-radio input:focus-visible + .cfg-radio-body {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}
.cfg-radio strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy);
}
.cfg-radio em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0.15rem 0 0.4rem;
}
.cfg-radio b {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}
.cfg-radio--locked { pointer-events: none; }
.cfg-radio--locked .cfg-radio-body {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.cfg-checks {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
  grid-template-columns: 1fr;
  min-width: 0;
}
.cfg-checks--modules {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .cfg-checks--modules {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cfg-check {
  position: relative;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  min-width: 0;
}
.cfg-check input {
  margin-top: 0.2rem;
  width: 16px; height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.cfg-check:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange-soft);
}
.cfg-check strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
}
.cfg-check em {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.cfg-stepper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.cfg-stepper button {
  width: 38px; height: 38px;
  border: 1.5px solid var(--line);
  background: white;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  transition: border-color 0.15s, background 0.15s;
}
.cfg-stepper button:hover { border-color: var(--navy); background: var(--paper); }
.cfg-stepper input {
  width: 70px;
  height: 38px;
  text-align: center;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  color: var(--navy);
}
.cfg-stepper input:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.cfg-stepper-note {
  flex: 1 1 100%;
  font-size: 0.78rem;
  color: var(--muted);
}
@media (min-width: 500px) {
  .cfg-stepper-note { flex: 1; }
}

/* Summary sidebar */
.config-summary {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  padding: 1.5rem 1.4rem;
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.cfg-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-bright);
  margin: 0 0 0.85rem;
}
.cfg-lines {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0 0 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  min-height: 4rem;
  display: grid;
  gap: 0.4rem;
}
.cfg-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.cfg-lines li b {
  color: white;
  font-weight: 600;
  white-space: nowrap;
}
.cfg-lines li.empty {
  color: rgba(255,255,255,0.5);
  font-style: italic;
  justify-content: flex-start;
}

.cfg-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.cfg-total span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
}
.cfg-total strong {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}
.cfg-total strong em {
  font-size: 0.7rem;
  font-weight: 500;
  font-style: normal;
  color: rgba(255,255,255,0.6);
  margin-left: 0.35rem;
}
.cfg-total--sub strong { font-size: 1.05rem; color: var(--orange-bright); }

.cfg-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin: 0.75rem 0 1rem;
}

/* Static tiers */
.static-pkg { padding: 4.5rem 0; background: white; }

.tier-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 3rem;
}
.tier {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.tier:hover { transform: translateY(-3px); border-color: var(--navy); }
.tier--featured {
  border-color: var(--navy);
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  box-shadow: var(--shadow-md);
}
.tier-flag {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  padding: 0.25rem 0.65rem;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
}
.tier-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.5rem;
}
.tier-price {
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.tier-price b {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.tier-price em {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.3rem;
}
.tier-sub {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}
.tier li {
  padding-left: 1.35rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.tier li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
}
.tier li b { color: var(--navy); font-weight: 600; }

.maintenance {
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.maintenance h3 {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}
.maint-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.maint-grid > div {
  padding: 1.25rem 1.15rem;
  background: var(--paper);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
}
.maint-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.maint-price {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}
.maint-price em {
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.25rem;
}
.maint-grid p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* CMS explain */
.cms-explain {
  padding: 1.5rem 1.75rem;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.cms-explain h3 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.cms-explain ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cms-explain li {
  padding-left: 1.2rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.cms-explain li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Quote sections */
.quote-pkg {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: white;
}
.quote-pkg--light {
  background: white;
  color: var(--ink);
}
.quote-pkg--light .section-head h2 { color: var(--navy); }

.quote-grid {
  display: grid;
  gap: 2rem;
  min-width: 0;
}
@media (min-width: 900px) {
  .quote-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
}

.quote-intro { padding-right: 1rem; }
.quote-intro h3 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}
.quote-pkg--light .quote-intro h3 { color: var(--navy); }
.quote-intro ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.quote-intro ul li {
  padding-left: 1.35rem;
  position: relative;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
}
.quote-intro ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
}
.quote-intro ul li b { color: white; font-weight: 600; }
.quote-pkg--light .quote-intro ul li { color: var(--ink-soft); }
.quote-pkg--light .quote-intro ul li b { color: var(--navy); }

.quote-steps {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.quote-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  align-items: start;
}
.quote-steps li span {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
}

.quote-turnaround {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,0.05);
}
.quote-pkg--light .quote-turnaround {
  color: var(--ink-soft);
  background: var(--paper);
}
.quote-turnaround b { color: white; }
.quote-pkg--light .quote-turnaround b { color: var(--navy); }

.quote-form {
  padding: 1.75rem 1.5rem 1.5rem;
  background: white;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  box-sizing: border-box;
}
.quote-form h3 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

.field-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1.25rem;
  min-width: 0;
  width: 100%;
}
.field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.field--full { grid-column: 1 / -1; }
.field span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 0.92rem;
  padding: 0.7rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: white;
}
.field textarea { resize: vertical; min-height: 90px; }

.field--identity {
  grid-template-columns: 1fr 1fr;
  display: grid;
  gap: 0.5rem;
  min-width: 0;
}
.field--identity input {
  padding: 0.7rem 0.75rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 0.92rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.field--identity input:focus {
  outline: none; border-color: var(--navy); background: white;
}

.chk-grid {
  display: grid;
  gap: 0.4rem;
  grid-template-columns: 1fr;
  margin-top: 0.35rem;
  min-width: 0;
  width: 100%;
}
@media (min-width: 640px) {
  .chk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.chk-grid label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}
.chk-grid label:has(input:checked) {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--navy);
}
.chk-grid input {
  accent-color: var(--orange);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

@media (max-width: 700px) {
  .field-grid { grid-template-columns: 1fr; }
  .field--identity { grid-template-columns: 1fr; }
  .quote-form { padding: 1.15rem 0.85rem 1.05rem; }
  .cfg-group { padding: 1rem 0.9rem 1.1rem; }
}

.quote-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--orange-soft);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
}

/* Contact CTA */
.contact {
  padding: 4rem 0 5rem;
  background: var(--paper);
}
.contact-inner {
  display: grid;
  gap: 1.75rem;
  padding: 2.5rem 2rem;
  background: white;
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 800px) {
  .contact-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    padding: 3rem;
  }
}
.contact-inner p:not(.eyebrow) {
  color: var(--ink-soft);
}
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  background: white;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-logo { height: 30px; width: auto; }
.footer-links {
  display: flex;
  gap: 1.25rem;
  margin: 0;
}
.footer-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 500;
}
.footer-links a:hover { color: var(--orange); }

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

/* Sticky summary at bottom on mobile */
@media (max-width: 899px) {
  .config-summary {
    position: static;
  }
}

/* ========================================================
   PREMIUM ADDITIONS
   Topbar · Package groups · Engagement tiers · Capabilities
   Academy · Programs · Why RockWill
   ======================================================== */

/* Topbar */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  padding: 0.55rem 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
  align-items: center;
}
.topbar b { color: var(--orange-bright); font-weight: 700; }
.topbar-slas { color: rgba(255, 255, 255, 0.55); }
@media (max-width: 640px) {
  .topbar-slas { display: none; }
}

/* Button variant */
.btn-on-dark {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}
.btn-on-dark:hover {
  background: var(--orange-bright);
  border-color: var(--orange-bright);
}

/* Hero refinements */
.hero h1 br { display: none; }
@media (min-width: 700px) {
  .hero h1 br { display: inline; }
}

/* Eyebrow flag inline in section head */
.eyebrow-flag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
}

/* Package Index — grouped layout */
.pkg-group { margin-bottom: 2.5rem; }
.pkg-group:last-child { margin-bottom: 0; }
.pkg-group-head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.pkg-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0;
}
.pkg-group-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.pkg-card--featured {
  border-color: var(--orange);
  background: linear-gradient(180deg, #fff 60%, var(--orange-soft) 100%);
  position: relative;
}
.pkg-card--featured:hover { border-color: var(--orange); }
.pkg-flag {
  position: absolute;
  top: -10px;
  left: 1.35rem;
  padding: 0.2rem 0.6rem;
  background: var(--orange);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}

.pkg-card--dark {
  background: linear-gradient(150deg, #131b3f 0%, #1B2755 60%, #241810 100%);
  color: white;
  border-color: transparent;
}
.pkg-card--dark h3 { color: white; }
.pkg-card--dark p { color: rgba(255, 255, 255, 0.75); }
.pkg-card--dark .pkg-num { color: rgba(255, 255, 255, 0.55); }
.pkg-card--dark:hover { border-color: var(--orange); }
.pkg-tag--premium {
  background: var(--orange);
  color: white;
}

/* Consulting section */
.consulting {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: white;
}

.engagement-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 3rem;
}

.engagement {
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.engagement:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}
.engagement--featured {
  background: white;
  color: var(--ink);
  border-color: var(--orange);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}
.engagement--premium {
  background: linear-gradient(150deg, #241810 0%, #1B2755 100%);
  border-color: rgba(240, 90, 34, 0.35);
}

.eng-flag {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  padding: 0.25rem 0.65rem;
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
}

.eng-name {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-bright);
}
.engagement--featured .eng-name { color: var(--orange); }

.eng-price {
  margin: 0 0 0.3rem;
  color: white;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.eng-price em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-right: 0.35rem;
  letter-spacing: 0;
}
.eng-price b { font-weight: 800; }
.engagement--featured .eng-price { color: var(--navy); }
.engagement--featured .eng-price em { color: var(--muted); }

.eng-span {
  margin: 0 0 1.1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.engagement--featured .eng-span { color: var(--muted); }

.engagement ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.5rem;
  flex: 1;
}
.engagement li {
  padding-left: 1.35rem;
  position: relative;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}
.engagement li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
}
.engagement--featured li { color: var(--ink-soft); }

.eng-best {
  padding: 0.85rem 0 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}
.engagement--featured .eng-best {
  border-top-color: var(--line);
  color: var(--ink-soft);
}

/* Consulting services rail */
.consulting-services {
  margin-bottom: 3rem;
  padding: 1.75rem 1.75rem 1.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}
.consulting-services h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.cs-grid {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.cs-grid span {
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Consulting form on dark */
.quote-form--dark {
  background: white;
  color: var(--ink);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.chk-grid--dark label { /* same as light — sits inside white form */ }

/* Capabilities grid */
.capabilities {
  padding: 5rem 0;
  background: var(--paper);
}
.cap-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.cap-card {
  padding: 1.75rem 1.5rem 1.5rem;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  transition: border-top-color 0.2s, transform 0.2s;
}
.cap-card:hover {
  border-top-color: var(--orange);
  transform: translateY(-3px);
}
.cap-num {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.cap-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.cap-card > p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.cap-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.cap-card li {
  padding-left: 1.15rem;
  position: relative;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.cap-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

/* Academy */
.academy {
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(240, 90, 34, 0.08), transparent 60%),
    var(--white);
}
.academy-inner {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .academy-inner { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.academy-copy h2 { margin-bottom: 0.75rem; }
.academy-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.academy-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ac-card {
  padding: 1.25rem 1.15rem;
  background: var(--paper);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  transition: transform 0.2s;
}
.ac-card:hover { transform: translateY(-3px); }
.ac-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}
.ac-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Programs & Partnerships */
.programs {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: white;
}
.programs .section-head h2 { color: white; }
.programs .section-head p:not(.eyebrow) { color: rgba(255, 255, 255, 0.75); }
.programs .section-head .eyebrow { color: var(--orange-bright); }

.prog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 2.5rem;
}
.prog-card {
  padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}
.prog-card h3 {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.85rem;
}
.prog-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.prog-card li {
  padding-left: 1.15rem;
  position: relative;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}
.prog-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55rem;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
}

.prog-cta {
  padding: 1.75rem 1.75rem;
  background: rgba(240, 90, 34, 0.08);
  border: 1px solid rgba(240, 90, 34, 0.3);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  align-items: center;
}
.prog-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}
@media (min-width: 800px) {
  .prog-cta {
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding: 1.5rem 2rem;
  }
}

/* Why RockWill */
.why {
  padding: 5rem 0;
  background: white;
}
.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 3rem;
}
.why-card {
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 3px solid transparent;
  transition: border-top-color 0.2s, transform 0.2s;
}
.why-card:hover {
  border-top-color: var(--orange);
  transform: translateY(-3px);
}
.why-num {
  margin: 0 0 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
}
.why-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}
.why-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.why-stats > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1rem;
  border-right: 1px solid var(--line);
  text-align: center;
}
.why-stats > div:last-child { border-right: 0; }
.why-stats b {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.why-stats span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (max-width: 600px) {
  .why-stats > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0;
  }
  .why-stats > div:last-child { border-bottom: 0; }
}

/* Section head with light theme inside dark sections */
.consulting .section-head--dark h2 { color: white; }
.consulting .section-head--dark p:not(.eyebrow) { color: rgba(255, 255, 255, 0.78); }
.consulting .section-head--dark .eyebrow { color: var(--orange-bright); }

/* Contact actions stacking on desktop */
.contact-actions .btn { justify-content: center; }

/* ========================================================
   SEARCH FOR A SERVICE (hero)
   ======================================================== */
.svc-search {
  position: relative;
  margin: 0 0 1.75rem;
  max-width: 40rem;
  width: 100%;
  min-width: 0;
}
.svc-search-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.svc-search-input {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.65rem 0.35rem 0.85rem;
  background: white;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(20, 22, 28, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.svc-search-input:focus-within {
  border-color: var(--navy);
  box-shadow: 0 6px 22px rgba(27, 39, 85, 0.15);
}
.svc-search-input svg {
  width: 20px;
  height: 20px;
  color: var(--muted);
  flex-shrink: 0;
}
.svc-search-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0.7rem 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
}
.svc-search-input input::placeholder {
  color: var(--muted);
  opacity: 0.9;
}
.svc-search-clear {
  border: 0;
  background: transparent;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: background 0.15s, color 0.15s;
}
.svc-search-clear:hover { background: var(--paper); color: var(--navy); }

.svc-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0.5rem 0 0;
  padding: 0.4rem;
  list-style: none;
  background: white;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(20, 22, 28, 0.16);
  z-index: 40;
  max-height: 60vh;
  overflow-y: auto;
}
.svc-search-results[hidden] { display: none; }
.svc-search-results li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.12s;
  align-items: center;
}
.svc-search-results li:hover,
.svc-search-results li.is-active {
  background: var(--orange-soft);
}
.svc-search-results .sr-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}
.svc-search-results .sr-desc {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.svc-search-results .sr-tag {
  align-self: start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0.2rem 0.5rem;
  background: var(--orange-soft);
  border-radius: 2px;
  white-space: nowrap;
}
.svc-search-results .sr-tag--dark {
  background: var(--navy);
  color: white;
}
.svc-search-empty {
  margin: 0.5rem 0 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.svc-search-empty a {
  color: var(--navy);
  font-weight: 600;
}

/* Brief highlight when we scroll to a target */
@keyframes rw-target-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(240, 90, 34, 0.55); }
  100% { box-shadow: 0 0 0 22px rgba(240, 90, 34, 0); }
}
:target > .shell > .section-head h2,
.rw-target-flash > .shell > .section-head h2 {
  animation: none;
}
.rw-target-flash {
  animation: rw-target-pulse 1.6s ease-out;
}

/* ========================================================
   IMPROVE OR EXTEND EXISTING (package 06)
   ======================================================== */
.improve {
  padding: 4.5rem 0;
  background: white;
}
.improve-paths {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) {
  .improve-paths {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.improve-path {
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
}
.improve-path h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.improve-path > p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0.85rem;
}
.improve-path ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.improve-path li {
  padding-left: 1.15rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.improve-path li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
.improve form.quote-form {
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

