/* ============================================================
   WEBGOX THEME — light shell + blue gradient system
   Loaded last. Owns the page shell, hero panel, badges,
   section headings, cards and footer surface.
   ============================================================ */

:root {
  --page-bg:      #FFFFFF;
  --shell:        #FFFFFF;
  --card:         #FFFFFF;
  --card-soft:    #F5F7FA;
  --line:         #E6E9EF;

  --blue-500:     #1E63FF;
  --blue-600:     #1550DB;
  --blue-400:     #4C86FF;
  --blue-50:      #EFF4FF;

  /* the hero / CTA gradient, lifted from the reference */
  --grad-hero: linear-gradient(168deg, #4C86FF 0%, #1E63FF 42%, #0B45C9 100%);
  --grad-card: linear-gradient(160deg, #4C86FF 0%, #1E63FF 100%);

  --shell-radius: 34px;
  --panel-radius: 28px;
  --card-radius:  20px;
}

body {
  background: var(--page-bg);
  font-family: var(--font-body);
  color: var(--text);
}

/* ---------- page shell: everything sits in a rounded white sheet ---------- */
.shell {
  background: var(--shell);
  border-radius: var(--shell-radius);
  margin: 14px 14px 0;
  overflow: clip;
}
@media (max-width: 640px) {
  .shell { margin: 8px; border-radius: 24px; }
}

/* ---------- pill badge above section headings ---------- */
.badge-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-50); color: var(--blue-500);
  font-size: 12px; font-weight: 600; letter-spacing: 0.01em;
  padding: 6px 14px 6px 7px; border-radius: var(--r-pill);
  margin-bottom: var(--s-4);
}
.badge-pill::before {
  content: ''; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-card); flex-shrink: 0;
}
.badge-pill.on-blue { background: rgba(255,255,255,0.18); color: #fff; }
.badge-pill.on-blue::before { background: rgba(255,255,255,0.9); }

/* ---------- section headings ---------- */
.sec { padding: clamp(56px, 7vw, 96px) 24px; max-width: var(--container); margin: 0 auto; }
.sec-head { text-align: center; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(27px, 3.6vw, 42px); font-weight: 700;
  line-height: 1.18; letter-spacing: -0.03em;
  max-width: 22ch; margin: 0 auto; text-wrap: balance;
}
.sec-head p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.7;
  max-width: 60ch; margin: var(--s-4) auto 0; text-wrap: pretty;
}
/* one phrase per headline in brand blue — the reference's signature */
.hl { color: var(--blue-500); }
.sec-head.left { text-align: left; }
.sec-head.left h2, .sec-head.left p { margin-left: 0; }

/* ---------- hero panel ---------- */
.hero-panel {
  position: relative; isolation: isolate;
  background: var(--grad-hero);
  border-radius: var(--panel-radius);
  margin: 14px; padding: clamp(112px, 13vw, 168px) 24px clamp(56px, 7vw, 88px);
  text-align: center; overflow: hidden;
}
/* soft light bloom, top-centre */
.hero-panel::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255,255,255,0.28), transparent 70%);
}
/* faint grid, like the reference's backdrop */
.hero-panel::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-panel .inner { max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }

.hero-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.2vw, 58px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.035em; color: #fff;
  margin: 0 auto var(--s-5); max-width: 20ch; text-wrap: balance;
}
.hero-panel p.lede {
  font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7;
  color: rgba(255,255,255,0.82); max-width: 60ch; margin: 0 auto var(--s-6);
}
.hero-actions {
  display: flex; gap: var(--s-3); justify-content: center; flex-wrap: wrap;
}

