/* =========================================================
   3D Flat Finder — shared subpage styles
   Brand: Montserrat · green #00555A · orange #F4A66C · grey #F7F7F7
   ========================================================= */

:root {
  --brand-orange: #F4A66C;
  --brand-orange-d: #e8925a;
  --brand-green: #00555A;
  --brand-green-d: #003f43;
  --brand-green-l: #0a6a70;
  --brand-grey: #F7F7F7;
  --ink: #10343a;
  --muted: #5c7276;
  --line: rgba(0, 85, 90, 0.14);
  --shadow: 0 18px 50px rgba(0, 60, 65, 0.10);
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap { width: 90%; max-width: var(--maxw); margin: 0 auto; }

/* ---------- Header ---------- */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
#site-header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 40px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--maxw);
  gap: 20px;
}
.header-logo { height: 26px; }
.logo-dark { display: none; }
#site-header.scrolled .logo-light { display: none; }
#site-header.scrolled .logo-dark { display: block; }

.header-nav { display: flex; align-items: center; gap: 26px; }
.header-nav a.nav-link {
  text-decoration: none;
  color: #fff;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .25s;
  white-space: nowrap;
}
#site-header.scrolled .header-nav a.nav-link { color: var(--brand-green); }
.header-nav a.nav-link:hover { color: var(--brand-orange); }

/* active page — underline in the link's own colour, so it shows on green AND orange heroes */
.header-nav a.nav-link.current { position: relative; font-weight: 600; }
.header-nav a.nav-link.current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; border-radius: 2px; background: currentColor;
}

.btn-demo {
  display: inline-block;
  background: var(--brand-orange);
  color: #fff !important;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: filter .2s, transform .15s;
  white-space: nowrap;
}
.btn-demo:hover { filter: brightness(1.07); transform: translateY(-1px); }

/* mobile toggle */
.menu-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 2px solid rgba(255,255,255,.9);
  color: #fff; background: transparent;
  border-radius: 9px;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer;
}
.menu-toggle .bar { display: block; width: 20px; height: 2px; background: currentColor; }
#site-header.scrolled .menu-toggle { color: var(--brand-green); border-color: var(--brand-green); }

@media (max-width: 900px) {
  #site-header, #site-header.scrolled { padding: 12px 18px; }
  .header-inner { width: 94%; }
  .menu-toggle { display: inline-flex; }
  .header-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 18px 20px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(0,0,0,.15);
    opacity: 0; transform: translateY(-8px);
    pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
  }
  .header-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; visibility: visible; transition: opacity .2s, transform .2s; }
  .header-nav a.nav-link { color: var(--brand-green) !important; padding: 12px 6px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .btn-demo { text-align: center; margin-top: 10px; }
}

