/* Q4 Workspace: Websites & Landing Pages page (loaded after site.css and va.css) */

/* ---------- Key facts ---------- */
.wb-facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1000px;
  margin: 0 auto;
  padding: 90px 16px 0;
  text-align: center;
}
.wb-fact { padding: 6px 16px; }
.wb-fact + .wb-fact { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.wb-fact__value { font-size: clamp(30px, 3.4vw, 42px); font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.wb-fact__label { margin-top: 6px; font-size: 14px; color: #8f9998; }

/* ---------- Portfolio ---------- */
.wb-work { padding: 130px 16px 40px; }
.wb-work__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 56px auto 0;
}
.wb-site {
  position: relative;
  display: block;
  height: 100%;
  padding: 8px 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  background: linear-gradient(180deg, #111717, #0b0e0e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color .3s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}
.wb-site:hover { border-color: rgba(111, 184, 174, 0.4); transform: translateY(-4px); }
.wb-site:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wb-site__shot { overflow: hidden; border-radius: 14px; aspect-ratio: 16 / 10; background: #0b0f0f; }
.wb-site__shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.wb-site:hover .wb-site__shot img { transform: scale(1.03); }
.wb-site__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 10px 0; }
.wb-site__name { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: #fff; }
.wb-site__type { margin-top: 4px; font-size: 14px; color: #8f9998; }
.wb-site__go { flex: none; margin-top: 2px; color: var(--accent); }
.wb-work__note { margin-top: 26px; text-align: center; font-size: 15px; color: #8f9998; }

/* ---------- Plans ---------- */
.wb-plans .vplan__list { margin-bottom: 24px; }
.vplan__once { display: block; margin-top: 4px; font-size: 13px; color: #8f9998; }
.wb-req {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #cfd6d5;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.wb-care {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 32px;
  align-items: center;
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 28px 30px;
  border-radius: 22px;
  text-align: left;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(58, 130, 122, 0.22), transparent 60%),
    linear-gradient(180deg, #101616, #0a0d0d);
  border: 1px solid rgba(111, 184, 174, 0.3);
}
.wb-care__name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.wb-care__price { margin-top: 8px; }
.wb-care__note { margin-top: 8px; font-size: 13px; color: #8f9998; }
.wb-care__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.wb-care__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #cfd6d5; }
.wb-care__list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eaf6f4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 60% no-repeat,
    radial-gradient(circle at 35% 30%, #4f9a92, var(--brand) 72%);
}

@media (max-width: 1000px) {
  .wb-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-care { grid-template-columns: 1fr; max-width: 460px; }
  .wb-care__list { grid-template-columns: 1fr; padding-left: 0; padding-top: 20px; border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
}
@media (max-width: 860px) {
  .wb-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-top: 70px; }
  .wb-fact:nth-child(3) { border-left: none; }
  .wb-work { padding-top: 100px; }
}
@media (max-width: 600px) {
  .wb-work__grid { grid-template-columns: 1fr; }
}

/* featured portfolio card: our own site across the full row */
.wb-work__featured { grid-column: 1 / -1; }
.wb-work__featured .wb-site__shot { aspect-ratio: 16 / 7; }
.wb-work__featured .wb-site__shot img { object-position: top; }

/* Care Plan: two even columns, each item = check + title + one line */
.wb-care__list { align-items: start; }
.wb-care__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); column-gap: 12px; row-gap: 3px; align-items: start; }
.wb-care__list li::before { grid-row: span 2; margin-top: 1px; }
.wb-care__list strong { font-size: 15px; font-weight: 700; color: #fff; }
.wb-care__list span { font-size: 14px; color: #8f9998; }
@media (max-width: 600px) { .wb-work__featured .wb-site__shot { aspect-ratio: 16 / 10; } }

/* Custom Build: quote instead of a fixed price */
.wb-quote { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; color: #fff; }
.wb-start { margin-top: 8px; font-size: 13px; color: #8f9998; }

/* portfolio right under the hero: tighter top spacing */
.va-hero:has(+ .wb-work--top) { padding-bottom: 40px; }
.wb-work--top { padding-top: 30px; }

/* limited-time promo: struck-through regular price + end date */
.wb-was { align-self: center; margin-right: 10px; font-size: 18px; font-weight: 500; color: #7d8786; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, 0.35); }
.vplan__price:has(.wb-was) { display: flex; align-items: center; }
.wb-promo { margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--accent); }
.vplan [hidden] { display: none !important; }

/* hero announcement pill for the launch promo */
.wb-hero-promo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 5px 14px 5px 5px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #dfe9e7;
  text-decoration: none;
  background: rgba(42, 107, 102, 0.16);
  border: 1px solid rgba(111, 184, 174, 0.35);
  transition: border-color .2s ease, background .2s ease;
}
.wb-hero-promo:hover, .wb-hero-promo:focus-visible { border-color: rgba(111, 184, 174, 0.7); background: rgba(42, 107, 102, 0.26); outline: none; }
.wb-hero-promo__tag { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #eaf6f4; background: linear-gradient(160deg, #3f8d85, var(--brand)); }
.wb-hero-promo svg { color: var(--accent); }
.wb-hero-promo[hidden] { display: none; }

/* promo pill always stays on one line; shorter wording on small phones */
.wb-hero-promo, .wb-hero-promo__tag { white-space: nowrap; }
.wb-hero-promo { max-width: 100%; }
.wb-sm-show { display: none; }
@media (max-width: 480px) {
  .wb-hero-promo { gap: 8px; font-size: 13px; padding-right: 12px; }
  .wb-hero-promo__tag { padding: 4px 9px; font-size: 11px; }
  .wb-sm-hide { display: none; }
  .wb-sm-show { display: inline; }
}