/* white-on-blue and dark pill buttons */
.btn-white { background: #fff; color: var(--text); border: none; }
.btn-white:hover { background: #F2F5FA; }
.btn-onblue {
  background: rgba(255,255,255,0.16); color: #fff;
  border: 1px solid rgba(255,255,255,0.34); backdrop-filter: blur(6px);
}
.btn-onblue:hover { background: rgba(255,255,255,0.26); }
.btn-ink { background: #10131A; color: #fff; border: none; }
.btn-ink:hover { background: #23272F; }

/* ---------- floating UI cards under the hero ---------- */
.hero-cards {
  max-width: var(--container); margin: -56px auto 0; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
  align-items: start; position: relative; z-index: 2;
}
.ui-card {
  background: var(--card); border-radius: var(--card-radius);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.10);
  padding: var(--s-5);
}
.ui-card.raise { transform: translateY(-24px); }
.ui-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s-4); }
.ui-dot {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-card); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.ui-card-label { font-size: 12px; color: var(--text-muted); }
.ui-card-value {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1;
}
.ui-card-note { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.ui-bar { height: 6px; border-radius: 3px; background: var(--card-soft); margin-top: var(--s-4); overflow: hidden; }
.ui-bar span { display: block; height: 100%; background: var(--grad-card); border-radius: 3px; }

/* ---------- logo / trust cloud ---------- */
.trust-line {
  text-align: center; font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 26px); font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: var(--s-6);
}
.trust-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 9px 18px;
  font-size: 14px; font-weight: 600; color: var(--text-secondary);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.trust-pill:hover { color: var(--text); border-color: #C9CFDA; }

.hero-proof {
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.78); margin: -10px auto 24px;
}
.hero-trust { margin-top: 32px; }
.hero-trust-label {
  display: block; font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.6); margin-bottom: 12px;
}
.trust-pill.on-blue {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.85);
}
.trust-pill.on-blue:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ---------- feature cards, one highlighted ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.feat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: var(--s-6) var(--s-5);
  display: flex; flex-direction: column;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.feat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,24,40,0.09); }
.feat-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue-50); color: var(--blue-500);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-4);
}
.feat h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: var(--s-2); }
.feat p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; margin-bottom: var(--s-4); }
.feat-link { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--blue-500); }

