/* ============================================================
   services.css
   Shared styles for the Arc Synergy Web Services pages:
   /services/, /services/inquiry/, /services/portal/
   Edit colors in "Design tokens" and they change everywhere.
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  --ink: #08122b;
  --muted: #64748b;
  --blue: #0f5b78;
  --cyan: #2d7d6f;
  --line: #e2e8f0;
  --paper: #fff;
  --bg: #fbfaf8;
  --light: #d0e8f2;
  --green: #2d7d6f;
  --bloom: #b86b8f;
}

/* ── Base ──────────────────────────────────────────────────────────── */
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font:
    16px/1.6 "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #67c5e8;
  outline-offset: 3px;
}
button {
  transition:
    background 0.18s,
    transform 0.18s;
}
button:active {
  transform: translateY(1px);
}
a {
  color: inherit;
}
.shell {
  max-width: 1120px;
  margin: auto;
  padding: 0 28px;
}

/* ── Header and navigation ─────────────────────────────────────────── */
header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 780;
  letter-spacing: -0.04em;
  font-size: 23px;
  background: none;
  padding: 0;
  color: var(--ink);
  white-space: nowrap;
}
.brand img {
  width: 40px;
  height: 40px;
}
.brand .wm span {
  color: var(--blue);
}
.brand .wm small {
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 8px;
}
.navlinks {
  display: flex;
  gap: 22px;
  align-items: center;
}
.navlinks a,
.navlinks button {
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  padding: 9px 0;
}
.navlinks a:hover,
.navlinks button:hover {
  color: var(--blue);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  border-radius: 9px;
  padding: 13px 23px;
  font-weight: 680;
  line-height: 1.4;
  text-decoration: none;
}
.btn:hover {
  background: #0a3a4d;
}
.btn.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn.secondary:hover {
  background: var(--light);
}
.btn.small {
  padding: 9px 14px;
  font-size: 14px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Top banner ────────────────────────────────────────────────────── */
.demo {
  background: #eaf2f5;
  text-align: center;
  color: #476b7a;
  padding: 6px 12px;
  font-size: 13px;
}

/* ── Headings and text ─────────────────────────────────────────────── */
.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 750;
  color: var(--blue);
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(40px, 5.2vw, 66px);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 1.05;
}
h2 {
  font-size: clamp(29px, 3.6vw, 42px);
  letter-spacing: -0.048em;
  line-height: 1.15;
}
h3 {
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1.25;
}
p {
  color: var(--muted);
}

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.hero h1 span {
  color: var(--blue);
}
.hero p {
  font-size: 19px;
  max-width: 500px;
  margin: 24px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.fine {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}
.hero-art {
  height: 384px;
  border-radius: 26px;
  background: linear-gradient(140deg, #e4f0f4, #d9ece6 58%, #f3e2eb);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 32px;
}
.hero-art:before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #fff8;
  border-radius: 50%;
  right: -70px;
  top: -100px;
  box-shadow:
    0 0 0 36px #ffffff40,
    0 0 0 72px #ffffff21;
}
.browser {
  position: relative;
  width: 100%;
  max-width: 430px;
  background: white;
  box-shadow: 0 22px 56px #304c7830;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(-2deg);
}
.browserbar {
  height: 31px;
  background: #f7f9f8;
  padding: 10px;
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #e9eeeb;
}
.browserbar i {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #bdc9ce;
}
.mini {
  background: #fbfcf6;
  padding: 22px;
  color: #344b3c;
}
.minihead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.02em;
  font-weight: 700;
}
.minihero {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 12px;
  align-items: center;
  margin: 25px 0;
}
.minihero b {
  display: block;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.mini * {
  font-family: Georgia, serif;
}
.mini .minihead,
.mini .minicards {
  font-family: "Inter", sans-serif;
}
.minihero p {
  font-size: 10px;
  margin: 12px 0;
  color: #65756b;
}
.plant {
  background: #dce9d9;
  border-radius: 80px 80px 8px 8px;
  height: 144px;
  overflow: hidden;
  display: flex;
  align-items: end;
  justify-content: center;
}
.plant svg {
  width: 95%;
  height: 95%;
}
.minibtn {
  background: #47745c;
  color: white;
  padding: 6px 11px;
  font-size: 9px;
  border-radius: 4px;
}
.minicards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.minicards div {
  background: white;
  border: 1px solid #e4eadf;
  padding: 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 600;
}
.floating {
  position: absolute;
  right: 20px;
  bottom: 28px;
  background: #fff;
  border: 1px solid #e9eef2;
  box-shadow: 0 8px 28px #23415d1a;
  padding: 10px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 650;
}
.tick {
  display: inline-flex;
  width: 25px;
  height: 25px;
  background: #e7f6ee;
  color: var(--green);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ── Trust bar ─────────────────────────────────────────────────────── */
.band {
  background: #fff;
  border-block: 1px solid var(--line);
}
.trust {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.trust span:before {
  content: "✓";
  color: var(--green);
  margin-right: 8px;
}
section.section {
  padding: 65px 0;
}
.section-head {
  max-width: 660px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 8px 0 12px;
}

/* ── Package cards ─────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
}
.package {
  display: flex;
  flex-direction: column;
  position: relative;
}
.package.popular {
  border: 2px solid var(--blue);
  padding: 25px;
}
.tag {
  background: var(--light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  border-radius: 20px;
  display: inline-block;
  padding: 4px 10px;
  width: max-content;
  margin-bottom: 13px;
}
.price {
  font-size: 32px;
  letter-spacing: -0.06em;
  line-height: 1.3;
  font-weight: 760;
  margin: 12px 0 5px;
}
.package p {
  font-size: 14px;
}
.list {
  padding: 0;
  list-style: none;
  margin: 22px 0;
  flex: 1;
}
.list li {
  font-size: 14px;
  margin: 9px 0;
  display: flex;
  gap: 9px;
}
.list li:before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}
.package .btn {
  width: 100%;
}

/* ── How it works ──────────────────────────────────────────────────── */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process .card {
  padding: 22px;
}
.symbol {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--light);
  color: var(--blue);
  font-size: 22px;
  margin-bottom: 14px;
}
.process h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.process p {
  font-size: 14px;
}

/* ── Call to action ────────────────────────────────────────────────── */
.cta {
  padding: 40px;
  border-radius: 20px;
  background: #08122b;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta p {
  color: #d1dfeb;
  margin-top: 9px;
}
.cta .btn {
  background: white;
  color: var(--ink);
  white-space: nowrap;
}
.footer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-size: 13px;
}
.footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.hidden {
  display: none !important;
}

/* ── Inquiry form ──────────────────────────────────────────────────── */
.wizard {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 24px 80px;
}
.wizardtop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}
.progress {
  height: 5px;
  border-radius: 20px;
  background: #dce5ee;
  overflow: hidden;
  margin-bottom: 40px;
}
.progress div {
  height: 100%;
  background: linear-gradient(90deg, #2d7d6f, var(--blue));
  transition: width 0.25s;
  border-radius: 20px;
}
.wizard h2 {
  margin: 8px 0 12px;
}
.wizard .intro {
  margin-bottom: 25px;
}
.form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 6px 30px #08122b10;
}
.field {
  display: block;
  margin-bottom: 17px;
  font-size: 14px;
  font-weight: 650;
}
.field input,
.field textarea,
.field select {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #cad8e2;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 13px;
}
.field textarea {
  min-height: 90px;
  resize: vertical;
}
.formrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.choice {
  width: 100%;
  text-align: left;
  padding: 15px 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
}
.choice:hover {
  border-color: var(--blue);
}
.choice.selected {
  border: 2px solid var(--blue);
  padding: 14px 16px;
  background: #eef6fa;
}
.radio {
  width: 19px;
  height: 19px;
  border: 2px solid #acbdcc;
  border-radius: 50%;
  flex-shrink: 0;
}
.selected .radio {
  border: 5px solid var(--blue);
}
.choice strong {
  display: block;
  font-size: 16px;
}
.choice small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.choice .right {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 750;
  color: var(--blue);
  font-size: 14px;
}
.wnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 24px;
}
.wnav .btn {
  min-width: 130px;
}
.note {
  background: #eef5f7;
  border-radius: 10px;
  padding: 13px 15px;
  margin: 18px 0;
  color: #3e5a68;
  font-size: 14px;
}
.err {
  font-size: 14px;
  color: #a92a42;
  margin: 8px 0;
  min-height: 20px;
}
.reviewrow {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.reviewrow span {
  color: var(--muted);
}
.reviewrow b {
  text-align: right;
  overflow-wrap: anywhere;
}
.successicon {
  font-size: 35px;
  background: #e1f2e8;
  border-radius: 50%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  color: var(--green);
  margin: 0 auto 22px;
}
.center {
  text-align: center;
}

/* ── Client portal ─────────────────────────────────────────────────── */
.portal {
  padding: 40px 0 65px;
}
.portalhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 30px;
}
.portalgrid {
  display: grid;
  grid-template-columns: 255px 1fr;
  gap: 24px;
  align-items: start;
}
.steps {
  padding: 16px;
}
.stage {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 11px 8px;
  background: none;
  color: var(--muted);
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
}
.stage.active {
  background: #e6f2f7;
  color: var(--blue);
}
.stage i {
  font-style: normal;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid #cbd7df;
  font-size: 12px;
  background: #fff;
}
.stage.active i {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}
.stage.done i {
  background: #e6f4ea;
  color: var(--green);
  border-color: #cbe5d5;
}
.pbody {
  min-height: 390px;
}
.pbody h2 {
  font-size: 32px;
  margin: 8px 0 13px;
}
.pbody p {
  margin: 8px 0 20px;
}
.detailbox {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin: 18px 0;
}
.detailbox .reviewrow:last-child {
  border-bottom: 0;
}
.status {
  display: inline-block;
  padding: 4px 10px;
  background: #e8f3ee;
  color: var(--green);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.upload {
  width: 100%;
  padding: 24px;
  border: 1px dashed #8fb5c4;
  background: #f4fafc;
  border-radius: 12px;
  color: var(--blue);
  text-align: center;
}
.stage-demo {
  padding: 8px 12px;
  background: #f2f6fb;
  color: var(--muted);
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
}
.previewframe {
  background: #f3f6ed;
  padding: 22px;
  border-radius: 12px;
}
.previewframe h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #375542;
}

