/* ============================================================
   Shared page furniture — nav, sign cards, reviews, process,
   FAQ, footer. Every theme composes these, so padding and
   alignment are defined once.
   ============================================================ */

/* ---------- top bar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1200;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(78, 205, 196, 0.16);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: var(--s4);
  height: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img { height: 26px; width: auto; }
@media (min-width: 768px) { .nav-logo img { height: 30px; } }

.nav-links { display: none; gap: 2px; margin-inline: auto; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: var(--r-full);
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.72);
  transition: background 0.16s, color 0.16s;
}
.nav-links a:hover { background: rgba(78, 205, 196, 0.14); color: #fff; }

.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1024px) { .nav-right { margin-left: 0; } }
.nav-tel {
  display: none;
  align-items: center;
  gap: 6px;
  font-family: var(--f-cond);
  font-size: var(--t-sm);
  letter-spacing: 0.03em;
  color: #fff;
  white-space: nowrap;
}
@media (min-width: 900px) { .nav-tel { display: inline-flex; } }
.nav-tel svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #06201e;
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 3px 16px rgba(78, 205, 196, 0.34);
  transition: background 0.18s, transform 0.14s;
}
.nav-cta:hover { background: var(--teal-bright); transform: translateY(-1px); }
.nav-cta svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nav-cta-short { display: none; }
/* On a narrow phone the long label and the version picker cannot both fit. */
@media (max-width: 440px) {
  .nav-cta-long { display: none; }
  .nav-cta-short { display: inline; }
  .nav-cta { padding-inline: 13px; }
  .nav-in { gap: var(--s3); }
  .nav-right { gap: 8px; }
}

.page { padding-top: var(--nav-h); }

/* ---------- value bar ---------- */
.valuebar { background: var(--teal-ink); color: rgba(255, 255, 255, 0.9); }
.valuebar-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s5);
  flex-wrap: wrap;
  min-height: 46px;
  padding-block: 10px;
}
.valuebar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--f-ui);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.valuebar-item svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: var(--teal-bright); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 720px) {
  .valuebar-in { gap: var(--s3) var(--s4); justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .valuebar-in::-webkit-scrollbar { display: none; }
  .valuebar-item { white-space: nowrap; }
}

/* ---------- sign cards ---------- */
.signgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--s4);
}
@media (min-width: 768px) { .signgrid { gap: var(--s5); } }

.signcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--e1);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.signcard:hover { border-color: rgba(78, 205, 196, 0.5); box-shadow: var(--e2); transform: translateY(-3px); }
.signcard.is-match { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--e2); }

.signcard-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg1); }
.signcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.signcard:hover .signcard-img img { transform: scale(1.06); }
.signcard-flag {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: #06201e;
  font-family: var(--f-ui);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.signcard-flag[hidden] { display: none; }

.signcard-body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: var(--s4); }
.signcard-tags {
  font-family: var(--f-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.signcard-name {
  font-family: var(--f-ui);
  font-size: var(--t-md);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}
.signcard-desc {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.signcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--s3);
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--teal-deep);
}
.signcard-cta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.signcard:hover .signcard-cta svg { transform: translateX(3px); }

/* compact tile used by the showroom */
.tilegrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: var(--s3);
}
@media (min-width: 768px) { .tilegrid { gap: var(--s4); } }
@media (min-width: 1100px) { .tilegrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--dark2);
  cursor: pointer;
  text-align: left;
  aspect-ratio: 4 / 5;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--e3); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 10, 0) 24%, rgba(4, 10, 10, 0.5) 52%, rgba(4, 10, 10, 0.92) 100%);
}
.tile-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s4);
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.tile-tags {
  font-family: var(--f-ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-bright);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile-name { font-family: var(--f-ui); font-size: var(--t-base); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.tile-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: var(--t-xs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.84);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s, transform 0.22s;
}
.tile:hover .tile-go, .tile:focus-visible .tile-go { opacity: 1; transform: none; }
@media (hover: none) { .tile-go { opacity: 1; transform: none; } }
.tile-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tile.is-match { box-shadow: 0 0 0 2px var(--accent); }

/* ---------- category chips ---------- */
.catbar {
  display: flex;
  gap: var(--s2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.catbar::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .catbar { flex-wrap: wrap; overflow: visible; } }
.catchip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 var(--s4);
  border: 1px solid var(--line2);
  border-radius: var(--r-full);
  background: var(--card);
  font-family: var(--f-ui);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--body);
  white-space: nowrap;
  transition: border-color 0.16s, background 0.16s, color 0.16s;
}
.catchip:hover { border-color: var(--accent); color: var(--teal-deep); }
.catchip.is-on { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; }
.catchip-n { font-size: 0.72rem; opacity: 0.6; }
.catchip.is-on .catchip-n { opacity: 0.75; }