/* highlighted variant — the blue card in the reference */
.feat.is-blue { background: var(--grad-card); border-color: transparent; color: #fff; }
.feat.is-blue h3 { color: #fff; }
.feat.is-blue p { color: rgba(255,255,255,0.85); }
.feat.is-blue .feat-icon { background: rgba(255,255,255,0.2); color: #fff; }
.feat.is-blue .feat-link { color: #fff; }

/* ---------- closing CTA panel ---------- */
.cta-panel {
  background: var(--grad-hero); border-radius: var(--panel-radius);
  margin: 14px; padding: clamp(56px, 7vw, 88px) 24px;
  /* last child of .shell — avoid doubling the gutter before the footer */
  text-align: center; position: relative; overflow: hidden;
}
.cta-panel::after {
  content: ''; position: absolute; inset: 0; opacity: 0.14;
  background-image: linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 20%, transparent 75%);
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(27px, 3.8vw, 44px); font-weight: 700;
  line-height: 1.14; letter-spacing: -0.03em; color: #fff;
  max-width: 20ch; margin: 0 auto var(--s-4); text-wrap: balance;
}
.cta-panel p { color: rgba(255,255,255,0.82); font-size: 15px; max-width: 54ch; margin: 0 auto var(--s-6); line-height: 1.7; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-cards { grid-template-columns: 1fr; margin-top: -36px; }
  .ui-card.raise { transform: none; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-panel, .cta-panel { margin: 8px; border-radius: 22px; }
  .sec { padding-left: 20px; padding-right: 20px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   FOOTER — white surface, giant blue wordmark
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.site-footer { position: relative; background: var(--shell); margin-top: 14px; }

.foot-fade { display: none; }
.foot-main {
  background: var(--shell);
  padding: clamp(32px, 4vw, 56px) 24px 0;
  position: relative; overflow: hidden;
}
.foot-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr 1.4fr;
  gap: var(--s-6) var(--s-5);
}

.foot-logo {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text); display: inline-block;
}
.foot-logo span { color: var(--blue-500); margin-left: 2px; }
.foot-tag {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600; color: var(--text); margin-top: 8px;
}
.foot-blurb {
  font-size: 13px; line-height: 1.65; color: var(--text-secondary);
  margin-top: 10px; max-width: 32ch;
}
.foot-social { display: flex; gap: 10px; margin-top: var(--s-5); }
.foot-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--blue-50); border: 1px solid var(--line);
  color: var(--blue-500); display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.foot-social a:hover { background: var(--blue-500); color: #fff; transform: translateY(-2px); }

.foot-col h4, .foot-news h4 {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: var(--s-4);
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.foot-col a, .foot-muted {
  font-size: 13px; color: var(--text-secondary); transition: color var(--t-fast) var(--ease);
}
.foot-col a:hover { color: var(--blue-500); }
.foot-muted { color: var(--text-muted); }

.foot-news p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--s-4); }
.news-form { display: flex; flex-direction: column; gap: 10px; }
.news-form input[type="email"] {
  width: 100%; padding: 12px 16px; border-radius: var(--r-pill);
  background: var(--card-soft); border: 1px solid var(--line);
  color: var(--text); font-family: var(--font-body); font-size: 13px;
}
.news-form input::placeholder { color: var(--text-muted); }
.news-form input:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; }
.news-form .btn { justify-content: center; padding: 12px 22px; font-size: 13px; }
.news-status { font-size: 12px; line-height: 1.5; min-height: 1px; }
.news-status.ok { color: var(--ok); }
.news-status.err { color: var(--err); }

/* giant blue wordmark bleeding off the bottom */
.foot-wordmark {
  max-width: var(--container); margin: clamp(28px, 4vw, 56px) auto 0;
  display: flex; align-items: center; gap: clamp(12px, 2vw, 28px);
  overflow: hidden;
}
.foot-mark {
  width: clamp(56px, 9vw, 132px); aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
}
.foot-word {
  font-family: var(--font-display);
  font-size: clamp(64px, 17vw, 230px); font-weight: 700;
  letter-spacing: -0.05em; line-height: 0.82;
  color: var(--blue-500);
  transform: translateY(0.08em);
}

.foot-bottom {
  max-width: var(--container); margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: var(--s-5) 0;
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
}
.foot-bottom p { font-size: 12px; color: var(--text-muted); }

@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand, .foot-news { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .foot-bottom { flex-direction: column; gap: 6px; }
  .foot-wordmark { gap: 10px; flex-wrap: wrap; }
  .foot-word { font-size: clamp(34px, 13vw, 64px); }
}

/* ---------- inner-page hero: light, badge + big head ---------- */
.hero-lite {
  padding: clamp(112px, 14vh, 160px) 24px clamp(28px, 4vw, 48px);
  max-width: var(--container); margin: 0 auto; text-align: center;
}
.hero-lite h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px); font-weight: 700;
  line-height: 1.08; letter-spacing: -0.035em;
  max-width: 20ch; margin: 0 auto var(--s-4); text-wrap: balance;
}
.hero-lite p.lede {
  font-size: clamp(15px, 1.5vw, 17px); line-height: 1.7;
  color: var(--text-secondary); max-width: 62ch; margin: 0 auto var(--s-6);
}
.hero-lite .hero-actions { justify-content: center; }
.hero-lite .crumbs-inline {
  display: flex; gap: 8px; justify-content: center; list-style: none;
  font-size: 12px; color: var(--text-muted); margin-bottom: var(--s-4);
}
.hero-lite .crumbs-inline li + li::before { content: '/'; margin-right: 8px; color: var(--line); }
.hero-lite .crumbs-inline a { color: var(--text-secondary); }
.hero-lite .crumbs-inline a:hover { color: var(--blue-500); }

/* skip-link must be invisible until focused — it was rendering inline */
.skip-link {
  position: absolute !important; left: -9999px; top: 0; z-index: 200;
  background: #10131A; color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 0; font-size: 14px; width: auto; height: auto;
}
.skip-link:focus { left: 0; }