/* ---------- Hero ---------- */
.page-hero {
  background: var(--brand-green);
  color: #fff;
  padding: 190px 0 110px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(244,166,108,.28), transparent 68%);
  pointer-events: none;
}
.page-hero.orange { background: var(--brand-orange); }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 20px; font-weight: 600;
}
.page-hero.orange .hero-eyebrow { color: var(--brand-green); }
.page-hero h1 {
  margin: 0 0 20px;
  font-weight: 350;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  letter-spacing: .04em;
  text-transform: uppercase;
  max-width: 20ch;
}
.page-hero p.lead {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  max-width: 62ch;
  color: rgba(255,255,255,.92);
}
.page-hero.orange p.lead, .page-hero.orange h1 { color: var(--brand-green); }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: 34px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: filter .2s, transform .15s, background .2s, color .2s;
}
.btn-primary { background: var(--brand-orange); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; }
.btn-outline { background: transparent; color: var(--brand-green); border-color: var(--brand-green); }
.btn-outline:hover { background: var(--brand-green); color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.grey { background: var(--brand-grey); }
.section.green { background: var(--brand-green); color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .eyebrow {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brand-orange); font-weight: 600;
}
.section-head h2 {
  margin: 14px 0 16px;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: .02em;
}
.section.green .section-head h2 { color: #fff; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; font-weight: 300; }
.section.green .section-head p { color: rgba(255,255,255,.85); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(244,166,108,.5); }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(244,166,108,.16);
  color: var(--brand-green);
  font-size: 22px; margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; letter-spacing: .01em; color: var(--brand-green); }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card.on-green { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.card.on-green h3 { color: #fff; }
.card.on-green p { color: rgba(255,255,255,.82); }
.card.on-green .ico { background: rgba(244,166,108,.22); color: var(--brand-orange); }

/* numbered steps */
.steps { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; gap: 22px; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step .num {
  flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-green); color: #fff;
  font-size: 22px; font-weight: 600;
}
.step h3 { margin: 4px 0 8px; color: var(--brand-green); font-size: 19px; font-weight: 600; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* feature row (icon list) */
.feat-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width:960px){ .feat-list{ grid-template-columns: repeat(2,1fr);} }
@media (max-width:600px){ .feat-list{ grid-template-columns: 1fr;} }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .dot { flex:0 0 auto; width: 40px; height: 40px; border-radius: 11px; background: rgba(0,85,90,.08); display:flex; align-items:center; justify-content:center; color: var(--brand-green); }
.section.green .feat .dot { background: rgba(255,255,255,.12); color: var(--brand-orange); }
.feat h4 { margin: 2px 0 6px; font-size: 16px; font-weight: 600; color: var(--brand-green); }
.section.green .feat h4 { color: #fff; }
.feat p { margin: 0; font-size: 14px; color: var(--muted); }
.section.green .feat p { color: rgba(255,255,255,.8); }

/* split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.narrow { gap: 44px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.split h2 { font-weight: 400; font-size: clamp(24px,3vw,36px); margin: 0 0 18px; letter-spacing: .02em; }
.split p { color: var(--muted); font-size: 16px; }
.section.green .split p { color: rgba(255,255,255,.85); }
.check { list-style: none; padding: 0; margin: 22px 0 0; }
.check li { position: relative; padding: 8px 0 8px 32px; font-size: 15px; }
.check li::before {
  content: "✓"; position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-orange); color: #fff;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}

/* pricing */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
@media (max-width: 900px){ .price-grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px 30px; }
.plan.featured { border: 2px solid var(--brand-orange); box-shadow: var(--shadow); position: relative; }
.plan.featured .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand-orange); color: #fff; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 16px; border-radius: 20px; font-weight: 600; }
.plan h3 { margin: 0 0 6px; color: var(--brand-green); font-size: 22px; font-weight: 600; }
.plan .who { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan .price { font-size: 34px; font-weight: 600; color: var(--brand-green); margin: 14px 0 2px; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan .price-note { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.plan .plan-units {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 20px; padding: 8px 14px; border-radius: 24px;
  background: rgba(244,166,108,.16); border: 1px solid rgba(244,166,108,.45);
  color: var(--brand-green); font-size: 13px; font-weight: 700; letter-spacing: .01em;
}
.plan .plan-units i { color: var(--brand-orange); font-size: 12px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.plan ul li { padding: 9px 0 9px 28px; position: relative; font-size: 14px; border-top: 1px solid var(--line); }
.plan ul li:first-child { border-top: 0; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-orange); font-weight: 700; }
.plan .btn { text-align: center; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 44px 24px 0; position: relative;
  font-family: inherit; font-size: 17px; font-weight: 600; color: var(--brand-green);
}
.faq-q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 26px; font-weight: 300; color: var(--brand-orange); transition: transform .25s;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 0 24px; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { background: var(--brand-orange); color: var(--brand-green); text-align: center; padding: 80px 0; }
.cta-band h2 { font-weight: 400; font-size: clamp(26px,3.4vw,40px); margin: 0 0 14px; letter-spacing: .02em; text-transform: uppercase; }
.cta-band p { margin: 0 auto 30px; max-width: 56ch; font-size: 17px; font-weight: 300; }
.cta-band .btn-primary { background: var(--brand-green); }
.cta-band .btn-primary:hover { background: var(--brand-green-d); }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; text-align: center; }
@media (max-width:640px){ .stats{ grid-template-columns:1fr; } }
.stat .n { font-size: clamp(38px,5vw,58px); font-weight: 600; color: var(--brand-orange); line-height: 1; }
.stat .l { margin-top: 10px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.85); }

/* ---------- Contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fbfcfc;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-orange); box-shadow: 0 0 0 3px rgba(244,166,108,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.consent input { margin-top: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-green); color: #fff; padding: 70px 40px 40px; }
.footer-top { width: 90%; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 300; max-width: 34ch; }
.footer-col h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-orange); margin: 0 0 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.85); text-decoration: none; font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--brand-orange); }
.footer-bottom { width: 90%; max-width: var(--maxw); margin: 46px auto 0; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom .copyright { color: rgba(255,255,255,.6); font-size: 13px; }
.footer-bottom .email { color: var(--brand-orange); text-decoration: none; font-weight: 600; font-size: 14px; }
.footer-bottom .email:hover { text-decoration: underline; }

/* ---------- Rich prose / AI-friendly content blocks ---------- */
.prose { max-width: 74ch; }
.prose.center { margin: 0 auto; text-align: center; }
.prose p { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.section.green .prose p { color: rgba(255,255,255,.85); }
.prose p.lede { font-size: 20px; font-weight: 300; color: var(--ink); line-height: 1.6; }
.section.green .prose p.lede { color: #fff; }
.prose h3 { font-size: 22px; font-weight: 600; color: var(--brand-green); margin: 34px 0 12px; letter-spacing: .01em; }
.section.green .prose h3 { color: #fff; }
.prose strong { color: var(--brand-green); font-weight: 600; }
.section.green .prose strong { color: var(--brand-orange); }

/* definition callout — quotable by AI answer engines */
.define {
  border-left: 4px solid var(--brand-orange);
  background: rgba(244,166,108,.08);
  padding: 22px 26px;
  border-radius: 0 14px 14px 0;
  margin: 0 0 34px;
}
.define p { margin: 0; font-size: 18px; color: var(--ink); font-weight: 300; }
.define p strong { font-weight: 600; }

/* Q&A blocks (GEO/AEO) */
.qa { display: grid; gap: 26px; max-width: 900px; margin: 0 auto; }
.qa-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 32px; }
.section.grey .qa-block { background: #fff; }
.qa-block h3 { margin: 0 0 12px; font-size: 20px; font-weight: 600; color: var(--brand-green); }
.qa-block p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.qa-block p:last-child { margin-bottom: 0; }

/* ---------- Partners ---------- */
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 800px) { .partners-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.partner {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: #fff;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.partner:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(244,166,108,.5); }
.partner .pname { font-size: 22px; font-weight: 700; letter-spacing: .02em; color: var(--brand-green); margin: 0 0 4px; }
.partner .plogo { margin: 0 0 12px; align-self: flex-start; width: auto; max-width: 70%; height: auto; }
.partner .prole { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-orange); font-weight: 600; margin-bottom: 14px; }
.partner p { margin: 0; color: var(--muted); font-size: 15px; }
.partner .pweb {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--brand-green); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color .2s;
}
.partner .pweb:hover { color: var(--brand-orange); }
.partner .pweb i { font-size: 11px; }
.section.green .partner .pweb { color: #fff; border-color: rgba(255,255,255,.18); }
.section.green .partner .pweb:hover { color: var(--brand-orange); }
.section.green .partner { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); }
.section.green .partner .pname { color: #fff; }
.section.green .partner p { color: rgba(255,255,255,.82); }

/* developer / client logo wall — single-row auto-scrolling marquee */
.dev-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.dev-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: dev-scroll 55s linear infinite; /* slow, loops to the right */
}
.dev-marquee:hover .dev-track { animation-play-state: paused; }
.dev-track img {
  height: 47px; width: auto; max-width: 208px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .25s, opacity .25s;
  flex: 0 0 auto;
}
.dev-track img:hover { filter: none; opacity: 1; }
@keyframes dev-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (max-width: 640px) { .dev-track { gap: 44px; } .dev-track img { height: 39px; } }
@media (prefers-reduced-motion: reduce) { .dev-track { animation: none; transform: none; flex-wrap: wrap; justify-content: center; } }

/* compact partner wordmark strip */
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 46px; }
.partner-strip .wm { font-size: 24px; font-weight: 700; letter-spacing: .04em; color: var(--brand-green); opacity: .85; white-space: nowrap; }
.section.green .partner-strip .wm { color: #fff; }

/* ---------- References grid ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .ref-grid { grid-template-columns: 1fr; } }
.ref-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.ref-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--brand-orange); color: #fff;
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  padding: 5px 11px; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.ref-card.sold .rthumb { filter: saturate(.55) brightness(.96); }
.ref-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(244,166,108,.55); }
.ref-card:hover .rthumb { transform: scale(1.04); }
.ref-card .rthumb {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center top;
  display: block; background: #eaf0f0; border-bottom: 1px solid var(--line);
  transition: transform .35s ease;
}
.ref-card .rthumb-empty {
  aspect-ratio: 16 / 10; background: repeating-linear-gradient(135deg, #eef2f2, #eef2f2 10px, #e6ecec 10px, #e6ecec 20px);
}
.ref-card .ref-body { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; flex: 1; }
.ref-card .rname { font-size: 16px; font-weight: 600; color: var(--brand-green); line-height: 1.3; letter-spacing: .01em; }
.ref-card .rlink { margin-top: auto; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-orange); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.ref-card.dead { opacity: .6; }
.ref-card.dead .rlink { color: var(--muted); }

/* ---------- Integrations grid ---------- */
.int-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
@media (max-width: 1040px) { .int-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .int-grid { grid-template-columns: repeat(2, 1fr); } }
.int-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  min-height: 118px; padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.int-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(244,166,108,.5); }
.int-tile i { font-size: 34px; color: var(--brand-green); }
.int-tile .int-name { font-size: 14px; font-weight: 600; color: var(--brand-green); letter-spacing: .01em; text-align: center; }
.int-tile.your-crm { border-style: dashed; border-color: rgba(0,85,90,.35); background: #fbfcfc; }
.int-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.int-note p { margin: 0; color: var(--muted); font-size: 15px; max-width: 62ch; }
.int-note .int-cta { flex: 0 0 auto; }

/* ---------- Testimonial ---------- */
.testimonial { max-width: 900px; margin: 0 auto; text-align: center; }
.testimonial .tq-mark { display: block; color: var(--brand-orange); font-size: 60px; line-height: .6; font-weight: 700; margin-bottom: 10px; }
.testimonial blockquote { margin: 0; font-size: clamp(19px, 2.3vw, 27px); font-weight: 300; line-height: 1.5; color: #fff; letter-spacing: .01em; }
.section.green .testimonial blockquote { color: #fff; }
.testimonial cite { display: block; margin-top: 28px; font-style: normal; }
.testimonial cite .who { color: #fff; font-weight: 600; font-size: 16px; letter-spacing: .02em; }
.testimonial cite .role { color: rgba(255,255,255,.72); font-size: 14px; margin-top: 4px; }
.testimonial-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; text-align: center; max-width: 760px; margin: 56px auto 0; }
@media (max-width: 600px) { .testimonial-stats { grid-template-columns: 1fr; gap: 22px; } }
.testimonial-stats .n { font-size: clamp(30px,4vw,44px); font-weight: 600; color: var(--brand-orange); line-height: 1; }
.testimonial-stats .l { margin-top: 8px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.8); }

/* ---------- Work grid (project showcase — logo overlaid on render, like the homepage) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 24px; }
.work-grid .wi-large { grid-column: span 2; }
.work-item {
  position: relative; overflow: hidden; display: block; cursor: pointer;
  text-decoration: none; color: inherit; border-radius: 14px;
  border: 1px solid var(--line);
}
.work-item .work-bg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.work-item .work-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,85,90,.30); transition: background .3s ease; }
.work-item .work-logo { max-width: 60%; max-height: 54px; filter: brightness(0) invert(1); transition: transform .3s ease; }
.work-item:hover .work-bg { transform: scale(1.05); }
.work-item:hover .work-overlay { background: rgba(0,85,90,.14); }
.work-item:hover .work-logo { transform: scale(1.06); }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; gap: 16px; } .work-grid .wi-large { grid-column: span 2; } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } .work-grid .wi-large { grid-column: span 1; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
