/* =========================================================================
   Oxen Softwares — industry funnel page
   Extends style.css (shared tokens, navbar, footer, buttons, cards)
   Used by industry.php for EVERY industry — content comes from
   data/industries.js, never from this file.
   ========================================================================= */

/* ---------- Avoid a flash of the raw template before data renders -------- */
body.oxen-loading { opacity: 0; }
body { opacity: 1; transition: opacity .18s ease; }

/* ---------- Brand logo (image, swapped per deployment) ------------------- */
.brand-logo-link{ display:inline-flex; align-items:center; text-decoration:none; }
.brand-logo-link img{ height: 34px; width: auto; display:block; max-width: 190px; object-fit: contain; }
footer .brand-logo-link img{ height: 38px; max-width: 210px; }
@media (max-width: 575.98px){
  .brand-logo-link img{ height: 28px; max-width: 150px; }
}

/* ---------- Industry card (case studies index) --------------------------- */
.industry-card{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.industry-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #000;
  color: var(--ink);
}
.industry-card .ic-top{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem;
}
.industry-card .ic-icon{
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--accent); color: var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:1.2rem;
}
.industry-card .ic-arrow{ color: rgba(16,16,19,.25); font-size: 1.05rem; transition: color .18s ease, transform .18s ease; }
.industry-card:hover .ic-arrow{ color: var(--primary); transform: translate(2px,-2px); }
.industry-card h4{
  font-family: var(--heading-font); font-weight:700; font-size:1.18rem; margin:0 0 .5rem;
}
.industry-card .ic-hook{
  font-size: .86rem; line-height:1.5; color: rgba(16,16,19,.6); margin:0 0 1rem;
}
.industry-card .ic-hook strong{ color: var(--primary); }
.industry-card .ic-tags{ display:flex; flex-wrap:wrap; gap:.35rem; margin-bottom:1.15rem; }
.industry-card .ic-tags span{
  font-size:.7rem; font-weight:600; padding:.25rem .6rem; border-radius:50px;
  background:#F4F4F1; color: rgba(16,16,19,.6);
}
.industry-card .ic-cta{
  margin-top: auto;
  display:inline-flex; align-items:center; gap:.35rem;
  font-family: var(--ui-font); font-weight:700; font-size:.82rem; color: var(--primary);
}

/* ---------- Text logo (legacy, kept for any page still using it) --------- */
.oxen-logo{
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  white-space: nowrap;
}
.oxen-logo .mark{
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--primary);
  color: var(--accent);
  display: inline-flex; align-items:center; justify-content:center;
  font-size: 1rem;
  flex: none;
}
footer .oxen-logo{ color: var(--ink); }
footer .oxen-logo .mark{ background: var(--accent); color: var(--primary); }

/* ---------- BRIGHT BADGES ----------------------------------------------
   Filled, high-contrast eyebrow badges. Each major section gets its own
   colour so the page reads as distinct chapters while scrolling.
   ----------------------------------------------------------------------- */
.re-page .section-eyebrow,
.re-page .pill-badge{
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  font-weight: 700;
}

.badge-lime{
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: var(--primary) !important;
  box-shadow: 0 4px 14px -6px rgba(226,255,94,.9);
}
/* For badges sitting directly on the lime hero background — badge-lime
   would blend straight into it. Solid white pops instead. */