/* legal / long-form copy card on the light theme */
.legal-copy {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: clamp(28px, 4vw, 48px);
  max-width: 820px; margin: 0 auto;
}
.legal-copy h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin: var(--s-6) 0 var(--s-2); }
.legal-copy h3:first-child { margin-top: 0; }
.legal-copy p { font-size: 15px; color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--s-3); }
.legal-copy a { color: var(--blue-500); text-decoration: underline; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-5);
  align-items: start;
}

/* ---- left: direct contact methods ---- */
.contact-aside {
  background: var(--card-soft); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: clamp(24px, 3vw, 36px);
  position: sticky; top: 96px;
}
.contact-aside-h {
  font-family: var(--font-display);
  font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px;
}
.contact-aside-p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--s-5); }

.contact-methods { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.contact-methods li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px; border-radius: 14px;
  transition: background var(--t-fast) var(--ease);
}
.contact-methods li:hover { background: var(--shell); }
.cm-icon {
  width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0;
  background: var(--blue-50); color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
}
.cm-icon.wa { background: rgba(37, 211, 102, 0.12); color: #1FA855; }
.cm-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cm-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted);
}
.cm-body a { font-size: 14px; font-weight: 600; color: var(--text); word-break: break-word; }
.cm-body a:hover { color: var(--blue-500); }

.contact-hours {
  margin-top: var(--s-5); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.contact-hours p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-top: 6px; }
.contact-hours strong { color: var(--text); white-space: nowrap; }

.contact-addr {
  font-style: normal; font-size: 13px; line-height: 1.7;
  color: var(--text-secondary);
}
.contact-addr strong { color: var(--text); font-weight: 600; }

/* secondary email link, sits under the primary in the same cm-body */
.cm-body a.cm-alt {
  font-size: 12px; font-weight: 500; color: var(--text-muted);
}
.cm-body a.cm-alt:hover { color: var(--blue-500); }

/* ---- two-office block ---- */
.offices-block {
  margin-top: var(--s-5); padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: var(--s-4);
}
.offices-block > .cm-label { display: block; margin-bottom: 2px; }
.office-card {
  background: var(--shell); border: 1px solid var(--line);
  border-radius: 14px; padding: var(--s-4);
}
.office-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; color: var(--blue-500);
  background: var(--blue-50); padding: 3px 10px; border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.office-card .contact-addr { margin: 0 0 8px; }
.office-actions {
  display: flex; align-items: center; gap: 10px; margin-bottom: 6px; flex-wrap: wrap;
}
.office-phone { font-size: 14px; font-weight: 600; color: var(--text); }
.office-phone:hover { color: var(--blue-500); }
.office-wa {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: #1FA855;
  background: rgba(37, 211, 102, 0.12); padding: 3px 10px; border-radius: var(--r-pill);
}
.office-wa::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #25D366;
}
.office-wa:hover { background: rgba(37, 211, 102, 0.2); }
.office-map { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.office-map:hover { color: var(--blue-500); }

/* ---- right: the form ---- */
.contact-form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.05);
  scroll-margin-top: 100px;
}
.contact-form-h {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px); font-weight: 700;
  letter-spacing: -0.025em; margin-bottom: 6px;
}
.contact-form-p { font-size: 14px; color: var(--text-secondary); margin-bottom: var(--s-6); }

.cform { display: flex; flex-direction: column; gap: var(--s-4); }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.cfield { display: flex; flex-direction: column; gap: 7px; }
.cfield label { font-size: 13px; font-weight: 600; color: var(--text); }
.cfield label span { color: var(--blue-500); }
.cfield input,
.cfield select,
.cfield textarea {
  width: 100%; padding: 12px 14px;
  font-family: var(--font-body); font-size: 14px; color: var(--text);
  background: var(--card-soft); border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.cfield textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.cfield input::placeholder, .cfield textarea::placeholder { color: var(--text-muted); }
.cfield input:hover, .cfield select:hover, .cfield textarea:hover { border-color: #C9CFDA; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus {
  outline: none; background: var(--shell);
  border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50);
}
.cfield select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.cform-submit { justify-content: center; margin-top: var(--s-2); }
.cform-privacy { font-size: 12px; color: var(--text-muted); }
.cform-privacy a { color: var(--blue-500); text-decoration: underline; }

