/* SER Accounting & Consulting — layout and type modeled on the Conseil consulting style */
:root {
  --primary: #0e76bc;        /* SER logo blue (Conseil uses teal here) */
  --primary-dark: #0a5c94;
  --accent: #00aeef;         /* SER logo cyan */
  --ink: #0f0e26;            /* SER logo navy */
  --heading: #000;
  --text: #52525b;
  --muted: #71717a;
  --line: #e4e4e7;
  --soft: #f4f4f5;
  --bg-alt: #f2f2f2;
  --tint: rgba(14, 118, 188, .1);
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 4px 8px rgba(0,0,0,.05), 0 24px 35px rgba(0,0,0,.08);
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.165,.84,.44,1);
  --ease-2: cubic-bezier(.365,.84,.44,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--heading); font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.2; letter-spacing: -.04em; }
h3 { font-size: 1.35rem; line-height: 1.3; letter-spacing: -.03em; }
h4 { font-size: 1.05rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; padding: 9px 18px; line-height: 1.8; border-radius: var(--radius); border: 0; cursor: pointer; transition: all .15s ease-in-out; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-dark); }
.btn-soft { background: var(--tint); color: var(--primary-dark); }
.btn-soft:hover { background: rgba(14,118,188,.18); }
.btn-pill { border-radius: 999px; padding: 10px 24px; font-size: 16px; font-weight: 400; }
.btn-white { background: #fff; color: #222; }
.btn-white:hover, .btn-white:focus-visible { background: #e6e6e6; color: #292929; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-gray { background: var(--soft); color: #18181b; }
.btn-gray:hover { background: var(--line); }
.link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: 14px; font-weight: 500; color: var(--primary); }
.link svg { width: 14px; height: 14px; transition: transform .2s; }
.link:hover svg { transform: translateX(3px); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-size: 12px; font-weight: 600; color: #3f3f46; background: var(--soft); padding: 5px 12px; border-radius: 160px; margin-bottom: 18px; }
.badge-tint { background: var(--tint); color: var(--primary-dark); }
.badge-dark { background: rgba(0,0,0,.45); color: #fff; backdrop-filter: blur(6px); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #18181b; margin-bottom: 14px; }
.eyebrow .ico { width: 22px; height: 22px; border-radius: 6px; background: var(--tint); color: var(--primary); display: grid; place-items: center; }
.eyebrow .ico svg { width: 13px; height: 13px; }

/* Header — Conseil: main row fixed; info bar is "smart sticky" (hides scrolling down, returns scrolling up) */
.site-header { position: sticky; top: 0; z-index: 50; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.hdr-main { position: relative; z-index: 2; background: #fff; transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; border-bottom: 1px solid var(--line); }
.hdr-left, .main-nav, .nav-cta { flex: 1; display: flex; align-items: center; }
.main-nav { justify-content: center; gap: 0; align-self: stretch; }
.nav-cta { justify-content: flex-end; gap: 10px; }
.brand { display: flex; align-items: center; }
.brand img { height: 58px; width: auto; }
.hdr-divider { width: 1px; height: 24px; background: rgba(0,0,0,.1); margin: 0 16px; display: inline-block; }
.topbar .hdr-divider { height: 20px; margin: 0 14px; }
.hdr-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #000; white-space: nowrap; }
.hdr-tag svg { width: 18px; height: 18px; }
.main-nav a { display: flex; align-items: center; padding: 0 18px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #000; transition: color .4s var(--ease); }
.main-nav a span { position: relative; padding: 6px 0; }
.main-nav a span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover span::after, .main-nav a[aria-current="page"] span::after { transform: scaleX(1); }
.topbar { position: relative; z-index: 1; background: #fff; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 14px; font-weight: 600; color: #000; transition: transform .4s var(--ease-2), opacity .4s var(--ease-2); }
.topbar.is-hidden { transform: translateY(-100%); opacity: 0; transition: transform .4s var(--ease-2), opacity .2s ease .4s; pointer-events: none; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar .info, .follow { display: flex; align-items: center; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 16px; height: 16px; }
.follow { gap: 8px; }
.social-links { display: inline-flex; align-items: center; gap: 4px; }
.social-links a { display: inline-grid; place-items: center; padding: 0 4px; color: #000; transition: color .4s var(--ease); }
.social-links a:hover { color: var(--primary); }
.social-links svg { width: 20px; height: 20px; }
.social-links.lg svg { width: 24px; height: 24px; }
.hdr-main.is-scroll { box-shadow: 0 1px 0 var(--line); }
.menu-btn { display: none; background: var(--soft); border: 0; width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }

/* Page loading bar (Conseil shows a thin bar until the page renders) */
.page-loader { position: fixed; z-index: 9999; top: 50%; left: 50%; width: 100px; height: 5px; border-radius: 3px; overflow: hidden; transform: translate(-50%,-50%); transition: opacity .3s; pointer-events: none; }
.page-loader::before { content: ""; position: absolute; inset: 0; background: var(--primary); opacity: .1; }
.page-loader::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--primary); transform: translateX(-100%); animation: loadbar 1.4s ease-in-out infinite; }
@keyframes loadbar { to { transform: translateX(100%); } }
body.render .page-loader { opacity: 0; }

/* Hero */
.hero { position: relative; color: #fff; text-align: center; padding: 130px 0 190px; overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; background: url("../img/desk.webp") center 30% / cover no-repeat; }
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; overflow: hidden; }
.hero-slide.is-active { opacity: 1; }
.kb { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1); transition: transform 10s linear; }
.hero-slide.is-active .kb { transform: scale(1.3); transition-duration: 20s; }
.kb-solo { transform: scale(1); transition: transform 20s linear; }
body.render .kb-solo { transform: scale(1.3); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.55) 0%, rgba(15,14,38,.62) 45%, rgba(10,92,148,.85) 100%); }
.hero::after { content: ""; position: absolute; z-index: 2; left: -10%; right: -10%; bottom: -1px; height: 90px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero .wrap { position: relative; z-index: 3; }
.hero h1 { color: #fff; max-width: 900px; margin: 0 auto 18px; }
.hero .lead { font-size: 18px; color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto 30px; }
.hero-top { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.hero-top .badge { margin: 0; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hero-strip { margin-top: 64px; }
.hero-strip p { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.marquee { display: flex; overflow: hidden; max-width: 760px; margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-inner { list-style: none; margin: 0; padding: 0; display: flex; flex: none; font-family: var(--f-head); font-weight: 600; font-size: 22px; letter-spacing: -.03em; color: rgba(255,255,255,.88); animation: marquee 40s linear infinite; }
.marquee-inner li { display: flex; align-items: center; gap: 10px; padding: 0 1.5vw; white-space: nowrap; transition: transform .4s var(--ease); }
.marquee-inner li:hover { transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(-100%); } }
.hero-strip svg { width: 22px; height: 22px; opacity: .8; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 110px 0 150px; text-align: center; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero .hero-bg { opacity: .9; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.7), rgba(10,92,148,.86)); }
.page-hero::after { content: ""; position: absolute; z-index: 2; left: -10%; right: -10%; bottom: -1px; height: 70px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.page-hero .wrap { position: relative; z-index: 3; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); max-width: 820px; margin-inline: auto; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* Sections */
section { padding: 100px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { font-size: 16px; }
.bg-alt { background: var(--bg-alt); }

/* Feature cards (3-up) */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 50px 50px 36px; }
.card .icon { width: 40px; height: 40px; color: var(--primary); margin-bottom: 28px; }
.card .icon svg { width: 34px; height: 34px; }
.card p { font-size: 15px; line-height: 1.8; }
.card hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0 18px; }
.card .tag { position: absolute; top: 16px; right: 16px; margin: 0; }

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.split .lead { font-size: 17px; max-width: 480px; }
.split-img { position: relative; }
.split-img img { border-radius: var(--radius-lg); width: 100%; height: 460px; object-fit: cover; transition: transform 1s var(--ease-2); }
.split-img { border-radius: var(--radius-lg); }
.split-img.hover-zoom > img { display: block; }
.split-img.hover-zoom { overflow: hidden; }
.split-img.hover-zoom .zoom-clip { overflow: hidden; border-radius: var(--radius-lg); }
.hover-zoom:hover .zoom-layer, .split-img.hover-zoom:hover img { transform: scale(1.05); }
.zoom-layer { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s var(--ease-2); }
.split-img figcaption { font-size: 14px; text-align: center; margin-top: 22px; color: var(--text); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mini { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.mini .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.mini .ico svg { width: 18px; height: 18px; }
.mini strong { display: block; font-family: var(--f-head); font-size: 14px; color: #18181b; font-weight: 600; }
.mini span { font-size: 12px; color: var(--muted); }

/* Industries tabs */
.tabs-layout { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.tabs-layout h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.tab-list { display: flex; flex-direction: column; gap: 6px; margin-top: 30px; }
.tab { display: flex; align-items: center; gap: 12px; background: none; border: 0; text-align: left; padding: 10px 25px; margin: 4px 0; border-radius: var(--radius); font-family: var(--f-head); font-weight: 600; font-size: 1.125rem; color: #3f3f46; opacity: .7; cursor: pointer; transition: all .4s var(--ease); }
.tab svg { width: 16px; height: 16px; flex: none; }
.tab:not([aria-selected="true"]):hover { opacity: 1; }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; opacity: 1; box-shadow: 0 .25rem .5rem rgba(0,0,0,.05), 0 1.5rem 2.2rem rgba(0,0,0,.1); }
.panel { transition: opacity .15s linear; }
.panel.is-entering { opacity: 0; }
.panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.panel[hidden] { display: none; }
.panel-text { padding: 44px 40px; }
.panel-text h3 { font-size: 1.9rem; }
.panel-text ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.panel-text li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #27272a; }
.panel-text li svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.panel-img { position: relative; overflow: hidden; }
.panel-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.05) 30%, rgba(10,92,148,.9)); }
.panel-img .over { z-index: 2; position: absolute; left: 28px; right: 28px; bottom: 28px; color: #fff; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-family: var(--f-head); font-weight: 600; font-size: 16px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { width: 20px; height: 20px; flex: none; }

/* Info card + image (Operations style) */
.combo { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.combo-text { padding: 60px; }
.combo-text h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.combo-text .lead { font-size: 17px; }
.combo-foot { display: grid; grid-template-columns: auto 1fr; gap: 36px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 34px; align-items: start; }
.combo-foot .big { font-family: var(--f-head); font-weight: 600; font-size: 3.2rem; line-height: 1; color: #000; letter-spacing: -.04em; }
.combo-foot .big small { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; margin-top: 10px; }
.combo-foot h4 { margin-bottom: 6px; }
.combo-foot p { font-size: 14px; margin: 0; }
.combo-img { position: relative; overflow: hidden; min-height: 520px; }
.combo-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.1) 25%, rgba(10,92,148,.92)); }
.combo-img .over { z-index: 2; position: absolute; left: 40px; bottom: 40px; right: 40px; color: #fff; }

.ask { display: flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 50px; margin-top: 30px; }
.ask h3 { font-size: 1.5rem; margin-bottom: 6px; }
.ask p { margin: 0; font-size: 15px; }

/* Quote */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--f-head); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; letter-spacing: -.03em; color: #000; }
.quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 15px; color: var(--muted); }

/* CTA banner */
.cta-wrap { position: relative; padding: 0 0 100px; }
.cta-wrap.half::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--bg-alt); }
.cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-align: center; padding: 120px 30px; background: var(--ink); }
.cta-bg { position: absolute; inset: 0; background: url("../img/hero.webp") center 35% / cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.55), rgba(10,92,148,.9)); }
.cta > *:not(.cta-bg) { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.4rem); max-width: 760px; margin: 0 auto 16px; }
.cta p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 28px; }
.cta .hero-actions { gap: 12px; }

/* Services page */
.svc { display: grid; grid-template-columns: 300px 1fr; gap: 60px; padding: 56px 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-head .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; margin-bottom: 20px; }
.svc-head .icon svg { width: 26px; height: 26px; }
.svc-head h2 { font-size: 1.8rem; line-height: 1.2; }
.svc-body p { font-size: 16px; line-height: 1.8; }
.svc-body .btn { margin-top: 8px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 70px; }
.toc a { font-family: var(--f-head); font-size: 14px; font-weight: 500; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: #27272a; transition: all .2s; }
.toc a:hover { border-color: var(--primary); color: var(--primary); }

/* Industries page */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ind-grid .card { padding: 40px; }
.ind-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ind-grid li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #27272a; }
.ind-grid li svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

/* About values */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.values .card { padding: 48px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-list { display: grid; gap: 16px; margin-top: 30px; }
.contact-list .mini { padding: 20px; }
.contact-list .mini strong { font-size: 15px; }
.contact-list .mini span { font-size: 14px; }
form.card { padding: 44px; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-family: var(--f-head); font-weight: 500; font-size: 14px; color: #18181b; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fafafa; color: #18181b; transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--radius-lg); margin-top: 16px; filter: grayscale(.2); }


/* Google reviews widget — Trustindex look */
.hero-rating { display: inline-flex; align-items: center; gap: 10px; }
.hero-rating .ti-stars { color: #fbbf24; }
.hero-rating .ti-stars svg { width: 22px; height: 22px; }
.hero-rating .badge { margin: 0; }
.ti-widget { font-family: var(--f-body); color: #000; }
.ti-stars { display: inline-flex; gap: 1px; color: #f6bb06; }
.ti-stars svg { width: 17px; height: 17px; }
.ti-stars.lg svg { width: 26px; height: 26px; }
.ti-summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
.ti-word { font-family: var(--f-body); font-size: 20px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.ti-based { font-size: 14px; color: #000; }
.ti-based a:hover b { text-decoration: underline; }
.g-word { width: 110px; height: auto; margin-top: 4px; }
.ti-slider > *, .process > *, .svc-all > * { min-width: 0; }
.ti-slider { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: center; }
.ti-carousel { position: relative; min-width: 0; }
.ti-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; }
.ti-track::-webkit-scrollbar { display: none; }
.ti-track:focus-visible { outline-offset: 2px; }
.ti-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; background: #f4f4f4; border-radius: 6px; padding: 20px; display: flex; flex-direction: column; min-height: 238px; transition: box-shadow .4s var(--ease); }
.ti-card:hover { box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.ti-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ti-avatar { width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 17px; flex: none; }
.ti-who { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ti-who strong { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #000; }
.ti-who time { font-size: 13px; color: #8c8c8c; }
.g-logo { width: 20px; height: 20px; flex: none; align-self: flex-start; }
.ti-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.ti-verified svg { width: 16px; height: 16px; display: block; }
.ti-text { font-size: 14px; line-height: 1.5; color: #000; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.ti-text p { margin: 0 0 .6em; display: inline; }
.ti-text p + p::before { content: "\A\A"; white-space: pre; }
.ti-card.is-open .ti-text { -webkit-line-clamp: unset; display: block; }
.ti-card.is-open .ti-text p { display: block; }
.ti-card.is-open .ti-text p + p::before { content: none; }
.ti-more { align-self: flex-start; margin-top: 8px; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: #8c8c8c; cursor: pointer; }
.ti-more:hover { color: #000; text-decoration: underline; }
.ti-arrow { position: absolute; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 0; background: #fff; color: #555; box-shadow: 0 1px 4px rgba(0,0,0,.2); display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.ti-arrow:hover { color: #000; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ti-arrow[disabled] { opacity: 0; pointer-events: none; }
.ti-arrow svg { width: 16px; height: 16px; }
.ti-arrow.prev { left: -14px; } .ti-arrow.prev svg { transform: rotate(180deg); }
.ti-arrow.next { right: -14px; }
.ti-grid-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 30px; }
.ti-grid-head .ti-summary { flex-direction: row; flex-wrap: wrap; gap: 10px 14px; }
.ti-grid-head .g-word { margin: 0; }
.ti-grid { columns: 3; column-gap: 16px; }
.ti-grid .ti-card { break-inside: avoid; margin-bottom: 16px; min-height: 0; display: flex; }
@media (max-width: 1080px) { .ti-slider { grid-template-columns: 1fr; } .ti-card { flex-basis: calc((100% - 16px) / 2); } .ti-grid { columns: 2; } }
@media (max-width: 720px) { .ti-card { flex-basis: 88%; } .ti-grid { columns: 1; } .ti-grid-head { flex-direction: column; align-items: flex-start; } .ti-arrow { display: none; } }


/* ---------- Services page (Conseil services layout) ---------- */
.svc-hero { position: relative; background: #e6f0f8; padding: 90px 0 150px; overflow: hidden; }
.svc-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 70px; background: #fff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.svc-hero-grid > * { min-width: 0; }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.svc-hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); margin-top: 16px; }
.svc-hero .lead { font-size: 18px; color: #3f3f46; }
.hero-rating.dark .ti-stars { color: var(--primary); }
.hero-rating.dark .ti-stars svg { width: 24px; height: 24px; }
.svc-hero-cta { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.avatar-stack { display: inline-flex; }
.avatar-stack .ti-avatar { width: 46px; height: 46px; border: 3px solid #fff; margin-left: -12px; font-size: 17px; box-shadow: 0 3px 8px rgba(0,0,0,.12); }
.avatar-stack .ti-avatar:first-child { margin-left: 0; }
.avatar-stack.lg { margin-bottom: 18px; }
.avatar-stack.lg .ti-avatar { width: 54px; height: 54px; font-size: 20px; }
.btn-lg { padding: 12px 22px; font-size: 15px; }
.svc-hero-strip { margin-top: 56px; }
.svc-hero-strip p { font-family: var(--f-head); font-size: 13px; font-weight: 600; color: #18181b; margin-bottom: 14px; }
.marquee.dark { margin: 0; max-width: 520px; }
.marquee.dark .marquee-inner { color: #18181b; font-size: 20px; }
.svc-hero-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.svc-hero-img img { width: 100%; height: 500px; object-fit: cover; transition: transform 1s var(--ease-2); }
.svc-hero-img:hover img { transform: scale(1.05); }

.img-card { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.img-card-media { position: relative; display: block; height: 300px; overflow: hidden; }
.img-pill { position: absolute; top: 16px; right: 16px; margin: 0; background: #fff; color: #000; box-shadow: 0 2px 6px rgba(0,0,0,.1); z-index: 1; }
.img-card-foot { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-family: var(--f-head); font-weight: 600; font-size: 17px; color: #000; letter-spacing: -.02em; }
.img-card-foot svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.img-card:hover .img-card-foot svg { transform: translateX(4px); }

.icon-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.icon-list li { display: flex; gap: 16px; align-items: center; }
.icon-list .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.icon-list .ico svg { width: 24px; height: 24px; }
.icon-list strong { display: block; font-family: var(--f-head); font-weight: 600; color: #000; font-size: 16px; }
.icon-list span { font-size: 14px; color: var(--text); }
.gray-panel { background: var(--soft); border-radius: 24px; padding: 20px 20px 28px; text-align: center; }
.gray-panel > p { font-size: 14px; max-width: 420px; margin: 22px auto 0; }
.overlay-card { position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.overlay-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,14,38,.15), rgba(10,92,148,.88)); }
.overlay-body { position: relative; z-index: 2; padding: 40px 30px; color: #fff; }
.overlay-body h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 360px; margin: 0 auto 18px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 50px; }
.stat-card .tag { position: absolute; top: 16px; right: 16px; margin: 0; }
.stat-num { font-family: var(--f-head); font-weight: 600; font-size: 3.6rem; line-height: 1; letter-spacing: -.04em; color: #000; margin-bottom: 30px; min-height: 1em; }
.stat-type { color: var(--primary); letter-spacing: 0; font-size: 2.6rem; }
.stat-type::after { content: "_"; color: #000; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stat-card p { font-size: 15px; line-height: 1.8; margin: 0; }

.process { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.process h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.process-img { position: relative; height: 380px; border-radius: var(--radius-lg); overflow: hidden; }
.mini-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 16px; text-align: center; }
.tile span { display: grid; place-items: center; color: var(--primary); margin-bottom: 12px; }
.tile svg { width: 30px; height: 30px; }
.tile strong { font-family: var(--f-head); font-weight: 600; font-size: 16px; color: #000; letter-spacing: -.02em; }

.svc-all { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: start; }
.svc-all-intro { position: sticky; top: 140px; }
.svc-all-intro h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.svc-card { padding: 40px 40px 30px; scroll-margin-top: 140px; }
.svc-card h3 { font-size: 1.3rem; }
.svc-more p { font-size: 15px; line-height: 1.8; }
.svc-toggle { background: none; border: 0; padding: 0; cursor: pointer; }
.svc-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.svc-card:target { box-shadow: 0 0 0 2px var(--primary); }

.boxed-reviews { border: 1px solid var(--line); border-radius: 24px; padding: 70px 50px 60px; }
.boxed-reviews .section-head { display: flex; flex-direction: column; align-items: center; }

@media (max-width: 1080px) {
  .svc-hero-grid, .process, .svc-all { grid-template-columns: 1fr; }
  .svc-all-intro { position: static; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .svc-hero { padding: 60px 0 120px; }
  .svc-hero-img img { height: 320px; }
  .stat-grid, .svc-grid, .mini-3 { grid-template-columns: 1fr; }
  .boxed-reviews { padding: 44px 20px; }
  .stat-card, .svc-card { padding: 34px 28px; }
}


/* ---------- Shared inner-page hero variants (Conseil: light tint + curve, centered or split) ---------- */
.lt-center { position: relative; z-index: 1; text-align: center; }
.lt-center > div { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.lt-center .lead { max-width: 640px; }
.lt-center .svc-hero-cta { justify-content: center; }
.lt-center .svc-hero-strip { width: 100%; max-width: 620px; }
.lt-center .marquee.dark { margin: 0 auto; max-width: 620px; }
.svc-hero.has-below { padding-bottom: 200px; }
.hero-imgs { position: relative; z-index: 2; margin-top: -150px; margin-bottom: -20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero-imgs .hi { position: relative; height: 300px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-imgs .hi:nth-child(2) { transform: translateY(-24px); }
.hero-note { font-size: 15px; color: #3f3f46; margin-top: -6px; }
.hero-note strong { color: #000; font-family: var(--f-head); font-weight: 600; }
.talk-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 36px 28px; box-shadow: var(--shadow); max-width: 460px; justify-self: end; width: 100%; }
.talk-card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.talk-card a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: #000; border-top: 1px solid var(--line); transition: color .4s var(--ease); }
.talk-card a:first-of-type { border-top: 0; }
.talk-card a:hover { color: var(--primary); }
.talk-card .ico { width: 36px; height: 36px; border-radius: 50%; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.talk-card .ico svg { width: 17px; height: 17px; }
.contact-grid { grid-template-columns: 1fr 1fr !important; }
.contact-form { margin-top: 26px; }
.btn-block { width: 100%; justify-content: center; }
.map-wrap { height: 100%; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden; }
.map-wrap .map { height: 100%; min-height: 520px; margin: 0; border-radius: 0; }
.follow-box { border: 1px solid var(--line); border-radius: 24px; padding: 60px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.follow-box h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.follow-box .social-links a { padding: 0 8px; }
.follow-box .social-links svg { width: 30px; height: 30px; }
@media (max-width: 1080px) {
  .contact-grid { grid-template-columns: 1fr !important; }
  .talk-card { justify-self: start; }
}
@media (max-width: 720px) {
  .hero-imgs { grid-template-columns: 1fr 1fr; margin-top: -120px; }
  .hero-imgs .hi { height: 180px; }
  .hero-imgs .hi:nth-child(3) { display: none; }
  .hero-imgs .hi:nth-child(2) { transform: none; }
  .map-wrap, .map-wrap .map { min-height: 340px; }
}


/* ---------- Industries: tabs (home) + cards (industries page) ---------- */
.tabs-layout > * { min-width: 0; }
.ind-quote { margin: 0 0 24px; padding: 16px 18px; background: var(--soft); border-radius: var(--radius); border-left: 3px solid var(--primary); }
.ind-quote .ti-stars svg { width: 14px; height: 14px; }
.ind-quote blockquote { margin: 6px 0 6px; font-size: 14px; line-height: 1.6; color: #18181b; }
.ind-quote figcaption { font-size: 12px; font-weight: 600; color: var(--muted); }
.panel-text h3 { margin-bottom: .4em; }
.panel { min-height: 480px; }
.ind-list { display: grid; gap: 30px; }
.ind-card { display: grid; grid-template-columns: 420px 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; scroll-margin-top: 130px; transition: box-shadow .4s var(--ease); }
.ind-card:nth-child(even) { grid-template-columns: 1fr 420px; }
.ind-card:nth-child(even) .ind-card-img { order: 2; }
.ind-card:target { box-shadow: 0 0 0 2px var(--primary), var(--shadow); }
.ind-card-img { position: relative; min-height: 340px; overflow: hidden; }
.ind-card-body { padding: 44px 48px; }
.ind-card-title { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ind-card-title .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--primary); display: grid; place-items: center; flex: none; }
.ind-card-title .ico svg { width: 24px; height: 24px; }
.ind-card-title h2 { font-size: 1.7rem; margin: 0; }
.ind-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 22px 0 24px; }
.ind-cols h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 12px; }
.ind-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ind-cols li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #27272a; }
.ind-cols li svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.ind-cols .types { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-cols .types li { font-family: var(--f-head); font-size: 13px; font-weight: 500; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }
@media (max-width: 1080px) {
  /* tabs become a swipeable row of pills */
  .tab-list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; margin: 24px -24px 0; padding: 4px 24px 14px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab { flex: none; scroll-snap-align: start; white-space: nowrap; margin: 0; padding: 10px 18px; font-size: 15px; border: 1px solid var(--line); background: #fff; border-radius: 999px; }
  .tab[aria-selected="true"] { border-color: var(--primary); }
  .ind-card, .ind-card:nth-child(even) { grid-template-columns: 1fr; }
  .ind-card:nth-child(even) .ind-card-img { order: 0; }
  .ind-card-img { min-height: 260px; }
}
@media (max-width: 720px) {
  .ind-card-body { padding: 30px 24px; }
  .ind-cols { grid-template-columns: 1fr; }
  .panel { min-height: 0; }
}


/* ---------- Services: steps, cards, detail pages, FAQ ---------- */
.steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; }
.step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.step strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 16px; color: #000; margin-bottom: 6px; letter-spacing: -.02em; }
.step p { font-size: 14px; line-height: 1.6; margin: 0; }
.svc-card h3 a:hover { color: var(--primary); }
.for-who { font-size: 14px; color: #3f3f46; }
.for-who strong { color: #000; font-family: var(--f-head); font-weight: 600; }
.svc-card .ind-quote { margin: 4px 0 0; }
.svc-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }
.svc-detail > * { min-width: 0; }
.svc-detail h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.svc-detail p { font-size: 16px; line-height: 1.85; }
.svc-aside { position: sticky; top: 130px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); background: #fff; display: grid; gap: 12px; }
.svc-aside h3 { font-size: 1.25rem; margin: 0 0 4px; }
.inc { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 10px; }
.inc li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #27272a; }
.inc svg { width: 18px; height: 18px; color: var(--primary); flex: none; margin-top: 2px; }
.for-box { background: var(--soft); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 6px; }
.for-box strong { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #000; }
.for-box p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; }
.ti-grid-sm { columns: 3; }
.ti-grid-sm.two { columns: 2; max-width: 820px; margin: 0 auto; }
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .4s var(--ease); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--f-head); font-weight: 600; font-size: 17px; color: #000; letter-spacing: -.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 18px; height: 18px; flex: none; color: var(--primary); transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(90deg); }
.faq-a { padding: 0 24px 20px; }
.faq-a p { margin: 0; font-size: 15px; line-height: 1.7; }
.faq-a a { color: var(--primary); text-decoration: underline; }
@media (max-width: 1080px) { .svc-detail { grid-template-columns: 1fr; } .svc-aside { position: static; } .ti-grid-sm { columns: 2; } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } .ti-grid-sm { columns: 1; } }


/* ---------- Shara's portraits ---------- */
img.portrait { object-position: 50% 18%; }
.portrait-layer { background-position: 50% 20% !important; }
.founder { display: grid; grid-template-columns: 420px 1fr; gap: 70px; align-items: center; }
.founder > * { min-width: 0; }
.founder-img { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.founder-img img { width: 100%; height: 560px; object-fit: cover; object-position: 50% 15%; transition: transform 1s var(--ease-2); }
.founder-img:hover img { transform: scale(1.05); }
.founder h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 4px; }
.founder-role { font-family: var(--f-head); font-weight: 600; color: var(--primary); margin-bottom: 18px; }
.founder-facts { list-style: none; padding: 0; margin: 26px 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.founder-facts li { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.founder-facts svg { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 2px; }
.founder-facts strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: #000; }
.founder-facts span span, .founder-facts li > span { font-size: 13px; color: var(--text); }
.founder-src { font-size: 13px; color: var(--muted); }
.founder-src a { text-decoration: underline; }
.talk-who { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.talk-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.talk-who strong { display: block; font-family: var(--f-head); font-weight: 600; color: #000; }
.talk-who span { font-size: 13px; color: var(--muted); }
.split-img img.portrait { height: 560px; }
.hero-imgs .hi { height: 380px; }
@media (max-width: 1080px) { .founder { grid-template-columns: 1fr; gap: 40px; } .founder-img img { height: 460px; } }
@media (max-width: 720px) { .founder-facts { grid-template-columns: 1fr; } .hero-imgs .hi { height: 240px; } .split-img img.portrait { height: 420px; } }

/* Footer */
.site-footer { background: var(--bg-alt); padding: 70px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-grid h5 { font-size: 14px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid #d9d9de; margin-bottom: 18px; }
.foot-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 320px; }
.foot-contact { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; font-family: var(--f-head); font-weight: 600; color: #18181b; }
.foot-contact li { display: flex; gap: 10px; align-items: flex-start; }
.foot-contact svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 3px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-family: var(--f-head); font-weight: 500; color: #3f3f46; }
.foot-links a:hover { color: var(--primary); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid #d9d9de; margin-top: 56px; padding-top: 26px; color: var(--muted); }
.foot-follow { display: flex; align-items: center; gap: 12px; color: #18181b; font-family: var(--f-head); font-size: 14px; }
.foot-bottom nav { display: flex; gap: 22px; font-family: var(--f-head); font-weight: 600; color: #18181b; }

/* Scroll animations — Conseil timings: fade / fade-in-up / fade-in-right at 20px, .5s easeOutQuart; headings slide in word-by-word (.8s, 75ms stagger) or letter-by-letter (.5s) with a 5px blur */
.js [data-anim] { opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); will-change: transform, opacity; }
.js [data-anim="fade-in-up"] { transform: translateY(20px); }
.js [data-anim="fade-in-right"] { transform: translateX(20px); }
.js [data-anim].is-in { opacity: 1; transform: none; }
.slide-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .1em .08em; margin: -.1em -.08em; white-space: nowrap; max-width: 100%; }
.slide-mask.done { overflow: visible; }
.slide-item { display: inline-block; transform: translateY(10px); filter: blur(5px); opacity: 0; transition-property: transform, filter, opacity; transition-duration: .8s; transition-timing-function: ease; }
[data-slide="letters"] .slide-item { transition-duration: .5s; }
.is-in .slide-item, .slide-head.is-in .slide-item { transform: none; filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .js [data-anim], .slide-item { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .kb, .kb-solo { transform: none !important; transition: none !important; }
  .marquee-inner { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .main-nav, .nav-cta .btn-soft, .hdr-tag, .hdr-left .hdr-divider { display: none; }
  .hdr-left, .nav-cta { flex: none; }
  .menu-btn { display: grid; place-items: center; }
  .cards-3, .ind-grid { grid-template-columns: 1fr 1fr; }
  .split, .tabs-layout, .combo, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .topbar .follow, .topbar .email { display: none; }
  .nav-cta .btn-primary { display: none; }
  .hero { padding: 90px 0 150px; }
  .cards-3, .ind-grid, .values, .mini-cards, .panel, .field-row, .foot-grid { grid-template-columns: 1fr; }
  .panel-img { min-height: 260px; }
  .card { padding: 36px 28px 28px; }
  .combo-text { padding: 36px 28px; }
  .combo-img { min-height: 380px; }
  .ask { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .split-img img { height: 320px; }
  .cta { padding: 80px 22px; }
}
.cta-wrap .wrap { position: relative; z-index: 1; }
@media (max-width: 480px) { h1 { font-size: 2.15rem; } .hero .lead { font-size: 16px; } .hero-strip ul { font-size: 16px; gap: 10px 22px; } }
.svc-hero-img img.portrait { height: 600px; object-position: 50% 28%; }
@media (max-width: 720px) { .svc-hero-img img.portrait { height: 420px; } }

/* All Services grid (services hub): header row + equal-height 4-up cards */
.svc-all { display: block; }
.svc-all-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.svc-all-head h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 8px; }
.svc-all-head p { margin: 0; }
.svc-all .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.svc-all .svc-card { display: flex; flex-direction: column; padding: 32px 26px 24px; }
.svc-all .svc-card .icon { margin-bottom: 20px; }
.svc-all .svc-card h3 { font-size: 1.12rem; line-height: 1.3; padding-right: 36px; }
.svc-all .svc-card > p { font-size: 14px; line-height: 1.65; }
.svc-all .svc-card .for-who { font-size: 13px; margin-bottom: 0; }
.svc-all .svc-card .for-who { margin-bottom: 22px; }
.svc-all .svc-card hr { margin: auto 0 0; border: 0; border-top: 1px solid var(--line); }
.svc-all .svc-card .link { margin-top: 18px; }
@media (max-width: 1080px) { .svc-all .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .svc-all-head { flex-direction: column; align-items: flex-start; } .svc-all .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Full-height mobile menu ---------- */
.m-menu { position: fixed; inset: 0; z-index: 200; height: 100vh; height: 100dvh; background: #fff; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s; }
.m-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s; }
.m-menu-top { display: flex; align-items: center; justify-content: space-between; height: 76px; flex: none; border-bottom: 1px solid var(--line); }
.m-menu-top .brand img { height: 50px; }
.m-close { width: 44px; height: 44px; border: 0; border-radius: var(--radius); background: var(--soft); display: grid; place-items: center; cursor: pointer; color: #000; }
.m-close svg { width: 22px; height: 22px; }
.m-menu-body { flex: 1; display: flex; flex-direction: column; padding-top: 12px; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
.m-links { display: flex; flex-direction: column; }
.m-links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--soft); font-family: var(--f-head); font-weight: 600; font-size: clamp(1.5rem, 6.5vw, 2rem); letter-spacing: -.03em; color: #000;
  opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s; transition-delay: calc(var(--i) * 50ms + 100ms); }
.m-links a svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.m-links a[aria-current="page"], .m-links a:hover { color: var(--primary); }
.m-menu.open .m-links a { opacity: 1; transform: none; }
.m-cta { display: grid; gap: 10px; margin-top: 28px; }
.m-cta .btn { justify-content: center; }
.m-info { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; font-size: 14px; color: var(--text); }
.m-info a, .m-info > span { display: flex; align-items: center; gap: 8px; }
.m-info svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.m-follow { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; font-family: var(--f-head); font-weight: 600; color: #000; }
.m-follow .social-links svg { color: #000; }
body.menu-open { overflow: hidden; }
@media (min-width: 1081px) { .m-menu { display: none; } }
@media (prefers-reduced-motion: reduce) { .m-menu, .m-links a { transition: none !important; } }

/* Responsive guards */
html, body { overflow-x: clip; }
.contact-grid > *, .split > *, .combo > *, .founder > *, .cards-3 > *, .stat-grid > *, .values > * { min-width: 0; }
img, iframe { max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 380px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.75rem; }
  .btn-lg, .btn-pill { padding-left: 18px; padding-right: 18px; font-size: 15px; }
  .hero-actions .btn, .svc-hero-cta .btn { width: 100%; justify-content: center; }
  .svc-hero-cta { flex-direction: column; align-items: flex-start; }
  .card, .stat-card, .svc-card, .combo-text, .ind-card-body, .boxed-reviews { padding-left: 22px !important; padding-right: 22px !important; }
  .talk-card { padding: 26px 22px; }
}
.field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; max-width: 100%; }
@media (max-width: 380px) { .tab-list { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; } }

/* About: values backed by reviews */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.value-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 26px 26px; background: #fff; }
.value-card .icon { color: var(--primary); margin-bottom: 18px; }
.value-card .icon svg { width: 32px; height: 32px; }
.value-card h3 { font-size: 1.15rem; }
.value-card > p { font-size: 14px; line-height: 1.7; }
.value-card .ind-quote { margin: auto 0 0; }
.split-img figcaption { margin-top: 16px; }
@media (max-width: 1080px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .value-grid { grid-template-columns: 1fr; } }

/* Office building (Google Street View embed) */
.bldg { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.bldg iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.split-img .bldg + figcaption a { color: var(--primary); text-decoration: underline; }
.office { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.office > * { min-width: 0; }
.office h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.office .inc { margin: 20px 0 26px; }
.office .inc a { color: var(--primary); }
@media (max-width: 1080px) { .office { grid-template-columns: 1fr; gap: 36px; } }

.bldg { aspect-ratio: 852 / 725; }
.bldg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-2); }
.bldg:hover img { transform: scale(1.04); }
/* CTA banner: when the section above is gray, keep the whole band gray (no white strip) */
.bg-alt + .cta-wrap, .bg-alt + script + .cta-wrap { background: var(--bg-alt); }
/* Tighter, consistent lead-in to the CTA banner */
section:has(+ .cta-wrap), section:has(+ script + .cta-wrap) { padding-bottom: 70px; }
.center .btn + .btn { margin-left: 10px; }
@media (max-width: 480px) { .center .btn + .btn { margin: 10px 0 0; } }
.cta-bg { background: url("../img/shara-desk.webp") center 30% / cover !important; }
/* Safety net: an icon can never render larger than its context, even if a rule is missing */
svg:not([width]):not(.g-word) { max-width: 2.5em; max-height: 2.5em; }

/* Sticky call / consultation bar (phones + tablets) */
.m-bar { display: none; }
@media (max-width: 1080px) {
  .m-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06);
    transform: translateY(110%); transition: transform .4s var(--ease); }
  .m-bar.show { transform: none; }
  .m-bar .btn { justify-content: center; padding: 12px 10px; font-size: 15px; }
  .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  body.menu-open .m-bar { transform: translateY(110%); }
}
@media (prefers-reduced-motion: reduce) { .m-bar { transition: none; } }

/* 7 services: first card spans two columns so rows stay full */
@media (min-width: 721px) { .svc-all .svc-grid > :first-child { grid-column: span 2; } }
.foot-bottom span a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom span a:hover { color: #0e76bc; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form button:disabled { opacity: .7; cursor: wait; }
.form-note.is-error { color: #c0392b; font-weight: 500; }
.form-done { padding: 34px 28px; border-radius: 16px; background: var(--bg-alt, #f2f7fb); text-align: center; }
.form-done h3 { margin: 0 0 10px; color: #0e76bc; }
.form-done p { margin: 0; }

/* Dark header + colored info bar (client request: more color where the header was white) */
.hdr-main { background: #0f0e26; }
.nav-row { border-bottom-color: rgba(255,255,255,.08); }
.main-nav a { color: #fff; }
.main-nav a:hover { color: #7fd6ff; }
.main-nav a span::after { background: #00aeef; }
.hdr-main .btn-soft { background: rgba(255,255,255,.1); color: #fff; }
.hdr-main .btn-soft:hover { background: rgba(255,255,255,.18); }
.hdr-main .menu-btn { background: rgba(255,255,255,.1); color: #fff; }
.hdr-main.is-scroll { box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.topbar { background: linear-gradient(90deg, #0b4f86 0%, #0e76bc 55%, #0a8fd1 100%); border-bottom: 0; color: #fff; }
.topbar a, .topbar span { color: #fff; }
.topbar svg { color: #bfeaff; }
.topbar a:hover { color: #d9f3ff; }
.topbar .hdr-divider { background: rgba(255,255,255,.3); }
.topbar .social-links a { color: #fff; }
.topbar .social-links a:hover { color: #bfeaff; }
