/* ZigTech Site Pages: homepage and pricing. Brand navy #1B3664, orange #D75225, greys. Mobile first. */
.zts {
  --zts-navy: #1B3664;
  --zts-navy-dark: #12264A;
  --zts-orange: #D75225;
  --zts-orange-dark: #B8421A;
  --zts-ink: #1F2937;
  --zts-grey: #5B6472;
  --zts-line: #D5DBE5;
  --zts-tint: #F4F6FA;
  color: var(--zts-ink);
  font-size: 16px;
  line-height: 1.55;
  text-align: left;
}
.zts *, .zts *::before, .zts *::after { box-sizing: border-box; }
#top .zts h1, #top .zts h2, #top .zts h3,
.zts h1, .zts h2, .zts h3 {
  margin: 0;
  color: var(--zts-navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}
.zts h2 { font-size: 26px; text-align: center; }
.zts h3 { font-size: 18px; }
.zts p { margin: 0; }
.zts a { text-decoration: none; }

/* Sections. A band runs the full width of the window; its inner block keeps the page width. */
.zts-section, .zts-inner { max-width: 1120px; margin: 0 auto; padding: 48px 16px; }
.zts-band { width: 100vw; margin-left: calc(50% - 50vw); }
.zts-tint { background: var(--zts-tint); }
.zts p.zts-lead { margin: 8px 0 0; color: var(--zts-grey); text-align: center; }
.zts p.zts-center { margin-top: 20px; text-align: center; }
.zts p.zts-fine { margin-top: 10px; color: var(--zts-grey); font-size: 13px; line-height: 1.45; }
#top .zts a.zts-link, .zts a.zts-link { color: var(--zts-orange); font-weight: 600; }
#top .zts a.zts-link:hover, .zts a.zts-link:hover { text-decoration: underline; }

/* Buttons */
#top .zts a.zts-btn, .zts a.zts-btn {
  display: inline-block;
  padding: 13px 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
#top .zts a.zts-btn-primary, .zts a.zts-btn-primary { background: var(--zts-orange); border-color: var(--zts-orange); color: #fff; }
#top .zts a.zts-btn-primary:hover, .zts a.zts-btn-primary:hover { background: var(--zts-orange-dark); border-color: var(--zts-orange-dark); color: #fff; }
#top .zts a.zts-btn-outline, .zts a.zts-btn-outline { background: #fff; border-color: var(--zts-navy); color: var(--zts-navy); }
#top .zts a.zts-btn-outline:hover, .zts a.zts-btn-outline:hover { background: var(--zts-navy); color: #fff; }
#top .zts a.zts-btn-ghost, .zts a.zts-btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
#top .zts a.zts-btn-ghost:hover, .zts a.zts-btn-ghost:hover { background: #fff; color: var(--zts-navy); }
.zts a.zts-btn:focus-visible, .zts button:focus-visible, .zts summary:focus-visible, .zts a.zts-type:focus-visible, .zts a.zts-card-link:focus-visible {
  outline: 3px solid rgba(215,82,37,.5);
  outline-offset: 2px;
}

/* Hero */
.zts-hero { background: var(--zts-navy); color: #fff; }
.zts-hero .zts-inner { padding-top: 56px; padding-bottom: 56px; text-align: center; }
.zts p.zts-eyebrow { color: #F3B49C; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#top .zts-hero h1, .zts-hero h1 { max-width: 880px; margin: 12px auto 0; color: #fff; font-size: 30px; }
.zts-hero h1 span { display: block; margin-top: 10px; color: #DCE3F0; font-size: 19px; font-weight: 400; line-height: 1.4; }
.zts p.zts-hero-sub { margin-top: 14px; color: #DCE3F0; }
.zts-actions { display: flex; flex-direction: column; gap: 12px; max-width: 340px; margin: 26px auto 0; }
.zts p.zts-hero-note { max-width: 760px; margin: 26px auto 0; color: #B9C4D8; font-size: 13px; line-height: 1.5; }

/* How it works */
.zts-steps { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.zts-steps li { margin: 0; padding: 20px; border: 1px solid var(--zts-line); border-radius: 12px; background: #fff; }
.zts-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--zts-orange); color: #fff; font-weight: 700; }
.zts-steps p { margin-top: 6px; color: var(--zts-grey); font-size: 15px; }

/* Project type cards: a drawing of the building, its name, one line on what it is */
.zts-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
#top .zts a.zts-type, .zts a.zts-type {
  display: flex; flex-direction: column; align-items: center;
  padding: 18px 12px 16px;
  border: 1px solid var(--zts-line);
  border-radius: 14px;
  background: #fff;
  color: var(--zts-ink);
  text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
#top .zts a.zts-type:hover, .zts a.zts-type:hover { border-color: var(--zts-orange); box-shadow: 0 8px 20px rgba(27,54,100,.14); transform: translateY(-2px); }
.zts-building { display: block; width: 100%; max-width: 132px; height: auto; margin-bottom: 10px; }
.zts-type-name { color: var(--zts-navy); font-size: 16px; font-weight: 700; line-height: 1.25; }
.zts-type-sub { margin-top: 4px; color: var(--zts-grey); font-size: 13px; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) { #top .zts a.zts-type:hover, .zts a.zts-type:hover { transform: none; } }
/* Cards */
.zts-cards { display: grid; gap: 16px; margin-top: 28px; }
.zts-card { position: relative; display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid var(--zts-line); border-radius: 14px; background: #fff; }
#top .zts a.zts-card-link, .zts a.zts-card-link { color: var(--zts-ink); transition: border-color .15s ease, box-shadow .15s ease; }
#top .zts a.zts-card-link:hover, .zts a.zts-card-link:hover { border-color: var(--zts-orange); box-shadow: 0 6px 18px rgba(27,54,100,.12); }
.zts-card h2 { font-size: 22px; text-align: left; }
.zts-card p { margin-top: 8px; color: var(--zts-grey); font-size: 15px; }
.zts-card-sub { min-height: 0; }
.zts-card-best { border: 2px solid var(--zts-orange); box-shadow: 0 8px 24px rgba(215,82,37,.14); }
.zts-badge { position: absolute; top: -13px; left: 20px; padding: 4px 12px; border-radius: 999px; background: var(--zts-orange); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.zts-card .zts-from { margin-top: auto; padding-top: 14px; color: var(--zts-grey); }
.zts-from strong { color: var(--zts-navy); font-size: 24px; }
.zts-card .zts-btn { margin-top: auto; }
.zts-card .zts-table-wrap { margin: 16px 0 20px; }

/* Price tables */
.zts-table-wrap { overflow-x: auto; }
#top .zts table.zts-price-table, .zts table.zts-price-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: transparent; }
#top .zts .zts-price-table tr, .zts .zts-price-table tr { background: transparent; }
#top .zts .zts-price-table th, #top .zts .zts-price-table td,
.zts .zts-price-table th, .zts .zts-price-table td {
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid #E7EBF1;
  background: transparent;
  color: var(--zts-ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  vertical-align: top;
}
#top .zts .zts-price-table td, .zts .zts-price-table td { padding-left: 12px; text-align: right; white-space: nowrap; }
.zts-price { color: var(--zts-navy); font-weight: 700; }
.zts-subprice { display: block; color: var(--zts-orange-dark); font-size: 12px; font-weight: 600; }
.zts-soon { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #EEF1F7; color: var(--zts-grey); font-size: 12px; font-weight: 600; }

/* Pricing head and subscription toggle */
.zts-page-head { max-width: 1120px; margin: 0 auto; padding: 40px 16px 8px; text-align: center; }
#top .zts-page-head h1, .zts-page-head h1 { font-size: 32px; }
.zts p.zts-chooser { max-width: 820px; margin: 12px auto 0; color: var(--zts-grey); font-size: 17px; }
.zts-chooser strong { color: var(--zts-navy); }
.zts-pricing > .zts-cards { max-width: 1120px; margin: 36px auto 0; padding: 0 16px; align-items: stretch; }
.zts-toggle { display: flex; gap: 4px; margin-top: 16px; padding: 4px; border: 1px solid var(--zts-line); border-radius: 10px; background: #EEF1F7; }
#top .zts button.zts-toggle-btn, .zts button.zts-toggle-btn {
  flex: 1 1 0; margin: 0; padding: 9px 8px;
  border: 0; border-radius: 7px;
  background: transparent; color: var(--zts-navy);
  font-size: 14px; font-weight: 600; line-height: 1.2;
  cursor: pointer; box-shadow: none;
}
#top .zts button.zts-toggle-btn.is-active, .zts button.zts-toggle-btn.is-active { background: var(--zts-navy); color: #fff; }
.zts-save { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: var(--zts-orange); color: #fff; font-size: 11px; font-weight: 700; }
.zts-plan { margin: 18px 0 20px; }
.zts-card p.zts-bigprice { margin: 0; color: var(--zts-navy); font-size: 40px; font-weight: 700; line-height: 1.1; }
.zts-bigprice small { color: var(--zts-grey); font-size: 16px; font-weight: 400; }

/* Sheets list and samples */
.zts-sheets { display: grid; gap: 10px; max-width: 760px; margin: 24px auto 0; padding: 0; list-style: none; }
.zts-sheets li { display: flex; gap: 14px; align-items: baseline; margin: 0; padding: 12px 16px; border: 1px solid var(--zts-line); border-radius: 10px; background: #fff; }
.zts-sheets strong { flex: 0 0 56px; color: var(--zts-orange-dark); }
.zts-samples { display: grid; gap: 18px; margin-top: 28px; }
.zts-samples figure { margin: 0; }
.zts-samples a { display: block; border: 1px solid var(--zts-line); border-radius: 10px; background: #fff; overflow: hidden; }
.zts-samples img { display: block; width: 100%; height: auto; }
.zts-samples figcaption { margin-top: 8px; color: var(--zts-grey); font-size: 14px; text-align: center; }

/* FAQ */
.zts-faq { max-width: 760px; margin: 24px auto 0; }
.zts-faq details { border-bottom: 1px solid var(--zts-line); }
.zts-faq summary { padding: 16px 28px 16px 0; color: var(--zts-navy); font-size: 16px; font-weight: 600; cursor: pointer; list-style-position: outside; }
.zts-faq details p { padding: 0 0 16px; color: var(--zts-grey); }
#top .zts-faq a, .zts-faq a { color: var(--zts-orange); font-weight: 600; }
.zts p.zts-review { max-width: 760px; margin: 24px auto 0; text-align: center; }

@media (min-width: 640px) {
  .zts-actions { max-width: 340px; }
  .zts-cards-4 { grid-template-columns: repeat(2, 1fr); }
  .zts-samples { grid-template-columns: repeat(3, 1fr); }
  #top .zts-hero h1, .zts-hero h1 { font-size: 40px; }
  .zts-hero h1 span { font-size: 21px; }
  .zts h2 { font-size: 30px; }
}
@media (min-width: 900px) {
  .zts-section, .zts-inner { padding-top: 64px; padding-bottom: 64px; }
  .zts-hero .zts-inner { padding-top: 80px; padding-bottom: 72px; }
  .zts-steps, .zts-cards-3 { grid-template-columns: repeat(3, 1fr); }
  .zts-cards-4 { grid-template-columns: repeat(4, 1fr); }
  .zts-card-sub { min-height: 68px; }
  .zts-plain .zts-card-sub { min-height: 0; }
}

/* Price lists: each row is a link to the product or project type */
.zts-price-list { margin: 16px 0 6px; padding: 0; list-style: none; }
.zts-price-list li { margin: 0; padding: 0; border-bottom: 1px solid #E7EBF1; list-style: none; }
#top .zts a.zts-price-row, .zts a.zts-price-row {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0 -8px; padding: 12px 8px;
  border-radius: 8px;
  color: var(--zts-ink);
  font-size: 15px; line-height: 1.35;
  transition: background-color .15s ease;
}
#top .zts a.zts-price-row:hover, .zts a.zts-price-row:hover { background: var(--zts-tint); }
.zts a.zts-price-row:focus-visible { outline: 3px solid rgba(215,82,37,.5); outline-offset: 1px; }
.zts-row-label { flex: 1 1 auto; }
.zts-row-price { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.zts-row-go { flex: 0 0 auto; color: var(--zts-orange); font-size: 20px; font-weight: 700; line-height: 1; }
.zts-samples-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .zts-types { grid-template-columns: repeat(3, 1fr); } .zts-cards-5, .zts-cards-6 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .zts-types { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .zts-cards-5 { grid-template-columns: repeat(5, 1fr); }
  .zts-cards-6 { grid-template-columns: repeat(3, 1fr); }
  .zts-samples.zts-samples-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Enfold: these pages bring their own spacing and headings */
#top.zts-fullpage .container_wrap.main_color > .container { padding-top: 0; padding-bottom: 0; }
#top.zts-fullpage .template-page.content { padding-top: 0; padding-bottom: 0; }
#top.zts-fullpage .entry-content-wrapper .post-entry { margin: 0; }
#top.zts-fullpage #wrap_all { overflow-x: hidden; }
/* the NEC chatbot on the homepage */
.zts-assistant .zts-lead { margin-bottom: 24px; }
.zts .zts-assistant .ztc { margin-top: 28px; margin-bottom: 0; }