.form-status { font-size: 13px; line-height: 1.55; }
.form-status.ok  { color: var(--ok);  background: var(--ok-bg);  padding: 12px 14px; border-radius: 12px; }
.form-status.err { color: var(--err); background: var(--err-bg); padding: 12px 14px; border-radius: 12px; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}
@media (max-width: 560px) {
  .cform-row { grid-template-columns: 1fr; }
}

/* ============================================================
   PEOPLE CARDS (team page)
   ============================================================ */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }

.pcard {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: 12px;
  display: flex; flex-direction: column;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(16,24,40,0.10); }

.pcard-photo {
  border-radius: 14px; overflow: hidden;
  background: var(--card-soft); aspect-ratio: 1 / 1.02;
}
.pcard-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  display: block; transition: transform var(--t-slow) var(--ease);
}
.pcard:hover .pcard-photo img { transform: scale(1.04); }

.pcard-body { padding: var(--s-4) 6px 6px; }
.pcard-body h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em;
}
.pcard-role {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-secondary); margin-top: 5px;
}
.pcard-role::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--blue-500); flex-shrink: 0;
}

/* hiring card takes the sixth cell */
.pcard-join { background: var(--grad-card); border-color: transparent; }
.pcard-join-body {
  aspect-ratio: 1 / 1.02; border-radius: 14px;
  padding: var(--s-5); display: flex; flex-direction: column;
}
.pcard-join-quote {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600; line-height: 1.4; color: #fff;
  margin-top: var(--s-2);
}
.pcard-join-sub {
  font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.78); margin-top: auto;
}
.pcard-join .pcard-body h3 { color: #fff; }
.pcard-join-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #fff; margin-top: 5px;
}
.pcard-join-link:hover { text-decoration: underline; }

@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }

/* article category tag on insight cards */
.post-cat {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-500); background: var(--blue-50);
  padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: var(--s-4);
}
.post-cat.on-blue { color: #fff; background: rgba(255,255,255,0.22); }

/* ---------- floating WhatsApp button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 12px 30px rgba(37,211,102,0.5); }
@media (max-width: 560px) { .wa-float { width: 48px; height: 48px; right: 14px; bottom: 14px; } }

/* ---------- testimonial cards (demo content until real quotes land) ---------- */
.testi-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--card-radius); padding: var(--s-6) var(--s-5);
  display: flex; flex-direction: column;
}
.testi-quote {
  font-size: 15px; line-height: 1.65; color: var(--text);
  margin-bottom: var(--s-5);
}
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700;
}
.testi-author strong { display: block; font-size: 14px; font-weight: 600; }
.testi-author span { font-size: 12px; color: var(--text-muted); }

/* small red flag on any invented content — must be gone before this ships */
.demo-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #B3243F; background: rgba(239, 71, 111, 0.12);
  padding: 2px 8px; border-radius: var(--r-pill); vertical-align: middle;
}
.testi-card > .demo-tag { position: absolute; top: 16px; right: 16px; }

/* project-tag reused above a .feat card h3 (base rule lives in styles.css) */
.feat .project-tag { display: block; margin-bottom: 6px; }

/* ---------- loud demo banner on generated case-study pages ---------- */
.demo-banner {
  display: block; font-size: 13px; line-height: 1.6;
  color: var(--text-secondary);
  background: rgba(239, 71, 111, 0.08);
  border: 1px dashed #B3243F;
  border-radius: var(--r-md);
  padding: 12px 16px; margin-bottom: var(--s-5);
}
.demo-banner strong { color: #B3243F; }
