/* =============================================================================
   tf-consult-it  ·  Wexford Digital  ·  Editorial Numbered-Section Consultancy
   LIKENESS build of the Crowdy "Consult" IT-consulting demo. Original CSS.
   ============================================================================= */

/* ---- fonts ---- */
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/spectral-500.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/spectral-600.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/spectral-700.woff2") format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/rethink-var.woff2") format("woff2"); }

/* ---- tokens ---- */
:root {
  --navy: #0A2440;
  --navy-deep: #07203A;
  --accent: #F0731F;
  --accent-ink: #fff;
  --card-blue: #DCE9F1;
  --sky: #63BCE0;
  --page: #F6F7F9;
  --slate: #5A6B78;
  --white: #ffffff;
  --sage: #CDDAC0;
  --tint-sky: #DCE9F1;
  --blush: #F0DED6;
  --line: #E4E8EC;
  --line-dark: rgba(255,255,255,.16);
  --serif: "Spectral", Georgia, serif;
  --sans: "Rethink Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1400px;
  --t: .3s;
  --ease: cubic-bezier(.4,0,.2,1);
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow: 0 24px 60px -30px rgba(10,36,64,.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 700; line-height: 1.02; color: var(--navy); letter-spacing: -.01em; }
p { color: var(--slate); }
svg { display: block; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---- eyebrow (// 01 - ABOUT US) ---- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-style: italic; color: var(--navy); }
.eyebrow .slash { color: var(--accent); font-style: normal; font-weight: 800; letter-spacing: 0; }
.eyebrow--light { color: rgba(255,255,255,.9); }

/* ---- buttons: split pill + circle-arrow ---- */
.wcbtn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.wcbtn__pill { position: relative; overflow: hidden; display: inline-flex; align-items: center; padding: 15px 30px; border-radius: 40px; color: #fff; background: var(--navy); z-index: 0; transition: color var(--t) var(--ease); }
.wcbtn__pill::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform var(--t) var(--ease); z-index: -1; }
.wcbtn:hover .wcbtn__pill::before { transform: translateY(0); }
.wcbtn__circ { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background var(--t) var(--ease), transform var(--t) var(--ease); }
.wcbtn__circ svg { width: 20px; height: 20px; }
.wcbtn:hover .wcbtn__circ { background: var(--accent); transform: rotate(45deg); }
/* accent variant (hero) */
.wcbtn--accent .wcbtn__pill { background: var(--accent); }
.wcbtn--accent .wcbtn__pill::before { background: #fff; }
.wcbtn--accent:hover .wcbtn__pill { color: var(--navy); }
.wcbtn--accent .wcbtn__circ { background: var(--accent); }
.wcbtn--accent:hover .wcbtn__circ { background: #fff; color: var(--accent); }
/* ghost variant (dark bg) */
.wcbtn--ghost .wcbtn__pill { background: transparent; border: 1.5px solid var(--line-dark); color: #fff; }
.wcbtn--ghost .wcbtn__pill::before { background: var(--accent); }
.wcbtn--ghost .wcbtn__circ { background: transparent; border: 1.5px solid var(--line-dark); }
.wcbtn--ghost:hover .wcbtn__circ { background: var(--accent); border-color: var(--accent); }

/* ---- spark mark ---- */
.spark { display: inline-flex; width: 42px; height: 42px; flex: 0 0 auto; color: var(--accent); }
.spark svg { width: 100%; height: 100%; }

/* =============================================================================
   HEADER (92px, transparent, non-sticky)
   ============================================================================= */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 40; height: 92px; display: flex; align-items: center; }
.header .wrap { display: flex; align-items: center; gap: 24px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--navy); letter-spacing: -.01em; }
.brand .spark { width: 26px; height: 26px; }
.brand--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 34px; margin: 0 auto; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; font-family: var(--sans); font-weight: 500; font-size: 1rem; color: var(--navy); transition: color var(--t) var(--ease); }
.nav__link svg { width: 15px; height: 15px; opacity: .7; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--accent); }
.header__util { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.icon-btn { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; border: none; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }
.header__pill { display: inline-flex; align-items: center; padding: 15px 30px; border-radius: 40px; background: var(--navy); color: #fff; font-weight: 600; font-size: 1rem; position: relative; overflow: hidden; z-index: 0; transition: color var(--t) var(--ease); }
.header__pill::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(101%); transition: transform var(--t) var(--ease); z-index: -1; }
.header__pill:hover::before { transform: translateY(0); }
.nav-toggle { display: none; }

/* mobile panel (visibility toggle, not translate-only) */
.mobile-panel { position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); background: var(--navy); color: #fff; transform: translateX(100%); visibility: hidden; transition: transform var(--t) var(--ease), visibility 0s var(--t); z-index: 200; padding: 26px; display: flex; flex-direction: column; }
.mobile-panel.open { transform: translateX(0); visibility: visible; transition: transform var(--t) var(--ease); }
.mobile-panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-panel__close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-dark); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mobile-panel__close svg { width: 20px; height: 20px; }
.mobile-panel nav { display: flex; flex-direction: column; gap: 2px; }
.mobile-panel nav a { padding: 14px 4px; font-weight: 500; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); color: #fff; }
.mobile-panel .header__pill { margin-top: 22px; justify-content: center; text-align: center; }

/* =============================================================================
   HERO
   ============================================================================= */
.hero { position: relative; padding: 92px 28px 40px; }
.hero__grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 692fr 667fr; gap: 25px; align-items: stretch; }

/* left dark panel */
.hero__panel { position: relative; background: var(--navy); border-radius: var(--r-lg); padding: 62px; overflow: hidden; min-height: 745px; display: flex; flex-direction: column; justify-content: center; }
.hero__watermark { position: absolute; right: 6%; bottom: 4%; font-family: var(--serif); font-weight: 700; font-size: 340px; line-height: 1; color: rgba(255,255,255,.035); pointer-events: none; user-select: none; }
.hero__panel .spark { margin-bottom: 18px; }
.hero__eyebrow { display: inline-flex; align-items: center; align-self: flex-start; padding: 9px 20px; border: 1.5px solid var(--line-dark); border-radius: 40px; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 26px; }
.hero__h1 { font-size: 80px; line-height: 80px; font-weight: 700; color: #fff; max-width: 520px; letter-spacing: -.02em; }
.hero__sub { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 400px; margin: 24px 0 34px; }
.hero__cta { display: inline-flex; align-items: center; gap: 12px; }

/* right cluster */
.hero__cluster { position: relative; min-height: 745px; }
.hero__photo { position: absolute; top: 0; left: 0; width: 96%; height: 385px; border-radius: var(--r-md); object-fit: cover; }
.hero__stats { position: absolute; left: 0; bottom: 0; width: 66%; display: flex; }
.hero__statcard { position: relative; flex: 1; background: var(--card-blue); border-radius: var(--r-md); padding: 30px 26px; min-height: 300px; display: flex; flex-direction: column; }
.hero__statcard:first-child { border-top-right-radius: 6px; border-bottom-right-radius: 6px; margin-right: 12px; }
.hero__statcard:last-child { border-top-left-radius: 6px; border-bottom-left-radius: 6px; }
/* puzzle notch bridging the two cards */
.hero__statcard:first-child::after { content: ""; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); width: 24px; height: 44px; background: var(--card-blue); border-radius: 8px; z-index: 2; }
.hero__statnum { font-family: var(--serif); font-weight: 700; font-size: 3.2rem; color: var(--navy); line-height: 1; }
.hero__statnum sup { font-size: .42em; font-weight: 600; top: -.9em; margin-left: 2px; }
.hero__statlabel { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--navy); margin-top: 12px; }
.hero__statfoot { margin-top: auto; color: var(--navy); }
.hero__statfoot svg { width: 40px; height: 40px; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--card-blue); margin-left: -10px; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; }
.avatars span:first-child { margin-left: 0; }
.avatars .a1 { background: #C88A5A; } .avatars .a2 { background: #6E8FA6; } .avatars .a3 { background: #9C6B8A; }
.avatars .more { background: var(--navy); }
.hero__portrait { position: absolute; right: -28px; bottom: 0; width: 30%; height: 430px; border-radius: var(--r-md); object-fit: cover; }

/* =============================================================================
   LOGO MARQUEE
   ============================================================================= */
.marquee { background: #F0F2F4; border-radius: var(--r-md); margin: 8px auto 0; max-width: 1440px; padding: 22px 30px; display: flex; align-items: center; gap: 30px; overflow: hidden; }
.marquee__label { flex: 0 0 190px; font-family: var(--sans); font-weight: 700; font-size: .92rem; color: var(--navy); line-height: 1.3; }
.marquee__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: mq 26s linear infinite; }
.marquee__logo { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: #9FAEB6; white-space: nowrap; letter-spacing: -.01em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* =============================================================================
   SECTIONS shared
   ============================================================================= */
section { position: relative; }
.sec { padding: 96px 0; }
.sec__head { max-width: 560px; }
.h-serif-3 { font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1.06; }
.h-serif-2 { font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1.06; }

/* ABOUT (// 01) */
.about { padding: 96px 0; }
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 44px; align-items: start; }
.about__lead-h { margin-top: 18px; }
.about__num { font-family: var(--serif); font-weight: 700; font-size: 7rem; line-height: .9; color: var(--navy); position: relative; display: inline-block; }
.about__num sup { font-size: .34em; font-weight: 600; top: -1.7em; }
.about__lead { margin: 20px 0 30px; color: var(--slate); }
.about__lead a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.about__quote { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.about__quote .qmark { width: 44px; height: 44px; color: #C6D0D8; }
.about__quote p { color: var(--slate); font-size: 1.05rem; }
.about__quote cite { display: block; margin-top: 12px; font-style: normal; }
.about__quote cite b { font-family: var(--serif); color: var(--navy); font-size: 1.05rem; }
.about__quote cite span { display: block; font-size: .9rem; color: var(--slate); }
.about__portrait { border-radius: var(--r-md); overflow: hidden; height: 520px; }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }

/* SERVICES SLIDER (// 02) */
.svc { padding: 20px 0 96px; }
.svc__viewport { max-width: 1440px; margin: 0 auto; overflow: hidden; border-radius: var(--r-lg); }
.svc__track { display: flex; transition: transform .6s var(--ease); }
.svc__slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; }
.svc__slide.t-sage { background: var(--sage); }
.svc__slide.t-sky { background: var(--tint-sky); }
.svc__slide.t-blush { background: var(--blush); }
.svc__copy { padding: 70px 64px; display: flex; flex-direction: column; justify-content: center; }
.svc__rule { width: 40px; height: 3px; background: var(--accent); margin: 30px 0 22px; }
.svc__title { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.02; }
.svc__desc { margin: 18px 0 32px; color: #45535D; max-width: 340px; }
.svc__media { min-height: 520px; padding: 24px; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.svc__nav { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.svc__dot { width: 10px; height: 10px; border-radius: 50%; background: #C6D0D8; border: none; cursor: pointer; transition: background var(--t) var(--ease), width var(--t) var(--ease); }
.svc__dot.active { background: var(--accent); width: 28px; border-radius: 6px; }

/* STATS band */
.stats { padding: 90px 0; text-align: center; }
.stats__head { max-width: 720px; margin: 0 auto 60px; }
.stats__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 12px 18px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat__num { font-family: var(--serif); font-weight: 700; font-size: 4.4rem; line-height: 1; color: var(--navy); }
.stat__num sup { font-size: .34em; font-weight: 600; top: -1.8em; }
.stat:nth-child(even) .stat__num { color: #8C9BA5; }
.stat__label { margin-top: 14px; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }

/* SUCCESS (// 04) */
.success { padding: 40px 0 96px; }
.success__panel { max-width: 1440px; margin: 0 auto; background: var(--card-blue); border-radius: var(--r-lg); padding: 70px 64px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: center; }
.success__left h2 { margin: 22px 0 30px; }
.donut { position: relative; width: 300px; height: 300px; margin: 0 auto; }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut__ring { }
.donut__label { position: absolute; left: 0; right: 0; text-align: center; font-family: var(--sans); font-weight: 600; color: var(--navy); }
.donut__label.l1 { top: 8%; } .donut__label.l2 { top: 33%; } .donut__label.l3 { top: 60%; }
.success__legend { border-left: 1px solid rgba(10,36,64,.12); padding-left: 30px; }
.success__legend li { list-style: none; padding: 14px 0; font-weight: 500; color: var(--navy); font-size: 1.1rem; }

/* VIDEO band */
.video { padding: 20px 0 96px; }
.video__cover { position: relative; max-width: 1440px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; height: 560px; }
.video__cover img { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; background: var(--white); color: var(--navy); border: none; cursor: pointer; display: grid; place-items: center; }
.video__play svg { width: 34px; height: 34px; }
.video__play::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* WORK PROCESS (// 06) */
.process { padding: 90px 0; }
.process__grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; align-items: start; }
.process__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 40px 34px; min-height: 320px; display: flex; flex-direction: column; }
.pcard__num { font-family: var(--serif); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--navy); position: relative; display: inline-block; margin-bottom: auto; }
.pcard__num .step { position: absolute; left: 2px; top: 50%; transform: translateY(-50%); font-family: var(--sans); font-weight: 800; font-size: .5rem; letter-spacing: .1em; color: var(--navy); }
.pcard__num .digits { margin-left: 30px; }
.pcard__title { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; margin: 30px 0 16px; line-height: 1.1; }
.pcard__desc { color: var(--slate); font-size: .98rem; }

/* FAQ */
.faq { background: var(--page); border-radius: var(--r-lg); padding: 80px 0; margin: 40px auto; max-width: 1440px; }
.faq__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.faq__list { max-width: 1290px; margin: 0 auto; padding: 0 28px; display: flex; flex-direction: column; gap: 18px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 30px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--navy); }
.faq__toggle { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--navy); }
.faq__toggle svg { width: 18px; height: 18px; }
.faq__toggle .minus { display: none; }
.faq__item.open .faq__toggle .minus { display: block; }
.faq__item.open .faq__toggle .plus { display: none; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__item.open .faq__a { max-height: 320px; }
.faq__a p { padding: 0 30px 26px; color: var(--slate); }

/* BLOG (// 08) */
.blog { padding: 90px 0; }
.blog__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: start; }
.blog__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.bcard__img { border-radius: var(--r-md); overflow: hidden; height: 250px; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__meta { display: flex; align-items: center; gap: 14px; margin: 22px 0 14px; }
.chip { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--page); color: var(--navy); padding: 6px 12px; border-radius: 6px; }
.bcard__date { font-size: .9rem; color: var(--slate); }
.bcard__title { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; line-height: 1.12; }
.bcard:hover .bcard__title { color: var(--accent); }

/* =============================================================================
   FOOTER
   ============================================================================= */
.footcta { background: var(--navy-deep); color: #fff; border-top-left-radius: var(--r-lg); border-top-right-radius: var(--r-lg); }
.footcta__grid { display: grid; grid-template-columns: 1fr auto 2fr; gap: 40px; padding: 84px 0 40px; align-items: start; }
.footcta__l h2 { color: #fff; }
.footcta__l p { color: rgba(255,255,255,.66); margin: 22px 0 30px; max-width: 340px; }
.goup { align-self: stretch; display: flex; align-items: center; justify-content: center; }
.goup a { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); border: 1px solid var(--line-dark); border-radius: 40px; padding: 22px 10px; }
.goup a svg { width: 16px; height: 16px; transform: rotate(90deg); }
.footcta__cols { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 30px; }
.fcol h4 { font-family: var(--serif); color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.fcol a, .fcol p, .fcol address { display: block; color: rgba(255,255,255,.62); font-style: normal; padding: 6px 0; font-size: .98rem; transition: color var(--t) var(--ease); }
.fcol a:hover { color: var(--accent); }
.fcol .brand { display: inline-flex; padding: 0; font-size: 1.5rem; }
.fcol .brand:hover { color: #fff; }
.fcol--news h4 { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.news { display: flex; align-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: 40px; padding: 6px 6px 6px 22px; margin-top: 18px; max-width: 320px; }
.news input { flex: 1; background: none; border: none; color: #fff; font-family: var(--sans); font-size: .95rem; outline: none; }
.news input::placeholder { color: rgba(255,255,255,.5); }
.news button { width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; border: none; display: grid; place-items: center; cursor: pointer; flex: 0 0 auto; }
.news button svg { width: 20px; height: 20px; }
.footcta__blocks { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 30px; padding: 20px 0 0; }
.footbar { border-top: 1px solid var(--line-dark); padding: 26px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footbar__social { display: flex; gap: 12px; }
.footbar__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; }
.footbar__social svg { width: 18px; height: 18px; }
.footbar__meta { text-align: right; color: rgba(255,255,255,.6); font-size: .9rem; }
.footbar__meta b { color: #fff; }
.disclaimer { color: rgba(255,255,255,.42); font-size: .8rem; padding: 0 0 30px; max-width: 900px; }

/* scroll-to-top */
.totop { position: fixed; right: 26px; bottom: 26px; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; border: 2px solid var(--accent); display: grid; place-items: center; cursor: pointer; z-index: 90; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s var(--t); }
.totop.show { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.totop svg { width: 20px; height: 20px; }

/* =============================================================================
   INNER PAGE templates
   ============================================================================= */
.pbanner { padding: 150px 0 70px; }
.pbanner__eyebrow { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); }
.pbanner__title { font-family: var(--sans); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; color: var(--navy); letter-spacing: -.02em; margin-top: 20px; max-width: 900px; }
.pbanner__crumb { margin-top: 22px; font-size: .95rem; color: var(--slate); }
.pbanner__crumb a:hover { color: var(--accent); }

/* editorial body */
.editorial { padding: 30px 0 90px; }
.editorial__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; margin-bottom: 56px; }
.editorial__intro h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.08; }
.editorial__intro p { margin-bottom: 16px; }
.editorial__figs { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 40px 0; }
.editorial__figs img { border-radius: var(--r-md); height: 320px; width: 100%; object-fit: cover; }

/* service detail layout */
.sdetail { padding: 30px 0 90px; }
.sdetail__grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 50px; align-items: start; }
.sdetail__body h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 34px 0 16px; }
.sdetail__body p { margin-bottom: 16px; }
.sdetail__body img { border-radius: var(--r-md); margin: 10px 0 24px; }
.sdetail__list { list-style: none; margin: 20px 0; display: grid; gap: 14px; }
.sdetail__list li { display: flex; gap: 12px; color: var(--navy); font-weight: 500; }
.sdetail__list svg { width: 24px; height: 24px; color: var(--accent); flex: 0 0 auto; }
.sidebar { position: sticky; top: 30px; display: grid; gap: 24px; }
.sidebar__card { background: var(--page); border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px; }
.sidebar__card h3 { font-size: 1.3rem; margin-bottom: 18px; }
.sidebar__links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; color: var(--navy); }
.sidebar__links a:last-child { border-bottom: none; }
.sidebar__links svg { width: 18px; height: 18px; color: var(--accent); }
.sidebar__cta { background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 34px 30px; }
.sidebar__cta h3 { color: #fff; }
.sidebar__cta p { color: rgba(255,255,255,.7); margin: 12px 0 22px; }

/* contact */
.contactmap { position: relative; padding: 0 0 90px; }
.contactmap__map { max-width: 1440px; margin: 0 auto; height: 480px; border-radius: var(--r-lg); overflow: hidden; background: #E8EDF0; position: relative; }
.contactmap__map svg { width: 100%; height: 100%; }
.contactmap__card { position: absolute; left: 60px; top: 60px; width: 340px; background: var(--sage); border-radius: var(--r-md); padding: 40px 34px; box-shadow: var(--shadow); }
.contactmap__card .brand { margin-bottom: 26px; }
.contactmap__card h3 { font-size: 1.5rem; margin-bottom: 18px; }
.contactmap__row { display: block; padding: 8px 0; color: var(--navy); font-weight: 500; }
.contactform { padding: 0 0 100px; }
.contactform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contactform h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.contactform p { margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font-family: var(--sans); font-size: 1rem; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); outline: none; transition: border-color var(--t) var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }
.form__ok { display: none; background: var(--sage); border-radius: var(--r-md); padding: 30px; color: var(--navy); font-weight: 600; }
.form__ok.show { display: block; }

/* =============================================================================
   REVEALS
   ============================================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1180px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { min-height: 0; padding: 48px 40px; }
  .hero__h1 { font-size: 60px; line-height: 60px; }
  .hero__cluster { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero__photo { position: static; width: 100%; height: 320px; grid-column: 1 / -1; }
  .hero__stats { position: static; width: 100%; grid-column: 1 / -1; }
  .hero__portrait { position: static; width: 100%; height: 320px; grid-column: 1 / -1; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { height: 420px; }
  .svc__slide { grid-template-columns: 1fr; }
  .svc__media { min-height: 320px; }
  .process__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .success__panel { grid-template-columns: 1fr; }
  .success__legend { border-left: none; padding-left: 0; border-top: 1px solid rgba(10,36,64,.12); padding-top: 20px; }
  .footcta__grid { grid-template-columns: 1fr; }
  .goup { display: none; }
  .contactmap__card { position: static; width: auto; margin: 0 28px -60px; z-index: 3; }
  .contactmap__map { border-radius: 0; }
  .editorial__intro, .contactform__grid, .sdetail__grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .nav, .header__pill { display: none; }
  .nav-toggle { display: grid; }
  .header__util { gap: 10px; }
  .stats__row { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .stat { border-left: none; }
  .footcta__cols, .footcta__blocks { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .hero { padding: 92px 16px 30px; }
  .hero__h1 { font-size: 46px; line-height: 46px; }
  .hero__panel { padding: 40px 26px; }
  .hero__cluster { grid-template-columns: 1fr; }
  .marquee { flex-direction: column; align-items: flex-start; gap: 16px; }
  .marquee__label { flex: none; }
  .about__num { font-size: 5rem; }
  .svc__copy { padding: 44px 30px; }
  .process__cards, .blog__cards { grid-template-columns: 1fr; }
  .stats__row { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 3.4rem; }
  .footcta__cols, .footcta__blocks { grid-template-columns: 1fr; }
  .footbar { flex-direction: column; align-items: flex-start; }
  .footbar__meta { text-align: left; }
  .faq__q { font-size: 1.1rem; padding: 20px 22px; }
  .totop { right: 16px; bottom: 16px; }
}

/* =============================================================================
   REDUCED MOTION  ·  complete static page
   ============================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none; }
  .video__play::after { animation: none; }
  .svc__track { transition: none; }
  * { transition-duration: .001ms !important; }
}