.badge-white-solid{
  background: #fff !important;
  border-color: #fff !important;
  color: var(--primary) !important;
  box-shadow: var(--shadow-sm);
}
.badge-teal{
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.badge-coral{
  background: #FFE4E4 !important;
  border-color: #FFC4C4 !important;
  color: #C81E1E !important;
}
.badge-coral-solid{
  background: #F04545 !important;
  border-color: #F04545 !important;
  color: #fff !important;
}
.badge-amber{
  background: #FFF2C7 !important;
  border-color: #FFE28A !important;
  color: #8A5B00 !important;
}
.badge-violet{
  background: #EDE7FF !important;
  border-color: #D9CCFF !important;
  color: #5B34C7 !important;
}
.badge-sky{
  background: #DFF1FF !important;
  border-color: #BBE0FF !important;
  color: #0B5E9C !important;
}
/* On the dark panels the lime badge already pops; give the outline one a lift */
.pill-badge.on-dark{
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: #fff !important;
}

/* Accent text colour used inside headings */
.text-coral{ color:#F87171; }

/* ---------- HIGHLIGHT READABILITY ON DARK PANELS ------------------------
   .text-accent-box paints a lime background behind the text. On light
   sections the inherited dark text is fine, but inside .dark-panel the text
   inherits white — lime on white is unreadable. Force it dark wherever the
   highlight sits on a dark background (team panel, final CTA, hidden cost).
   ----------------------------------------------------------------------- */
.dark-panel .text-accent-box,
.final-cta-panel .text-accent-box,
.cost-card .text-accent-box{
  color: var(--ink) !important;
}

/* ---------- SECTION RHYTHM ---------------------------------------------
   One consistent vertical scale instead of ad-hoc utility classes.
   ----------------------------------------------------------------------- */
.re-page section{ padding: 6rem 0; }
.re-page section.section-tight{ padding-top: 3rem; }
.re-page section.section-flush-top{ padding-top: 0; }
.re-page .section-head{ margin-bottom: 3.25rem; }
/* A section's own bottom padding stacks with the next section's top padding.
   Where the following section is already tightened, halve this one's bottom
   too — otherwise 6rem + 3rem still leaves an oversized gap. */
.re-page section:has(+ section.section-tight){ padding-bottom: 3rem; }
@media (max-width: 991.98px){
  .re-page section{ padding: 4rem 0; }
  .re-page section.section-tight{ padding-top: 2rem; }
  .re-page section:has(+ section.section-tight){ padding-bottom: 2rem; }
  .re-page .section-head{ margin-bottom: 2.25rem; }
}

/* ---------- Services page: "How it happens" phase timeline --------------
   Four phases across a connecting rail. The two phases that carry the most
   weight in a buying decision (the build itself, and the year of support
   that comes free) are marked .featured so the eye lands there first. */
.phase-track{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
  position: relative;
}
/* The rail linking the phases — sits behind the cards. */
.phase-track::before{
  content: "";
  position: absolute;
  top: 62px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.phase-card{
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.phase-card:hover{ transform: translateY(-4px); border-color: rgba(255,255,255,.3); }
.phase-top{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.phase-num{
  font-family: var(--heading-font);
  font-size: 1.6rem; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,.28);
}
.phase-when{
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 99px; padding: .25rem .6rem; white-space: nowrap;
}
.phase-icon{
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,.08); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: .9rem;
}
.phase-card h4{ font-size: 1.05rem; margin-bottom: .5rem; color: #fff; }
.phase-card p{ font-size: .85rem; color: rgba(255,255,255,.62); margin: 0 0 1rem; line-height: 1.6; }
.phase-out{
  margin-top: auto;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.8);
  display: flex; align-items: flex-start; gap: .4rem;
  padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.1);
}
.phase-out i{ color: var(--accent); flex: none; margin-top: .1rem; }

/* Highlighted phases */
.phase-card.featured{
  background: rgba(226,255,94,.07);
  border-color: rgba(226,255,94,.45);
}
.phase-card.featured .phase-icon{ background: var(--accent); color: var(--primary); }
.phase-card.featured .phase-num{ color: rgba(226,255,94,.55); }
.phase-card.featured .phase-when{ color: var(--accent); border-color: rgba(226,255,94,.4); }
.phase-flag{
  position: absolute; top: -11px; left: 1.35rem;
  background: var(--accent); color: var(--primary);
  font-size: .6rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: .28rem .6rem; border-radius: 99px; white-space: nowrap;
}

.phase-footnote{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 2.5rem;
  font-size: .88rem; color: rgba(255,255,255,.72);
}
.phase-footnote i{ color: var(--accent); margin-right: .35rem; }
.phase-footnote strong{ color: #fff; }
.phase-dot{ width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); }

.phase-track-3{ grid-template-columns: repeat(3, 1fr); }

@media (max-width: 991.98px){
  .phase-track,
  .phase-track-3{ grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
  .phase-track::before{ display: none; }
}
@media (max-width: 575.98px){
  .phase-track,
  .phase-track-3{ grid-template-columns: 1fr; }
  .phase-footnote{ flex-direction: column; gap: .6rem; text-align: center; }
  .phase-dot{ display: none; }
}

/* ---------- Contact page: channel cards + direct-detail tiles ------------ */
.contact-channel{
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2rem 1.85rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-channel:hover{ transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #000; }
.contact-channel.featured{
  border-color: var(--accent);
  background: linear-gradient(180deg, #FBFFE8 0%, #fff 55%);
  box-shadow: var(--shadow-md);
}
.channel-flag{
  position: absolute; top: -13px; left: 1.85rem;
  background: var(--navy); color: var(--accent);
  font-size: .63rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .32rem .8rem; border-radius: 99px; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
.channel-icon{
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--accent); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.15rem;
}
.channel-icon.whatsapp{ background: #25D366; color: #fff; }
.contact-channel h4{ font-size: 1.2rem; margin-bottom: .6rem; }
.contact-channel > p{ font-size: .9rem; color: rgba(16,16,19,.62); line-height: 1.65; margin-bottom: 1.15rem; }
.channel-list{ list-style: none; padding: 0; margin: 0 0 1.5rem; }
.channel-list li{
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .86rem; font-weight: 500; color: rgba(16,16,19,.78);
  margin-bottom: .6rem;
}
.channel-list li:last-child{ margin-bottom: 0; }
.channel-list i{ color: var(--primary); flex: none; margin-top: .15rem; }

.contact-tile{
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: .3rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.6rem 1rem;
  height: 100%;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.contact-tile:hover{ transform: translateY(-4px); border-color: #000; box-shadow: var(--shadow-hover); }
.tile-icon{
  width: 44px; height: 44px; border-radius: 50%;
  background: #F1F5EE; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: .5rem;
  transition: background-color .18s ease;
}
.contact-tile:hover .tile-icon{ background: var(--accent); }
.tile-label{ font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(16,16,19,.45); }
.tile-value{ font-size: .9rem; font-weight: 600; color: var(--ink); word-break: break-word; }

/* ---------- Services page: darker, larger subtext -----------------------
   .hero-sub/.section-sub are shared site-wide at a fairly faint opacity;
   scoped here rather than changed globally so only this page gets bumped. */
.services-page .hero-sub{ color: rgba(16,16,19,.78); font-size: 1.08rem; }
.services-page .section-sub{ color: rgba(16,16,19,.72); }
/* ...but NOT inside a dark panel. The rule above ties with
   `.dark-panel .section-sub` on specificity and wins only because it loads
   later, which turned the "How it happens" copy dark-on-dark. Re-assert the
   light colour with a higher-specificity selector. */
.services-page .dark-panel .section-sub{ color: rgba(255,255,255,.65); }

/* ---------- Stats strip (overlaps the hero) ------------------------------ */
/* Hero product banner — the case study's own dashboard screenshot, tucked
   under the hero exactly where the stats strip used to sit (same -4rem
   overlap), so the first thing below the headline is the actual software
   rather than four abstract numbers. */
.case-banner{
  position: relative;
  z-index: 3;
  margin-top: -4rem;
  margin-bottom: 1rem;
  border-radius: 20px;
  border: 1.5px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform-origin: center top;
}
.case-banner img{
  width: 100%;
  display: block;
  /* Matches the 1800x900 source screenshots. */
  aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: top;
}
@media (max-width: 767.98px){
  .case-banner{ margin-top: -2rem; border-radius: 14px; }
}

.stats-strip{
  background: var(--navy);
  border-radius: 24px;
  padding: 2.75rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 3;
  margin-top: -4rem;
  margin-bottom: 1rem;
  transform-origin: center top;
}
.stats-strip .stat-num{
  font-family: var(--heading-font);
  font-size: 2.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stats-strip .stat-num.accent{ color: var(--accent); }
.stats-strip .stat-label{ color: rgba(255,255,255,.62); font-size: .85rem; margin-top: .55rem; }

/* ---------- Homepage-only stats strip (index.php) ------------------------
   Adds an icon per stat and a vertical divider between columns on desktop.
   Scoped to .home-stats-strip so industry.php's own stats-strip is untouched. */
.home-stats-strip .stat-num{
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  line-height: 1.15;
}
.home-stats-strip .stat-icon{
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.07); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; margin: 0 auto .7rem;
}
@media (min-width: 992px){
  .home-stats-strip .col-lg-3{ position: relative; }
  .home-stats-strip .col-lg-3:not(:last-child)::after{
    content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    height: 56%; width: 1px; background: rgba(255,255,255,.12);
  }
}

/* ---------- Trust strip -------------------------------------------------- */
.trust-categories{ display:flex; flex-wrap:wrap; justify-content:center; gap:.7rem; }
.trust-categories span{
  border: 1px solid var(--border-soft);
  border-radius: 50px;
  padding: .5rem 1.25rem;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(16,16,19,.62);
  background: #fff;
  transition: border-color .18s ease, color .18s ease;
}
.trust-categories span:hover{ border-color: var(--primary); color: var(--primary); }

/* ---------- "Is this you?" pick cards ------------------------------------ */
.pick-card{
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  background: #fff;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.pick-card:hover{ box-shadow: var(--shadow-hover); border-color:#000; transform: translateY(-3px); }
.pick-card.active{ background: var(--navy); border-color: var(--navy); }
.pick-card .pick-icon{
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent); color: var(--primary);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.15rem; flex: none;
}
.pick-card.active .pick-icon{ background: var(--accent); color: var(--primary); }
.pick-card .pick-num{ font-size:.75rem; font-weight:700; color: rgba(16,16,19,.35); }
.pick-card.active .pick-num{ color: rgba(255,255,255,.45); }
.pick-card h5{ margin:.95rem 0 .35rem; font-weight:700; font-size:1.05rem; color: var(--ink); }
.pick-card.active h5{ color:#fff; }
.pick-card p{ font-size:.88rem; color: rgba(16,16,19,.55); margin:0; }
.pick-card.active p{ color: rgba(255,255,255,.62); }

/* ---------- Breakdown cards ---------------------------------------------- */
.breakdown-card{
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  background: #fff;
}
.breakdown-list{ list-style:none; padding:0; margin:0; }
.breakdown-list li{ display:flex; align-items:flex-start; gap:.75rem; margin-bottom:1.1rem; font-size:.92rem; }
.breakdown-list li:last-child{ margin-bottom:0; }
.breakdown-list .ic{
  flex:0 0 22px; width:22px; height:22px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:.7rem; margin-top:.15rem;
}
.breakdown-list.bad .ic{ background:#FFE4E4; color:#C81E1E; }
.breakdown-list.good .ic{ background: var(--accent); color: var(--primary); }
.breakdown-list strong{ display:block; }
.breakdown-list span.desc{ color: rgba(16,16,19,.55); }
/* The homepage nests .breakdown-card (white) inside .dark-panel, which sets
   color:#fff on everything under it. .desc already overrides itself above;
   the bold lead-in line didn't, so it rendered white-on-white and invisible
   — which is also what made the icon look out of line with the text next
   to it (only the second, lower line was ever visible). */
.dark-panel .breakdown-card strong{ color: var(--ink); }

/* ---------- Homepage: "why custom" VS divider ---------------------------- */
.difference-row{ position: relative; }
@media (min-width: 992px){
  .vs-divider{
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--navy); border: 3px solid var(--navy);
    outline: 3px solid rgba(255,255,255,.1);
    color: var(--accent); font-weight: 800; font-size: .78rem; letter-spacing: .03em;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px -4px rgba(0,0,0,.5);
    z-index: 2;
  }
}
/* Mobile: the divider has no col-* class, so as the row's first flex child it
   was rendering above both cards instead of between them. Reorder it via
   flex `order` so it sits between the stacked cards without touching markup. */
@media (max-width: 991.98px){
  .difference-row > .col-lg-6:first-of-type{ order: 1; }
  .difference-row > .vs-divider{ order: 2; }
  .difference-row > .col-lg-6:last-of-type{ order: 3; }
  .vs-divider{
    position: static;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--navy); border: 3px solid var(--navy);
    outline: 3px solid rgba(255,255,255,.1);
    color: var(--accent); font-weight: 800; font-size: .74rem; letter-spacing: .03em;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px -4px rgba(0,0,0,.5);
    margin: -0.35rem auto;
    z-index: 2;
  }
}
.stat-banner{
  background: linear-gradient(135deg, #FBFFE8 0%, #F4FFD1 100%);
  border: 1px solid #E4F5A8;
  border-radius: 12px;
  padding: 1.05rem 1.25rem;
  display:flex; align-items:center; gap:1rem;
  margin-top: 1.5rem; font-size:.88rem; color: rgba(16,16,19,.72);
}
.stat-banner .big{ font-family: var(--heading-font); font-size:1.7rem; font-weight:700; color: var(--primary); }

/* ---------- Hidden-cost bars --------------------------------------------- */
.cost-card{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 2.25rem;
}
.cost-row{
  display:flex; align-items:center; gap:2rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cost-row:last-of-type{ border-bottom:none; }
.cost-label{ flex: 0 0 250px; }
.cost-label .val{ font-family: var(--heading-font); font-size:1.35rem; font-weight:700; color:#fff; }
.cost-label .val small{ font-size:.8rem; font-weight:500; color: rgba(255,255,255,.5); }
.cost-label .desc{ font-size:.82rem; color: rgba(255,255,255,.55); }
.cost-bar-track{ flex:1; height:9px; background: rgba(255,255,255,.1); border-radius:99px; overflow:hidden; }
.cost-bar-fill{
  height:100%; border-radius:99px; width:0%;
  background: linear-gradient(90deg, var(--accent) 0%, #B7E63A 100%);
  transition: width 1.2s cubic-bezier(.16,.84,.44,1);
}
.cost-footnote{ display:flex; align-items:center; gap:.6rem; margin-top:1.5rem; font-size:.85rem; color: rgba(255,255,255,.78); }
.cost-footnote .ic{
  width:22px; height:22px; border-radius:50%; background: var(--accent); color: var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:.7rem; flex: none;
}
@media (max-width: 767.98px){
  .cost-row{ flex-direction:column; align-items:flex-start; gap:.6rem; }
  .cost-label{ flex-basis:auto; }
}

/* ---------- Flow strip --------------------------------------------------- */
.flow-strip{ display:flex; flex-wrap: wrap; gap:.75rem; }
.flow-step{
  flex:1; min-width:150px;
  border: 1px solid var(--border-soft);
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  display:flex; align-items:center; gap:.75rem;
  transition: border-color .18s ease, transform .18s ease;
}
.flow-step:hover{ border-color: var(--primary); transform: translateY(-2px); }
.flow-step .n{
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  background: #F1F1EE; color: rgba(16,16,19,.5);
  display:flex; align-items:center; justify-content:center;
  font-size:.75rem; font-weight:700;
}
.flow-step span:not(.n){ font-size:.88rem; font-weight:600; color: var(--ink); }
.flow-step.done{ background: var(--navy); border-color: var(--navy); }
.flow-step.done span:not(.n){ color:#fff; }
.flow-step.done .n{ background: var(--accent); color: var(--primary); }

/* ---------- Hub diagram -------------------------------------------------- */
.hub-wrap{ position:relative; max-width:640px; height:460px; margin: 3rem auto 0; transform-origin: center; }
.hub-center{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:122px; height:122px; border-radius:50%;
  background: var(--navy); color:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-size:.75rem; font-weight:700; text-align:center; z-index:3;
  box-shadow: var(--shadow-md);
}
.hub-center i{ font-size:1.3rem; margin-bottom:.3rem; color: var(--accent); }
.hub-node{
  position:absolute; transform:translate(-50%,-50%);
  background:#fff; border:1px solid var(--border-soft); border-radius:99px;
  padding:.5rem 1.1rem; font-size:.8rem; font-weight:700; color: var(--ink);
  box-shadow: 0 8px 18px -8px rgba(15,23,42,.15);
  white-space:nowrap; z-index:2;
}
.hub-node.accent{ color: var(--primary); background: var(--accent); border-color: var(--accent); }
.hub-line{
  position:absolute; top:50%; left:50%; height:1px;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 4px, transparent 4px 8px);
  transform-origin:0 0; z-index:1;
}
@media (max-width: 575.98px){ .hub-wrap{ height:420px; } }

/* ---------- Difference cards --------------------------------------------- */
.diff-card{ border-radius: 20px; padding: 2rem; height: 100%; }
.diff-card.sub{ background:#fff; border:1px solid var(--border-soft); }
.diff-card.custom{ background: var(--navy); color:#fff; }
.diff-title{
  font-family: var(--heading-font); font-weight:700; font-size:1.1rem;
  display:flex; align-items:center; justify-content:space-between; gap:.75rem;
  margin-bottom:1.5rem; padding-bottom:1rem; border-bottom:1px solid var(--border-soft);
}
.diff-card.custom .diff-title{ border-bottom-color: rgba(255,255,255,.15); }
.badge-yours{
  background: var(--accent); color: var(--primary); font-size:.65rem; font-weight:700;
  padding:.28rem .65rem; border-radius:99px; letter-spacing:.06em; white-space:nowrap;
}
.diff-list{ list-style:none; padding:0; margin:0; }
.diff-list li{ display:flex; gap:.65rem; margin-bottom:1.15rem; font-size:.9rem; }
.diff-list li:last-child{ margin-bottom:0; }
.diff-list strong{ display:block; }
.diff-list .desc{ color: rgba(16,16,19,.55); font-size:.85rem; }
.diff-card.custom .diff-list .desc{ color: rgba(255,255,255,.6); }
.diff-list .ic{ flex:0 0 18px; margin-top:.2rem; }
.diff-card.sub .ic{ color:#DC2626; }
.diff-card.custom .ic{ color: var(--accent); }

/* ---------- Feature cards ------------------------------------------------ */
.feat-card{
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: #fff;
  padding: 1.5rem;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feat-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color:#000; }
.feat-icon{
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--accent); color: var(--primary);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.1rem; margin-bottom: 1rem;
}
.feat-card h6{ font-weight:700; font-size:.95rem; margin-bottom:.35rem; }
.feat-card p{ font-size:.82rem; color: rgba(16,16,19,.55); margin:0; }

/* Featured/core-expertise variant — lifts the card and adds a badge so it
   reads as the standout choice in a grid of otherwise-equal cards (the
   same "middle plan" trick pricing tables use to draw the eye). */
.feat-card.featured{
  position: relative;
  border-color: var(--accent);
  background: linear-gradient(180deg, #FBFFE8 0%, #fff 60%);
  box-shadow: var(--shadow-md);
}
.feat-card.featured:hover{ box-shadow: var(--shadow-hover); }
.feat-card.featured .feat-icon{ background: var(--navy); color: var(--accent); }
.feat-card.featured .feat-badge{
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--navy); color: var(--accent);
  font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 99px; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}
@media (min-width: 768px){
  .feat-card.featured{ transform: translateY(-8px); }
  .feat-card.featured:hover{ transform: translateY(-12px); }
}

/* ---------- Process strip ------------------------------------------------ */
.process-strip{
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  background:#fff;
}
.process-steps{ display:flex; align-items:center; gap:.6rem; font-size:.85rem; font-weight:700; color: rgba(16,16,19,.4); flex-wrap:wrap; }
.process-steps .step.active{ color: var(--primary); }
.process-steps i{ color: rgba(16,16,19,.25); font-size:.75rem; }
.process-strip .right-note{ color: rgba(16,16,19,.55); font-size:.85rem; }

/* ---------- Team section ------------------------------------------------- */
.founder-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  display:flex; gap:1.5rem; align-items:center;
}
.founder-avatar{
  width: 72px; height: 72px; border-radius: 50%; flex: none;
  border: 1.5px dashed rgba(255,255,255,.25);
  background: rgba(255,255,255,.03); color: rgba(255,255,255,.4);
  display:flex; align-items:center; justify-content:center;
  font-size: 1.4rem; overflow: hidden;
}
.founder-avatar img{ width:100%; height:100%; object-fit:cover; border-radius:50%; }
.founder-card h5{ color:#fff; font-weight:700; margin-bottom:.15rem; font-size: 1.1rem; }
.founder-card .role{ color: var(--accent); font-size:.8rem; font-weight:600; margin-bottom:.5rem; display:block; }
.founder-card p{ color: rgba(255,255,255,.65); font-size:.9rem; margin:0; }

.team-role-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  height: 100%;
  display:flex; align-items:center; gap:1rem;
}
.team-role-card .role-icon{
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  background: var(--accent); color: var(--primary);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
}
.team-role-card h5{ color:#fff; font-weight:700; margin-bottom:.2rem; font-size:.95rem; }
.team-role-card p{ color: rgba(255,255,255,.6); font-size:.82rem; margin:0; line-height:1.4; }

.task-flow-strip{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top: 2rem; }
.task-flow-strip .tf-step{
  flex:1; min-width: 130px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: .9rem 1rem;
  font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85);
}
.task-flow-strip .tf-step .n{ color: var(--accent); font-size:.7rem; display:block; margin-bottom:.25rem; }
.task-flow-strip i{ display:flex; align-items:center; color: rgba(255,255,255,.25); }

/* ---------- Proof -------------------------------------------------------- */
.case-card{
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 2rem;
  background: #fff;
  box-shadow: var(--shadow-md);
}
@media (max-width: 767.98px){
  .case-card{ padding: 1.15rem; border-radius: 16px; }
}
.badge-featured{
  background: var(--accent); color: var(--primary); font-size:.68rem; font-weight:700;
  padding:.32rem .7rem; border-radius:99px; letter-spacing:.05em;
}
.case-card .meta{ color: rgba(16,16,19,.5); font-size:.82rem; }
.case-card h4{ font-family: var(--heading-font); font-weight:700; font-size:1.4rem; margin: 1rem 0 1.4rem; }
@media (max-width: 767.98px){ .case-card h4{ font-size: 1.2rem; margin: .85rem 0 1.1rem; } }
.case-card h4 .red{ color:#DC2626; }
.case-card h4 .accent{ background: var(--accent); padding: 0 .3rem; border-radius: 4px; }

/* Problem -> Solution -> Result, as three steps of ONE story read left to
   right under the screenshots. This replaces the old stacked callout boxes in
   a narrow left column, which asked a prospect to read three full paragraphs
   of prose before reaching any proof, and left a tall empty gutter beside the
   taller image column. Each step now leads with a short bold line that can be
   taken in at a glance; the full sentence sits under it, quieter, for anyone
   who wants the detail. */
.case-head{ max-width: 62ch; }
.case-journey{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:1.5rem;
  margin-top:1.9rem;
}
.case-step{
  position:relative;
  background:#fff;
  border:1.5px solid rgba(16,16,19,.12);
  border-top-width:3px;
  border-radius:14px;
  padding:1.15rem 1.15rem 1.25rem;
}
/* Connector arrow sitting in the grid gap, so the three cards read as a
   sequence rather than three unrelated boxes. */
.case-step:not(:last-child)::after{
  content:"\2192";
  position:absolute; top:50%; right:-1.5rem;
  width:1.5rem; text-align:center; transform:translateY(-50%);
  color: rgba(16,16,19,.25); font-size:1.05rem; line-height:1;
}
.case-step-tag{
  display:inline-flex; align-items:center; gap:.4rem;
  font-size:.67rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:.32rem .62rem; border-radius:99px; margin-bottom:.75rem;
}
.case-step-tag i{ font-size:.8rem; }
.case-step-lead{
  font-family: var(--heading-font); font-weight:700;
  font-size:1.02rem; line-height:1.35; color: var(--ink); margin:0 0 .45rem;
}
.case-step-lead:empty{ display:none; }          /* industries without a lead yet */
.case-step-desc{
  font-size:.83rem; line-height:1.6; color: rgba(16,16,19,.6); margin:0;
}
.case-step.problem{ border-top-color:#DC2626; }
.case-step.problem .case-step-tag{ background: rgba(220,38,38,.09); color:#DC2626; }
.case-step.solution{ border-top-color: var(--primary); }
.case-step.solution .case-step-tag{ background: rgba(22,64,75,.09); color: var(--primary); }
/* The result is the payoff, so it gets a faint tint the other two don't. */
.case-step.result{ border-top-color:#0a7a4a; background: rgba(10,122,74,.045); }
.case-step.result .case-step-tag{ background: rgba(10,122,74,.12); color:#0a7a4a; }
@media (max-width: 991.98px){
  .case-journey{ grid-template-columns: 1fr; gap:.85rem; margin-top:1.4rem; }
  .case-step:not(:last-child)::after{ display:none; }
  .case-step{ padding:1rem 1rem 1.1rem; }
  .case-step-lead{ font-size:.97rem; }
}

/* Outcome numbers — a full-width 3-up band under the story + gallery. These
   are the payoff of the whole page, so they get their own row rather than
   being squeezed into the narrower text column. */
.case-stats{
  display:grid; grid-template-columns: repeat(3, 1fr); gap:.85rem; margin-top:1.75rem;
}
.case-stat{
  position:relative; overflow:hidden;
  background:#fff; border:1.5px solid var(--ink); border-radius:12px;
  box-shadow: var(--shadow-sm);
  padding:1rem 1rem 1rem 1.2rem;
}
.case-stat::before{
  content:""; position:absolute; left:0; top:0; bottom:0; width:5px;
  background: var(--primary);
}
.case-stat .big{
  font-family: var(--heading-font); font-weight:700; font-size:1.65rem;
  line-height:1.1; display:block; color: var(--primary);
}
.case-stat .lbl{ font-size:.78rem; color: rgba(16,16,19,.55); display:block; margin-top:.2rem; }
/* The standout number gets the full vibrant treatment (navy fill + lime),
   the same way .flow-step.done marks the payoff card in the flow strip. */
.case-stat.green{ background: var(--navy); border-color: var(--navy); }
.case-stat.green::before{ background: var(--accent); }
.case-stat.green .big{ color: var(--accent); }
.case-stat.green .lbl{ color: rgba(255,255,255,.7); }
@media (max-width: 767.98px){
  .case-stats{ gap:.5rem; margin-top:1.25rem; }
  .case-stat{ padding:.7rem .6rem .7rem .8rem; border-radius:10px; }
  .case-stat::before{ width:4px; }
  .case-stat .big{ font-size:1.15rem; }
  .case-stat .lbl{ font-size:.68rem; line-height:1.25; }
}

/* Booking CTA directly under the proof — this is the highest-intent moment
   on the page, so the ask sits right where the evidence lands. */
.case-cta{
  margin-top:1.25rem;
  background: var(--navy);
  border-radius:16px;
  padding:1.5rem 1.85rem;
  display:flex; align-items:center; justify-content:space-between;
  gap:1.25rem; flex-wrap:wrap;
}
.case-cta h5{
  font-family: var(--heading-font); font-weight:700; color:#fff;
  font-size:1.2rem; margin:0 0 .3rem;
}
.case-cta p{ color: rgba(255,255,255,.65); font-size:.9rem; margin:0; }
.case-cta .case-cta-btn{ flex:none; white-space:nowrap; }
@media (max-width: 767.98px){
  .case-cta{ padding:1.25rem; text-align:center; justify-content:center; }
  .case-cta h5{ font-size:1.05rem; }
  .case-cta .case-cta-btn{ width:100%; }
}

.mini-case{
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.25rem;
  height: 100%;
  background: #fff;
}
.mini-case .tag{ font-size:.7rem; font-weight:700; letter-spacing:.04em; color: rgba(16,16,19,.45); text-transform:uppercase; }
.mini-case p{ font-size:.92rem; color: var(--ink); margin:.5rem 0 0; font-weight:600; }

/* ---------- Image placeholder slots (drop real photos in later) ---------- */
.case-image{
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  min-height: 260px;
  background: #F8F8F6;
}
.case-image img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ---------- Proof gallery: one big screenshot + clickable module thumbs -- */
.case-gallery{ display:flex; flex-direction:column; gap:.85rem; }
.case-gallery-main{
  position: relative;
  border: 1.5px solid #000;
  border-radius: 14px;
  overflow: hidden;
  background: #F8F8F6;
  box-shadow: var(--shadow-md);
  /* Matches the 900x450 source screenshots, so each screen renders in full
     instead of being cropped — the whole point is that a prospect can read
     the module and recognise it. */
  aspect-ratio: 2 / 1;
}
.case-gallery-main img{ width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.case-gallery-hint{
  font-size:.76rem; color: rgba(16,16,19,.45); margin:.1rem 0 0; text-align:center;
}
.case-gallery-hint i{ margin-right:.3rem; }
.case-gallery-expand{
  position: absolute; top: .6rem; right: .6rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(13,38,45,.78); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease, background .2s ease;
  cursor: pointer; font-size: .9rem;
}
.case-gallery-main:hover .case-gallery-expand,
.case-gallery-expand:focus-visible{ opacity: 1; }
.case-gallery-expand:hover{ background: var(--primary); }
@media (hover: none){ .case-gallery-expand{ opacity: 1; } } /* always visible on touch devices */
/* Six across on desktop: the gallery is full card width now, so all six
   modules sit on one row and a prospect can see the whole system at once
   instead of scanning a 3x2 block. */
.case-gallery-thumbs{ display:grid; grid-template-columns: repeat(6, 1fr); gap:.7rem; }
@media (max-width: 1199.98px){ .case-gallery-thumbs{ grid-template-columns: repeat(3, 1fr); } }
.case-thumb{
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.case-thumb img{ width:100%; height:82px; object-fit:cover; object-position:top; display:block; }
.case-thumb span{
  display:block; font-size:.76rem; font-weight:700; padding:.5rem .6rem;
  color: rgba(16,16,19,.65); line-height:1.25;
  border-top: 1px solid var(--border-soft);
}
.case-thumb:hover{ transform: translateY(-2px); border-color: rgba(16,16,19,.4); }
/* Selected module — same vibrant treatment as .flow-step.done (navy fill,
   lime accent, white label) so "highlighted" reads the same way everywhere
   on the page instead of being a faint tinted outline. */
.case-thumb.active{
  border-color: var(--navy);
  box-shadow: 0 0 0 2px var(--navy);
  transform: translateY(-2px);
}
.case-thumb.active span{
  background: var(--navy);
  color: #fff;
  border-top-color: var(--navy);
}
.case-thumb.active span::before{
  content:""; display:inline-block; vertical-align:middle;
  width:7px; height:7px; border-radius:50%;
  background: var(--accent); margin-right:.4rem;
}
/* Two-up below sm: at three columns on a 375px screen each label was ~100px
   wide and longer module names ("Communication & Activity") were clipped. */
@media (max-width: 575.98px){
  .case-gallery-thumbs{ grid-template-columns: repeat(2, 1fr); gap:.6rem; }
  .case-thumb img{ height: 88px; }
  .case-thumb span{ font-size:.78rem; padding:.5rem .55rem; }
}

.img-slot{
  border: 1.5px dashed var(--border-soft);
  border-radius: 14px;
  background: #F8F8F6;
  display: flex; flex-direction: column; align-items:center; justify-content:center;
  gap: .4rem;
  color: rgba(16,16,19,.4);
  font-size: .78rem;
  text-align: center;
  padding: 1rem;
}
.img-slot i{ font-size: 1.3rem; }
.img-slot.tall{ min-height: 260px; }
.img-slot.thumb{ min-height: 96px; margin-bottom: .9rem; }
.avatar-slot{
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1.5px dashed var(--border-soft);
  background: #F8F8F6; color: rgba(16,16,19,.35);
  display:flex; align-items:center; justify-content:center; font-size: .9rem;
}

/* ---------- FAQ ----------------------------------------------------------
   No page-specific overrides here on purpose — the FAQ accordion (.accordion-
   item/.accordion-button in style.css) should look identical everywhere it
   appears: industry pages, services, contact. */

/* ---------- Closing callout ("If one of those is your week…") -----------
   This is the hinge of the page — the moment the reader self-identifies.
   It was plain text and got skimmed past, so it's now a real banner.
   ----------------------------------------------------------------------- */
.closing-callout{
  margin-top: 2.75rem;
  border-radius: 18px;
  padding: 1.6rem 2rem;
  background: linear-gradient(120deg, #FBFFE8 0%, #F1FFC0 55%, #E8FFA8 100%);
  border: 1px solid #DCF08A;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.closing-callout .cc-icon{
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.closing-callout .closing-line{
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--ink);
  flex: 1 1 320px;
  text-align: left;
}
.closing-callout .cc-cta{
  flex: none;
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--primary); color: #fff;
  font-family: var(--ui-font); font-weight: 700; font-size: .9rem;
  padding: .8rem 1.4rem; border-radius: 50px;
  transition: background-color .18s ease, transform .18s ease;
}
.closing-callout .cc-cta:hover{ background: var(--ink); color: #fff; transform: translateY(-2px); }
@media (max-width: 767.98px){
  .closing-callout{ padding: 1.35rem 1.25rem; gap: .9rem; }
  .closing-callout .closing-line{ font-size: 1.06rem; text-align: center; flex-basis: 100%; }
  .closing-callout .cc-cta{ width: 100%; justify-content: center; }
}

/* ---------- Disclosure note, inside the case card ----------------------- */
.case-note{
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-soft);
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(16,16,19,.45);
}
.case-note i{ font-size: .9rem; margin-top: .05rem; flex: none; }

/* ---------- Client reviews ---------------------------------------------- */
.reviews-head{ text-align:center; margin: 4rem 0 2rem; }
.reviews-head h3{
  font-family: var(--heading-font); font-weight: 700;
  font-size: 1.6rem; margin: 1rem 0 .5rem;
}
.reviews-head .section-sub{ font-size: .95rem; margin: 0 auto; max-width: 520px; }

.review-card{
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.review-card:hover{ box-shadow: var(--shadow-hover); border-color:#000; transform: translateY(-3px); }
.review-stars{ color:#FFB800; font-size:.85rem; letter-spacing:.08em; margin-bottom:.75rem; }
.review-quote{
  font-size: .93rem;
  line-height: 1.6;
  color: rgba(16,16,19,.82);
  margin: 0 0 1.15rem;
  flex: 1;
}
.review-foot{
  display: flex; align-items: center; gap: .7rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.review-avatar{
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--heading-font); font-weight: 700; font-size: .95rem;
  text-transform: uppercase;
}
.review-name{ font-weight: 700; font-size: .85rem; color: var(--ink); line-height: 1.2; }
.review-source{
  font-size: .72rem; color: rgba(16,16,19,.45);
  display: inline-flex; align-items: center; gap: .3rem; margin-top: .15rem;
}
.review-source i{ color: #1DBF73; font-size: .8rem; }

/* ---------- Product tabs (homepage "what we actually build") ------------- */
.product-tab{
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--border-soft);
  background: #fff; color: rgba(16,16,19,.6);
  border-radius: 50px; padding: .6rem 1.15rem;
  font-family: var(--ui-font); font-weight: 600; font-size: .88rem;
  transition: all .18s ease; cursor: pointer;
}
.product-tab i{ font-size: 1rem; }
.product-tab:hover{ border-color:#000; color: var(--ink); }
.product-tab.active{ background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.product-preview{
  border: 1.5px solid #000; border-radius: 24px; background: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.product-preview-desc{ padding: 2rem 2rem 0; text-align: center; }
.product-preview-desc h4{ font-family: var(--heading-font); font-weight: 700; font-size: 1.3rem; margin-bottom: .5rem; }
.product-preview-desc p{ color: rgba(16,16,19,.6); max-width: 560px; margin: 0 auto; }
.product-preview-img-wrap{ padding: 2rem; }
.product-preview-img-wrap img{ width: 100%; border-radius: 14px; border: 1px solid var(--border-soft); display: block; }

/* ---------- Video testimonials -------------------------------------------- */
.video-testimonial-card{
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  border: 1.5px solid #000; box-shadow: var(--shadow-md); background: #000;
  aspect-ratio: 4/5; cursor: pointer;
}
.video-testimonial-card img{ width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.video-testimonial-card:hover img{ transform: scale(1.05); }
.video-testimonial-card iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-testimonial-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,38,45,.88) 0%, rgba(13,38,45,.1) 45%, transparent 70%);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem;
}
.video-testimonial-title{ color:#fff; font-weight:700; font-size:.95rem; }
.video-testimonial-sub{ color: rgba(255,255,255,.7); font-size: .78rem; }
.video-play-btn{
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center; align-self: center; margin: auto;
  color: var(--primary); font-size: 1.4rem; transition: transform .18s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.video-testimonial-card:hover .video-play-btn{ transform: scale(1.1); }

/* ---------- Logo strip (homepage-only auto-scrolling marquee) ------------ */
.logo-marquee{
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-marquee-track{
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: logoMarquee 34s linear infinite;
}
.logo-marquee:hover .logo-marquee-track{ animation-play-state: paused; }
@keyframes logoMarquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .logo-marquee-track{ animation: none; }
}
.trusted-logo{
  border: 1px solid var(--border-soft); border-radius: 12px; background:#fff;
  height: 76px; width: 168px; flex: none;
  display:flex; align-items:center; justify-content:center; padding: .75rem 1.25rem;
  filter: grayscale(1) opacity(.6); transition: filter .18s ease, border-color .18s ease;
}
.trusted-logo:hover{ filter: grayscale(0) opacity(1); border-color:#000; }
.trusted-logo img{ max-height: 32px; max-width: 100%; object-fit: contain; }

/* ---------- Testimonials (shared, includes/testimonials.php) ------------
   Videos: exactly 3, shown as a plain row — nothing to scroll through.
   Reviews: a native horizontally-scrolling strip (draggable, snaps on
   release, nudged by the arrow buttons, auto-advanced by JS) that loops
   truly seamlessly — see initInfiniteScroller in js/script.js. Using real
   overflow-x scroll here (rather than a pure CSS marquee) is what lets a
   visitor actually grab and drag real review text, not just watch it float
   by. */
.testi-video-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 767.98px){
  .testi-video-grid{ grid-template-columns: 1fr; }
}
@media (min-width: 768px) and (max-width: 991.98px){
  .testi-video-grid{ grid-template-columns: repeat(2, 1fr); }
}

.testi-scroller-wrap{
  position: relative;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.testi-scroller{
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: .35rem .1rem 1rem;
  cursor: grab;
}
.testi-scroller:active{ cursor: grabbing; }
.testi-scroller::-webkit-scrollbar{ display: none; }
.testi-scroller > *{ scroll-snap-align: start; flex: none; }

.testi-scroller .review-card{ width: 340px; height: auto; }

.testi-arrow{
  flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--primary); background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.testi-arrow:hover{ background: var(--primary); border-color: var(--primary); color: #fff; transform: scale(1.06); }
.testi-arrow:active{ transform: scale(.96); }

.trusted-heading{
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  color: var(--ink);
  margin: 0;
}

@media (max-width: 767.98px){
  .testi-scroller .review-card{ width: 82vw; max-width: 340px; }
  .testi-arrow{ width: 36px; height: 36px; font-size: .85rem; }
  .testi-scroller-wrap{ gap: .5rem; }
}