/* ---------- reviews ---------- */
.revgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr));
  gap: var(--s4);
}
.revcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--e1);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.revcard:hover { border-color: rgba(78, 205, 196, 0.45); box-shadow: var(--e2); transform: translateY(-3px); }
.revcard-img { position: relative; aspect-ratio: 4 / 3; background: var(--bg1); overflow: hidden; }
.revcard-img img { width: 100%; height: 100%; object-fit: cover; }
/* If the hosted customer photo cannot load, a labelled tile shows instead of a broken image. */
.revcard-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 6px;
  align-content: center;
  padding: var(--s4);
  background: linear-gradient(140deg, #14403c, #0b2422);
  color: #fff;
  text-align: center;
}
.revcard-fallback b { font-family: var(--f-display); font-size: 1.5rem; line-height: 1; }
.revcard-fallback span { font-family: var(--f-ui); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.revcard-kind {
  position: absolute;
  bottom: 10px; left: 10px;
  z-index: 1;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: rgba(6, 20, 19, 0.82);
  color: #fff;
  font-family: var(--f-ui);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.revcard-body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; padding: var(--s4); }
.revcard-sign {
  font-family: var(--f-ui);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.revcard-biz { font-family: var(--f-ui); font-size: var(--t-md); font-weight: 700; color: var(--ink); line-height: 1.25; }
.revcard-quote {
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--body);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.revcard-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-size: var(--t-xs);
  color: var(--muted);
}

/* ---------- process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: var(--s5);
  counter-reset: step;
}
.step { display: flex; flex-direction: column; gap: var(--s3); }
.step-n {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-teal);
  background: rgba(78, 205, 196, 0.12);
  font-family: var(--f-cond);
  font-size: 1.1rem;
  color: var(--teal-bright);
}
.band--cream .step-n, .band--white .step-n { color: var(--teal-deep); border-color: rgba(29, 143, 136, 0.28); }
.step-t { font-family: var(--f-ui); font-size: var(--t-md); font-weight: 700; color: var(--ink); }
.band--dark .step-t { color: #fff; }
.step-x { font-size: var(--t-sm); line-height: 1.6; color: var(--body); }
.band--dark .step-x { color: rgba(255, 255, 255, 0.68); }

/* ---------- why grid ---------- */
.whygrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: var(--s4);
}
.whycard {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--e1);
}
.whycard-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r);
  background: rgba(78, 205, 196, 0.14);
}
.whycard-ico svg { width: 20px; height: 20px; fill: none; stroke: var(--teal-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.whycard-t { font-family: var(--f-ui); font-size: var(--t-md); font-weight: 700; color: var(--ink); }
.whycard-x { font-size: var(--t-sm); line-height: 1.6; color: var(--body); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: var(--s2); max-width: 820px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  overflow: hidden;
}
.faq-item[open] { border-color: rgba(78, 205, 196, 0.42); }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  cursor: pointer;
  list-style: none;
  font-family: var(--f-ui);
  font-size: var(--t-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  flex: 0 0 18px;
  width: 18px; height: 18px;
  margin-left: auto;
  background: currentColor;
  color: var(--teal-deep);
  transition: transform 0.25s var(--ease);
  -webkit-mask: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  mask: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-item p { padding: 0 var(--s5) var(--s5); font-size: var(--t-sm); line-height: 1.65; color: var(--body); }

/* ---------- footer ---------- */
.foot { background: var(--dark); color: rgba(255, 255, 255, 0.64); }
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s7);
}
.foot-logo img { height: 26px; }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); font-size: var(--t-xs); }
.foot-links a:hover { color: var(--teal-bright); }
.foot-note { width: 100%; padding-top: var(--s4); border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: var(--t-xs); color: rgba(255, 255, 255, 0.42); }

/* ---------- final call to action ---------- */
.endcta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s5);
  text-align: center;
  padding: clamp(32px, 5vw, 56px) var(--gutter);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #10403c, #0a2423);
  color: #fff;
  box-shadow: var(--e-dark);
}
.endcta h2 { font-family: var(--f-display); font-weight: 400; font-size: var(--t-2xl); line-height: 1.12; text-wrap: balance; }
.endcta h2 em { font-style: italic; color: var(--teal-bright); }
.endcta p { max-width: 520px; font-size: var(--t-md); line-height: 1.6; color: rgba(255, 255, 255, 0.76); text-wrap: pretty; }
.endcta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