/* ── Care plans ────────────────────────────────────────────────────── */
.care {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.care .card {
  padding: 20px;
}
.care .price {
  font-size: 25px;
}
.care p {
  font-size: 14px;
}
.linklike {
  background: none;
  color: var(--blue);
  padding: 0;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  margin-top: 15px;
}
.checkline input {
  margin-top: 6px;
}
.description {
  font-size: 14px;
  color: var(--muted);
}

/* ── Mobile ────────────────────────────────────────────────────────── */
@media (max-width: 800px) {
  .shell {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 45px 0;
    gap: 30px;
  }
  .hero-art {
    height: 330px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
  .trust {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px 24px;
  }
  .navlinks {
    gap: 12px;
  }
  .navlinks .hide-mobile {
    display: none;
  }
  .brand {
    font-size: 19px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }
  .portalgrid {
    grid-template-columns: 1fr;
  }
  .steps {
    display: flex;
    overflow: auto;
    gap: 8px;
  }
  .stage {
    min-width: max-content;
    gap: 6px;
  }
  .stage span {
    font-size: 13px;
  }
  .care {
    grid-template-columns: 1fr;
  }
  .portalhead {
    align-items: flex-start;
    flex-direction: column;
  }
  .form {
    padding: 22px;
  }
  .formrow {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
@media (max-width: 450px) {
  .nav {
    height: 68px;
    gap: 8px;
  }
  .navlinks {
    gap: 10px;
  }
  .navlinks button {
    font-size: 12px;
  }
  .nav .btn {
    font-size: 12px;
    padding: 7px 10px;
  }
  .brand {
    font-size: 17px;
  }
  .hero-art {
    height: 280px;
    padding: 23px;
  }
  .minihero b {
    font-size: 23px;
  }
  .minihero {
    margin: 17px 0;
  }
  .plant {
    height: 110px;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .wizard {
    padding: 30px 15px;
  }
  .form {
    padding: 19px;
  }
  .choice .right {
    white-space: normal;
    text-align: right;
  }
  .wnav .btn {
    min-width: 0;
  }
  .floating {
    right: 10px;
    bottom: 12px;
  }
  .pbody {
    padding: 20px;
  }
  .portalhead h2 {
    font-size: 29px;
  }
}

/* Site typography: Fraunces headings, matching arcsynergy.net */
h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
}
h1 {
  letter-spacing: -0.015em;
  line-height: 1.12;
}
h2 {
  letter-spacing: -0.01em;
}
.hero h1 span {
  font-style: italic;
}
.pbody h2,
.intro-mode .wizard h2 {
  letter-spacing: -0.01em;
}
.brand {
  font-family: "Inter", sans-serif;
}
.foot-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.saved {
  padding: 36px 32px;
}
/* Focused inquiry introduction */
.intro-mode {
  background: linear-gradient(145deg, #f6f4ef 0%, #fff 55%, #eef6fa 100%);
  min-height: 100vh;
}
.intro-mode header {
  position: static;
  background: transparent;
  border: 0;
}
.intro-mode .navlinks {
  display: none;
}
.intro-mode .nav {
  height: 82px;
}
.intro-mode .demo {
  background: #eaf2f580;
}
.intro-mode .wizard {
  max-width: 550px;
  padding: 38px 24px 76px;
  min-height: calc(100vh - 180px);
}
.intro-mode .wizardtop {
  font-size: 13px;
  margin-bottom: 10px;
}
.intro-mode .progress {
  height: 6px;
  margin-bottom: 36px;
  background: #dde6ed;
}
.intro-mode .progress div {
  background: linear-gradient(90deg, #2d7d6f, #0f5b78);
}
.intro-mode .form {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.intro-mode .eyebrow {
  font-size: 11px;
  letter-spacing: 0.13em;
  color: #4a6b7c;
  display: flex;
  align-items: center;
  gap: 8px;
}
.intro-mode .eyebrow:before {
  content: "✦";
  font-size: 17px;
  color: #2d7d6f;
}
.intro-mode .wizard h2 {
  font-size: clamp(34px, 5vw, 46px);
  line-height: 1.12;
  margin: 11px 0 14px;
  max-width: 510px;
}
.intro-mode .intro {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 30px;
}
.intro-mode .field {
  font-size: 15px;
  margin-bottom: 20px;
}
.intro-mode .field input {
  padding: 14px 15px;
  border: 1px solid #cbd8e3;
  box-shadow: 0 2px 8px #213b5910;
  border-radius: 10px;
  font-size: 16px;
}
.intro-mode .field input::placeholder {
  color: #8394a4;
}
.intro-mode .field input:focus {
  border-color: #0f5b78;
  outline: 2px solid #b5dce9;
  outline-offset: 1px;
}
.intro-mode .wnav {
  flex-direction: column-reverse;
  margin-top: 10px;
  gap: 14px;
  align-items: stretch;
}
.intro-mode .wnav .btn {
  width: 100%;
  padding: 15px;
  border-radius: 10px;
}
.intro-mode .wnav .secondary {
  background: transparent;
  border: 0;
  color: var(--muted);
  padding: 8px;
}
.intro-mode .privacyline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #dde7ef;
}
.intro-mode .privacyline svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: #0f5b78;
}
.intro-mode .footer {
  background: transparent;
}
@media (max-width: 450px) {
  .intro-mode .nav {
    height: 67px;
  }
  .intro-mode .wizard {
    padding: 26px 22px 48px;
  }
  .intro-mode .progress {
    margin-bottom: 28px;
  }
  .intro-mode .wizard h2 {
    font-size: 35px;
  }
  .intro-mode .intro {
    font-size: 16px;
    margin-bottom: 24px;
  }
}
.navlinks a {
  text-decoration: none;
}
.navlinks a.btn {
  background: var(--blue);
  color: #fff;
  padding: 9px 14px;
  border: 1px solid var(--blue);
}
.navlinks a.btn:hover {
  background: #0a3a4d;
  color: #fff;
}

/* ── Coming-soon buttons (see SERVICES_LIVE in services-data.js) ── */
.btn.disabled,
.btn.disabled:hover,
.navlinks a.btn.disabled,
.navlinks a.btn.disabled:hover {
  background: #e8eef2;
  border-color: #e8eef2;
  color: var(--muted);
  cursor: not-allowed;
  transform: none;
}