/* ===== Wintech Factory — épuré clair pro ===== */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --ink: #0f1729;
  --ink-soft: #4b5567;
  --muted: #8a93a6;
  --line: #e6eaf2;
  --brand: #0581c4;
  --brand-d: #046aa3;
  --brand-soft: #e6f3fb;
  --grad: linear-gradient(120deg, #0581c4, #06b6d4);
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(15,23,41,.04), 0 12px 32px rgba(15,23,41,.06);
  --shadow-lg: 0 20px 60px rgba(37,99,235,.16);
  --max: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-name { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.15; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem;
  font-weight: 700; color: var(--brand);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--brand-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,99,235,.34); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 22, 41, .88); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; }
.brand-mark { height: 40px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(5,129,196,.5)); }
.site-header .brand-name { color: #fff; }
.site-header .brand-name span { color: #38bdf8; }
.site-footer .brand-mark { filter: drop-shadow(0 0 10px rgba(5,129,196,.55)); }
.brand-name { font-size: 1.12rem; }
.brand-name span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; color: rgba(255,255,255,.78); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-cta {
  background: var(--brand); color: #fff !important; padding: .55rem 1.1rem;
  border-radius: 999px; box-shadow: 0 6px 16px rgba(5,129,196,.4);
}
.nav-cta:hover { background: #38bdf8; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(56px, 9vw, 100px); }
.hero-inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin: 1rem 0 1.2rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-stats {
  list-style: none; display: flex; flex-wrap: nowrap; gap: clamp(1rem, 3vw, 2.4rem);
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Sora'; font-size: 1.7rem; color: var(--ink); }
.hero-stats span { color: var(--muted); font-size: .92rem; }

.hero-glow {
  position: absolute; top: -160px; right: -140px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(6,182,212,.20), rgba(5,129,196,.16) 40%, transparent 70%);
  filter: blur(8px); z-index: 1; pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(5,129,196,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5,129,196,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(circle at 72% 38%, #000 0%, transparent 62%);
          mask-image: radial-gradient(circle at 72% 38%, #000 0%, transparent 62%);
}

/* ===== Hero 3D scene ===== */
.hero-visual { perspective: 1100px; display: grid; place-items: center; min-height: 360px; }
.scene {
  position: relative; width: min(420px, 80%); aspect-ratio: 1/1;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-20deg);
  transition: transform .25s ease-out;
}
.glass-card {
  position: absolute; inset: 12% 8%;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(245,249,255,.85));
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 22px;
  box-shadow:
    0 30px 60px rgba(5,129,196,.22),
    0 10px 24px rgba(15,23,41,.10),
    inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateZ(20px);
  overflow: hidden; backdrop-filter: blur(6px);
}
.glass-top { display: flex; gap: 7px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.glass-top i { width: 10px; height: 10px; border-radius: 50%; background: #d7deea; }
.glass-top i:first-child { background: #ff5f57; }
.glass-top i:nth-child(2) { background: #febc2e; }
.glass-top i:nth-child(3) { background: #28c840; }
.glass-body { padding: 26px 24px; display: grid; gap: 22px; place-items: center; }
.glass-logo { width: 58%; filter: drop-shadow(0 8px 16px rgba(5,129,196,.35)); }
.glass-bars { width: 100%; display: grid; gap: 11px; }
.glass-bars span {
  height: 11px; border-radius: 6px;
  background: linear-gradient(90deg, var(--brand-soft), #d4e9f7);
}
.glass-bars span:first-child { background: var(--grad); opacity: .85; }

.chip {
  position: absolute; padding: .55rem 1rem; border-radius: 12px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: .9rem; color: var(--ink);
  box-shadow: 0 14px 30px rgba(15,23,41,.12);
  white-space: nowrap;
}
.chip::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand); margin-right: .5rem; vertical-align: middle;
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.chip-1 { top: 2%;  left: -8%;  transform: translateZ(60px); color: var(--brand); }
.chip-2 { top: 24%; right: -14%; transform: translateZ(90px); }
.chip-3 { bottom: 18%; left: -14%; transform: translateZ(40px); }
.chip-4 { bottom: 0%; right: -6%; transform: translateZ(75px); }
.chip-1, .chip-3 { animation: floaty 6s ease-in-out infinite; }
.chip-2, .chip-4 { animation: floaty 7.5s ease-in-out infinite reverse; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

/* ===== Sections ===== */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: .7rem 0 .6rem; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }
.section-sub em { color: var(--muted); font-size: .95rem; }

/* ===== Grids ===== */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ===== Cards ===== */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.7rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 52px; height: 52px; border-radius: 13px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.18rem; margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .tag { margin: 1rem 0 0; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .7rem 0 1.1rem; }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.checklist { list-style: none; margin-top: 1.4rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; color: var(--ink); font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; background: var(--brand-soft); color: var(--brand);
  border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.about-cta { margin-top: 1.8rem; }
.about-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow);
}
.about-card h3 { margin-bottom: 1.4rem; font-size: 1.25rem; }
.steps { list-style: none; display: grid; gap: 1.3rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps span {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.steps strong { display: block; }
.steps p { color: var(--ink-soft); font-size: .94rem; }

/* ===== Work ===== */
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-thumb { height: 170px; overflow: hidden; background: var(--bg-alt); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s cubic-bezier(.22,1,.36,1); }
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-card h3 { font-size: 1.15rem; margin: 1.2rem 1.4rem .4rem; }
.work-card p { color: var(--ink-soft); font-size: .96rem; margin: 0 1.4rem 1rem; }
.tag {
  display: inline-block; margin: 0 1.4rem 1.4rem; font-size: .8rem; font-weight: 600;
  color: var(--brand); background: var(--brand-soft); padding: .35rem .8rem; border-radius: 999px;
}

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-text h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .7rem 0 1rem; }
.contact-text p { color: var(--ink-soft); }
.contact-list { list-style: none; margin-top: 1.8rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .9rem; font-weight: 500; }
.contact-list a:hover { color: var(--brand); }
.ci {
  flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-weight: 700;
}
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fcfdff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.field textarea { resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; text-align: center; }

/* ===== Footer ===== */
.site-footer { background: #0f1729; color: #c7cedb; padding: clamp(48px, 7vw, 72px) 0 2rem; }
.footer-inner { display: grid; gap: 1rem; text-align: center; place-items: center; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name span { color: #60a5fa; }
.footer-tag { color: #8a93a6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.6rem; margin: .6rem 0; }
.footer-links a { color: #c7cedb; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.copyright { color: #6b7488; font-size: .88rem; border-top: 1px solid #1e293b; padding-top: 1.6rem; width: 100%; max-width: 400px; }
.footer-legal { color: #5b6478; font-size: .78rem; line-height: 1.5; max-width: 560px; margin-top: -.3rem; }

/* ===== Investment section ===== */
.invest {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, #103a5c 0%, #0f1729 55%);
  color: #eaf2fb; padding: clamp(64px, 9vw, 110px) 0;
}
.invest::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image:
    linear-gradient(to right, rgba(96,165,250,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(96,165,250,.10) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(circle at 78% 30%, #000, transparent 65%);
          mask-image: radial-gradient(circle at 78% 30%, #000, transparent 65%);
}
.invest-inner {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.25fr .75fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.invest--compact { padding: clamp(48px, 6vw, 72px) 0; }
.invest--compact .invest-inner { grid-template-columns: 1.4fr .6fr; align-items: center; }
.invest--compact .invest-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.invest--compact .invest-lead { font-size: 1.02rem; margin-bottom: 1.6rem; }
.invest--compact .badge-card { width: min(200px, 78%); }
.invest--compact .badge-amount { font-size: clamp(2.6rem, 6vw, 3.6rem); }

.eyebrow-light { color: #60a5fa; }
.grad-light { background: linear-gradient(120deg, #38bdf8, #818cf8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.invest-copy h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin: .7rem 0 1.1rem; color: #fff; }
.invest-lead { color: #b9c7da; font-size: 1.1rem; max-width: 620px; }
.invest-lead em { color: #fff; font-style: normal; font-weight: 600; }
.invest-points { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.invest-points li { position: relative; padding-left: 2rem; color: #d6e1ef; }
.invest-points li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: #38bdf8; font-size: 1rem;
}
.invest-points strong { color: #fff; }
.btn-light {
  background: #fff; color: #0f1729; font-weight: 600;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 28px rgba(2,17,33,.28);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(2,17,33,.36); }
.btn-arrow { display: inline-block; transition: transform .25s cubic-bezier(.22,1,.36,1); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.invest-badge { display: grid; place-items: center; perspective: 900px; }
.badge-card {
  display: grid; place-items: center; gap: .2rem; text-align: center;
  width: min(260px, 80%); aspect-ratio: 1/1; border-radius: 28px;
  background: linear-gradient(160deg, rgba(56,189,248,.18), rgba(129,140,248,.12));
  border: 1px solid rgba(120,180,255,.28);
  box-shadow: 0 30px 70px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  transform: rotateX(8deg) rotateY(-12deg);
  animation: floaty 7s ease-in-out infinite;
}
.badge-label { color: #9fc4e8; text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; }
.badge-amount { font-family: 'Sora'; font-weight: 800; font-size: clamp(3.2rem, 8vw, 4.6rem); color: #fff; line-height: 1; white-space: nowrap; }
.badge-amount small { font-size: .45em; color: #60a5fa; }
.badge-sub { color: #b9c7da; font-size: .92rem; }

/* ===== Footer logo & location ===== */
.footer-brand { display: inline-block; }
.footer-logo { width: clamp(190px, 26vw, 240px); height: auto; filter: drop-shadow(0 6px 18px rgba(5,129,196,.4)); }
.footer-location { color: #9aa6ba; font-size: .95rem; }
.footer-location .pin { color: #60a5fa; margin-right: .3rem; }

/* ===== Light 3D on "How we work" steps ===== */
.about-card { transform-style: preserve-3d; will-change: transform; position: relative; }
.about-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.5), transparent 45%);
  opacity: 0; transition: opacity .3s ease; z-index: 3;
}
.about-card:hover::after { opacity: .5; }
.about-card .steps span { transform: translateZ(26px); }
.about-card h3 { transform: translateZ(14px); }

/* ===== Invest page : process steps ===== */
.container.narrow { max-width: 760px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; counter-reset: step; }
.process-step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.4rem 1.3rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-num {
  position: absolute; top: -18px; left: 1.3rem;
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-family: 'Sora'; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 8px 18px rgba(5,129,196,.35);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.process-step p { color: var(--ink-soft); font-size: .92rem; }
.process-step { transform-style: preserve-3d; will-change: transform; }
.process-step::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.55), transparent 42%);
  opacity: 0; transition: opacity .3s ease; z-index: 3;
}
.process-step:hover::after { opacity: .55; }
.process-step .step-num { transform: translateZ(34px); }

/* ===== Invest page : light badge in hero ===== */
.badge-card--light {
  aspect-ratio: auto;
  width: min(310px, 88%);
  padding: 2.3rem 2rem;
  gap: .4rem;
  background: linear-gradient(160deg, var(--brand), #06b6d4);
  border: 2px solid rgba(255,255,255,.55);
  box-shadow: 0 30px 60px rgba(5,129,196,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.badge-card--light .badge-amount { font-size: clamp(3rem, 7vw, 4rem); }
.badge-card--light .badge-label { color: rgba(255,255,255,.85); }
.badge-card--light .badge-amount { color: #fff; }
.badge-card--light .badge-amount small { color: #d7f3ff; }
.badge-card--light .badge-sub { color: rgba(255,255,255,.9); }

/* ===== Invest page : terms note, FAQ, apply ===== */
.terms-note { margin-top: 1.3rem; font-size: .85rem; color: var(--muted); }
.faq { display: grid; gap: .9rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.3rem; box-shadow: var(--shadow); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--brand); font-size: 1.4rem; font-weight: 400; line-height: 1;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 1.2rem; margin-top: -.2rem; }
.apply-or { margin-top: 1rem; color: #b9c7da; font-size: .92rem; }
.apply-or a { color: #fff; text-decoration: underline; }

/* ===== Active nav link ===== */
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: #38bdf8; margin-top: 3px;
}

/* ===== Page hero (inner pages) ===== */
.hero--page { padding: clamp(56px, 9vw, 100px) 0 clamp(40px, 6vw, 64px); }
.hero--page h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; margin: 1rem 0 1.1rem; max-width: 800px; }
.hero--page .lead { max-width: 640px; }

/* ===== Service detail blocks ===== */
.svc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.svc-grid--reverse .svc-text { order: 2; }
.svc-text h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: .6rem 0 1rem; }
.svc-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.svc-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--shadow);
}
.section-alt .svc-panel { background: #fff; }
.svc-panel h3 { font-size: 1.15rem; margin-bottom: 1.1rem; }
.svc-stack {
  margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px dashed var(--line);
  font-family: 'Sora', sans-serif; font-size: .82rem; color: var(--brand); font-weight: 600; letter-spacing: .01em;
}

/* ===== Blog (premium) ===== */
.blog-toolbar { display: flex; justify-content: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.blog-cats {
  list-style: none; display: inline-flex; flex-wrap: wrap; gap: .35rem; justify-content: center;
  padding: .35rem; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px;
}
.blog-cat {
  font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer;
  padding: .5rem 1.15rem; border-radius: 999px; border: 0; background: transparent;
  color: var(--ink-soft); transition: all .18s ease;
}
.blog-cat:hover { color: var(--ink); }
.blog-cat.is-active { background: #fff; color: var(--brand); box-shadow: var(--shadow); }

/* shared post card */
.bpost {
  display: flex; flex-direction: column; overflow: hidden; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .2s;
}
.bpost:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.bpost-cover {
  position: relative; display: block; min-height: 190px; overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% 15%, var(--g3, #38bdf8) 0%, transparent 45%),
    radial-gradient(120% 120% at 85% 25%, var(--g2, #6366f1) 0%, transparent 50%),
    linear-gradient(135deg, var(--g1, #0581c4), var(--g2, #6366f1));
}
.bpost-cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px);
  background-size: 18px 18px; opacity: .25;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.bpost-cover[data-label]::after {
  content: attr(data-label);
  position: absolute; right: -2%; bottom: -12%;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 3.6rem;
  color: rgba(255,255,255,.16); letter-spacing: -.02em; white-space: nowrap;
}
.bpost:hover .bpost-cover::before { opacity: .4; }
.bpost-flag {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: rgba(255,255,255,.95); color: var(--brand);
  font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .12em;
  padding: .42rem .85rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.15);
}

.bpost-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.bpost-meta-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem; }
.chip-cat {
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand); background: var(--brand-soft); padding: .32rem .7rem; border-radius: 999px;
}
.bpost-read { color: var(--muted); font-size: .8rem; font-weight: 500; }
.bpost-title {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.12rem; line-height: 1.3;
  color: var(--ink); letter-spacing: -.01em; margin-bottom: .5rem; transition: color .2s ease;
}
.bpost:hover .bpost-title { color: var(--brand); }
.bpost-excerpt { color: var(--ink-soft); font-size: .94rem; margin-bottom: 1.3rem; }
.bpost-author { display: flex; align-items: center; gap: .65rem; margin-top: auto; }
.avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .78rem;
}
.bpost-author-meta { display: flex; flex-direction: column; line-height: 1.25; }
.bpost-author-meta strong { font-size: .85rem; }
.bpost-author-meta span { color: var(--muted); font-size: .78rem; }
.bpost-go { margin-left: auto; color: var(--brand); font-size: 1.2rem; transition: transform .25s ease; }
.bpost:hover .bpost-go { transform: translateX(4px); }

/* featured */
.bpost--feat {
  display: grid; grid-template-columns: 1.05fr .95fr; margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.bpost--feat .bpost-cover { min-height: 340px; height: 100%; }
.bpost--feat .bpost-cover[data-label]::after { font-size: 5.5rem; }
.bpost--feat .bpost-body { padding: clamp(1.8rem, 3vw, 2.8rem); justify-content: center; }
.bpost--feat .bpost-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.bpost--feat .bpost-excerpt { font-size: 1.05rem; }

/* grid */
.bgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* newsletter */
.bsub {
  position: relative; overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2.5rem; align-items: center;
  background: radial-gradient(120% 140% at 85% 0%, #103a5c 0%, #0f1729 60%);
  border-radius: 24px; padding: clamp(2rem, 4vw, 3rem);
}
.bsub-glow {
  position: absolute; top: -120px; right: -80px; width: 380px; height: 380px; pointer-events: none;
  background: radial-gradient(circle, rgba(56,189,248,.35), transparent 65%); filter: blur(6px);
}
.bsub-text { position: relative; z-index: 2; }
.bsub-text h3 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .4rem; }
.bsub-text p { color: #b9c7da; }
.bsub-form { position: relative; z-index: 2; display: flex; gap: .6rem; }
.bsub-form input {
  padding: .85rem 1.1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  font: inherit; min-width: 250px; background: rgba(255,255,255,.08); color: #fff;
}
.bsub-form input::placeholder { color: #8a98ad; }
.bsub-form input:focus { outline: none; border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.25); }

/* ===== Locations row (work page) — all 6 on ONE line, always ===== */
.loc-grid {
  list-style: none; display: flex; flex-wrap: nowrap;
  gap: clamp(.3rem, 1.4vw, 1rem); align-items: flex-start;
}
.loc-grid li {
  flex: 1 1 0; min-width: 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: .45rem;
}
.loc-flag {
  width: clamp(26px, 4vw, 40px); height: auto; aspect-ratio: 3 / 2;
  object-fit: cover; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(15,23,41,.15); border: 1px solid rgba(15,23,41,.06);
  transition: transform .2s ease;
}
.loc-grid li:hover .loc-flag { transform: translateY(-3px) scale(1.05); }
.loc-grid strong { font-family: 'Sora', sans-serif; font-size: clamp(.7rem, 1.5vw, 1rem); letter-spacing: -.01em; line-height: 1.2; }
.loc-grid li span:last-child { color: var(--muted); font-size: clamp(.62rem, 1.1vw, .8rem); line-height: 1.2; }

/* ===== Section CTA (centered button under a grid) ===== */
.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ===== Logos / trust strip ===== */
.logos-strip { padding: clamp(34px, 5vw, 56px) 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-strip.alt { background: var(--bg-alt); }
.logos-label { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 1.4rem; }
.logos-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(1.4rem, 4vw, 3.2rem); perspective: 700px; }
.logos-row li { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(1.05rem, 2.4vw, 1.5rem); color: #9aa3b2; letter-spacing: -.01em; transition: color .2s ease, transform .25s cubic-bezier(.22,1,.36,1); transform-style: preserve-3d; }
.logos-row li:hover { color: var(--brand); transform: translateY(-4px) translateZ(26px) rotateX(6deg); }
.logos-row img { height: clamp(28px, 4vw, 38px); width: auto; max-width: 150px; object-fit: contain; opacity: .82; transition: opacity .2s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.logos-row li { display: flex; align-items: center; }
.logos-row li:hover img { opacity: 1; }

/* ===== Reveal animation ===== */
.card, .work-card, .about-card, .section-head, .about-text { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal-in { opacity: 1 !important; transform: none; }

/* ===== 3D tilt + glare (services & work cards) ===== */
.card, .work-card { transform-style: preserve-3d; will-change: transform; }
.card::after, .work-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 42%);
  opacity: 0; transition: opacity .3s ease; z-index: 3;
}
.card:hover::after, .work-card:hover::after { opacity: .6; }
.card .card-icon { transform: translateZ(28px); }
.tilt-reset { transition: transform .5s cubic-bezier(.22,1,.36,1) !important; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  /* invest sections: single column + £50k badge on top, text below */
  .invest-inner,
  .invest--compact .invest-inner { grid-template-columns: 1fr; }
  .invest-badge { order: -1; }
  .invest-copy { text-align: center; }
  .invest-points { display: inline-grid; text-align: left; }
  .hero-copy { max-width: 100%; }
  .svc-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-grid--reverse .svc-text { order: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.2rem; }
  .hero-visual { min-height: 300px; margin-top: 1rem; }
  .scene { width: min(340px, 78%); }
  /* contact: form first, info below */
  .contact-form { order: -1; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(13, 22, 41, .97); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08); padding: .5rem 0;
    transform: translateY(-160%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem 24px; width: 100%; }
  .nav-cta { margin: .5rem 24px; text-align: center; }

  /* hero stats: keep the 3 on one line */
  .hero-stats { flex-wrap: nowrap; justify-content: space-between; gap: .8rem; }
  .hero-stats li { flex: 1; }
  .hero-stats strong { font-size: 1.35rem; }
  .hero-stats span { font-size: .74rem; line-height: 1.25; }

  /* logos: full colour on mobile (no hover available) */
  .logos-row img { opacity: 1; }
  .logos-row { gap: 1.4rem 1.8rem; }

  /* footer nav: all links on one line */
  .footer-links { flex-wrap: nowrap; gap: .85rem; }
  .footer-links a { font-size: .82rem; white-space: nowrap; }
}
@media (max-width: 900px) {
  .bgrid { grid-template-columns: repeat(2, 1fr); }
  .bpost--feat { grid-template-columns: 1fr; }
  .bpost--feat .bpost-cover { min-height: 200px; }
  .bsub { grid-template-columns: 1fr; text-align: center; }
  .bsub-form { justify-content: center; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .bgrid { grid-template-columns: 1fr; }
  .bsub-form { flex-direction: column; width: 100%; }
  .bsub-form input { min-width: 0; width: 100%; }
  /* keep the 6 flags on one row; drop the role label to save space */
  .loc-grid li span:last-child { display: none; }
}
@media (max-width: 380px) {
  .footer-links { gap: .6rem; }
  .footer-links a { font-size: .76rem; }
  .hero-stats strong { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .card, .work-card, .about-card, .section-head, .about-text { opacity: 1; transform: none; }
}
