/* ============================================================
   MS Accounting & Advisory — Revamp
   Brand palette: navy + purple→magenta gradient + cyan · Poppins
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f3f5f8;
  --navy: #0d1b2a;
  --navy-2: #122335;
  --purple: #72308e;
  --purple-deep: #4e1f63;
  --magenta: #b81d7a;
  --cyan: #00b4d8;
  --text: #3d4854;
  --muted: #7a8694;
  --line: rgba(13, 27, 42, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --grad: linear-gradient(120deg, #72308e 0%, #b81d7a 100%);

  --ff: "Poppins", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  overflow-x: hidden;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

a { color: inherit; text-decoration: none; }
em { font-style: normal; }
::selection { background: var(--magenta); color: #fff; }
img { max-width: 100%; display: block; }

/* gradient accent text */
.hero__title .ser,
.h-display em,
.about__statement em,
.process__title em,
.sectors__list em,
.contact__title .ser,
.footer__logo em,
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- GRAIN ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none;
  opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(2) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-4%, 3%); } }

/* ---------- CURSOR ---------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; }
.cursor { width: 7px; height: 7px; background: var(--magenta); transform: translate(-50%, -50%); }
.cursor-ring {
  width: 44px; height: 44px; border: 1px solid rgba(114,48,142,0.5); transform: translate(-50%, -50%);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  display: grid; place-items: center;
}
.cursor-label { font-size: 11px; letter-spacing: .04em; color: #fff; opacity: 0; transition: opacity .25s ease; font-weight: 500; }
body.cursor-hover .cursor-ring { width: 76px; height: 76px; background: var(--magenta); border-color: transparent; }
body.cursor-hover .cursor { opacity: 0; }
body.cursor-label .cursor-ring { width: 80px; height: 80px; background: var(--navy); border-color: transparent; }
body.cursor-label .cursor-label { opacity: 1; }
body.cursor-label .cursor { opacity: 0; }
@media (hover: none) { .cursor, .cursor-ring { display: none; } }

/* ---------- PRELOADER ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--navy); display: grid; place-items: center; color: #fff; }
.preloader__inner { text-align: center; width: min(86vw, 480px); }
.preloader__logo { width: min(80vw, 440px); height: auto; margin: 0 auto 2rem; display: block; }
.preloader__bar { height: 2px; width: 100%; background: rgba(255,255,255,0.2); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--magenta)); }
.preloader__count { margin-top: 1rem; font-size: 14px; letter-spacing: .1em; opacity: .7; }
.preloader__count sup { font-size: 9px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--pad); color: #fff;
  transition: transform .5s var(--ease), background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav.is-solid {
  background: rgba(255,255,255,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--navy); box-shadow: 0 6px 30px rgba(13,27,42,.07); padding-top: .7rem; padding-bottom: .7rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 92px; width: auto; transition: height .4s ease; }
.nav.is-solid .nav__logo img { height: 80px; }
.nav__logo .logo-light { display: block; }
.nav__logo .logo-dark { display: none; }
.nav.is-solid .nav__logo .logo-light { display: none; }
.nav.is-solid .nav__logo .logo-dark { display: block; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a { font-size: 14px; font-weight: 500; letter-spacing: .01em; position: relative; padding: .2rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--magenta); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { font-size: 14px; font-weight: 500; letter-spacing: .01em; background: var(--grad); color: #fff; padding: .7rem 1.3rem; border-radius: 100px; }
.nav__burger { display: none; }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 790; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: .2rem;
  padding: var(--pad); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease);
}
.mobile-menu.is-open { clip-path: inset(0 0 0% 0); }
.mobile-menu a { font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.mobile-menu__meta { margin-top: 2rem; display: flex; flex-direction: column; gap: .4rem; font-size: 14px; opacity: .8; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; position: relative;
  padding: 1rem 1.9rem; border-radius: 100px; font-size: 15px; font-weight: 500; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; will-change: transform; color: #fff;
}
.btn span { position: relative; z-index: 2; }
.btn--lime { background: var(--grad); color: #fff; }
.btn--lime::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--navy); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--lime:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line); color: var(--navy); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--navy); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--ghost:hover { color: #fff; border-color: var(--navy); }
.btn--ghost:hover::before { transform: translateY(0); }
.hero .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .btn--ghost::before { background: #fff; }
.hero .btn--ghost:hover { color: var(--navy); }

/* ---------- SECTION HEADS ---------- */
.section-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 2.5rem; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.section-head__index { font-weight: 600; font-size: 14px; color: var(--magenta); }
.section-head__label { position: relative; padding-left: 1rem; }
.section-head__label::before { content: ""; position: absolute; left: 0; top: 50%; width: .5rem; height: 1px; background: var(--muted); }
.section-head--light, .section-head--light .section-head__label { color: rgba(255,255,255,0.7); }
.section-head--light .section-head__index { color: var(--cyan); }

.h-display { font-weight: 600; font-size: clamp(2.4rem, 7vw, 5.5rem); line-height: 1.0; letter-spacing: -0.03em; color: var(--navy); }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100svh; position: relative; padding: 10rem var(--pad) 2.5rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: #fff; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(13,27,42,.78) 0%, rgba(13,27,42,.62) 45%, rgba(13,27,42,.9) 100%),
  linear-gradient(115deg, rgba(78,31,99,.55), rgba(184,29,122,.22) 55%, transparent); }
.hero__top, .hero__title, .hero__bottom { position: relative; z-index: 2; }

.hero__top { position: relative; }
.tag { display: inline-block; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.35); border-radius: 100px; padding: .55rem 1.1rem; color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.05); backdrop-filter: blur(4px); }

.hero__title { font-weight: 600; font-size: clamp(2rem, 5.1vw, 4.9rem); line-height: 1.05; letter-spacing: -0.035em; margin: auto 0; color: #fff; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .word { display: inline-block; will-change: transform; }

.hero__bottom { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; justify-content: space-between; }
.hero__lead { max-width: 42ch; font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255,255,255,0.85); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__scroll { position: absolute; left: 50%; bottom: 1.2rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,0.7); z-index: 3; }
.hero__scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.6); transform-origin: top; animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 40% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { background: var(--navy); color: #fff; padding: 1.5rem 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: 2.5rem; will-change: transform; }
.marquee__track span { font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.8rem); letter-spacing: -.01em; }
.marquee__track .dot { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: 1.4rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { padding: clamp(5rem, 12vw, 11rem) var(--pad); }
.about__statement { font-weight: 600; font-size: clamp(1.8rem, 5vw, 4.2rem); line-height: 1.12; letter-spacing: -0.025em; max-width: 20ch; margin-bottom: 5rem; color: var(--navy); }
.about__statement span { display: block; overflow: hidden; }
.about__statement [data-line] { display: block; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; border-top: 1px solid var(--line); padding-top: 2.5rem; }
.stat { display: flex; flex-direction: column; gap: .5rem; }
.stat__num { font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.stat__num { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: 13px; color: var(--muted); max-width: 22ch; line-height: 1.4; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(4rem, 10vw, 9rem) var(--pad); background: var(--navy); color: #fff; border-radius: 2.5rem 2.5rem 0 0; }
.services .section-head { color: rgba(255,255,255,.65); }
.services .section-head__index { color: var(--cyan); }
.services .section-head__label::before { background: rgba(255,255,255,.5); }

.services__intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; }
.services__intro .h-display { color: #fff; }
.services__tabs { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; padding: .3rem; }
.tab { background: none; border: none; color: #fff; font-family: var(--ff); font-size: 14px; font-weight: 500; padding: .6rem 1.2rem; border-radius: 100px; cursor: pointer; transition: .4s var(--ease); }
.tab.is-active { background: var(--grad); color: #fff; }

.services__list { border-top: 1px solid rgba(255,255,255,.16); }
.svc { position: relative; display: grid; grid-template-columns: 5rem 1fr; gap: 2rem; align-items: center; padding: 2.4rem 0; border-bottom: 1px solid rgba(255,255,255,.16); cursor: pointer; transition: padding .5s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; background: var(--grad); z-index: 0; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc > * { position: relative; z-index: 1; transition: color .4s var(--ease); }
.svc:hover::before { transform: scaleY(1); }
.svc:hover { padding-left: 1.5rem; padding-right: 1.5rem; }
.svc:hover > * { color: #fff; }
.svc__index { font-weight: 600; font-size: 1.1rem; color: var(--cyan); }
.svc:hover .svc__index { color: #fff; }
.svc__title { font-weight: 600; font-size: clamp(1.6rem, 4.2vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; }
.svc__desc { grid-column: 2; max-width: 60ch; color: rgba(255,255,255,.6); font-size: 15px; margin-top: .6rem; transition: color .4s var(--ease), opacity .4s; }
.svc:hover .svc__desc { color: rgba(255,255,255,.92); }
.svc__arrow { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; opacity: 0; transition: .4s var(--ease); z-index: 1; }
.svc:hover .svc__arrow { opacity: 1; right: 1.5rem; color: #fff; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--purple-deep); background-image: linear-gradient(160deg, #4e1f63 0%, #2a1140 55%, #6a1356 100%); color: #fff; padding: clamp(5rem, 12vw, 11rem) var(--pad); }
.process__title { font-weight: 600; font-size: clamp(2.2rem, 7vw, 5rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 4rem; }
.process__title em { background: linear-gradient(120deg, #ff7ac6, var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step { border-top: 1px solid rgba(255,255,255,.25); padding-top: 1.5rem; }
.step__num { font-weight: 700; font-size: 3rem; letter-spacing: -.03em; display: block; margin-bottom: 1.5rem; background: linear-gradient(120deg, #ff7ac6, var(--cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step h3 { font-weight: 600; font-size: 1.5rem; margin-bottom: .8rem; letter-spacing: -.01em; }
.step p { font-size: 15px; color: rgba(255,255,255,.72); max-width: 32ch; }

/* ============================================================
   TOOLS
   ============================================================ */
.tools { padding: clamp(4rem, 9vw, 7rem) var(--pad); text-align: center; }
.tools__label { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2.5rem; }
.tools__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); }
.tools__grid span { font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.8rem); letter-spacing: -.02em; color: var(--navy); opacity: .28; transition: opacity .4s var(--ease); cursor: default; }
.tools__grid span:hover { opacity: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors { padding: clamp(5rem, 12vw, 11rem) var(--pad); }
.sectors__title { margin-bottom: 3.5rem; }
.sectors__list { list-style: none; border-top: 1px solid var(--line); }
.sectors__list li { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: clamp(1.6rem, 5vw, 3.2rem); letter-spacing: -.03em; cursor: pointer; color: var(--navy); transition: padding .45s var(--ease), color .45s var(--ease); }
.sectors__list li i { font-style: normal; font-size: 1.3rem; opacity: 0; transform: translateX(-10px); transition: .45s var(--ease); color: var(--magenta); }
.sectors__list li:hover { padding-left: 1.5rem; }
.sectors__list li:hover span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sectors__list li:hover i { opacity: 1; transform: translateX(0); }

/* ============================================================
   SERVICE GROUPS (UK / USA toggle)
   ============================================================ */
.services__list.is-hidden { display: none; }

/* ============================================================
   TEAM
   ============================================================ */
.team { padding: clamp(5rem, 12vw, 11rem) var(--pad); background: var(--bg-2); }
.team__title { margin-bottom: 3.5rem; }
.team__grid { display: grid; grid-template-columns: repeat(2, minmax(320px, 500px));justify-content: center;gap: 2.5rem; }
.member { display: flex; flex-direction: column; background: var(--bg); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 20px 60px rgba(13,27,42,.08); transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.member:hover { transform: translateY(-8px); box-shadow: 0 30px 80px rgba(13,27,42,.16); }
.member__photo { position: relative; aspect-ratio: 3 / 3.5; overflow: hidden; background: var(--navy); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: grayscale(1) contrast(1.02); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover .member__photo img { filter: grayscale(0); transform: scale(1.04); }
.member__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(114,48,142,.35), rgba(184,29,122,.2)); opacity: 0; transition: opacity .6s var(--ease); }
.member:hover .member__photo::after { opacity: 1; }
.member__body { padding: 1.8rem clamp(1.5rem, 2.5vw, 2.4rem) 2.2rem; }
.member__name { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.02em; color: var(--navy); }
.member__role { font-weight: 500; font-size: .95rem; letter-spacing: .01em; margin: .35rem 0 1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.member__bio { font-size: .98rem; line-height: 1.65; color: var(--muted); }

/* ============================================================
   BLOG (teaser + listing + cards)
   ============================================================ */
.blogteaser { padding: clamp(5rem, 12vw, 11rem) var(--pad); }
.blogteaser__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3.5rem; }

.postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.postgrid--all { gap: clamp(1.5rem, 3vw, 2.5rem); }
.postcard { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 1.3rem; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.postcard:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(13,27,42,.12); border-color: transparent; }
.postcard__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.postcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.postcard:hover .postcard__img img { transform: scale(1.06); }
.postcard__body { padding: 1.6rem 1.5rem 1.8rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.postcard__date { font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--magenta); }
.postcard__title { font-weight: 600; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; color: var(--navy); }
.postcard__excerpt { font-size: .95rem; line-height: 1.6; color: var(--muted); flex: 1; }
.postcard__more { font-size: .9rem; font-weight: 500; color: var(--navy); margin-top: .4rem; }

/* ============================================================
   INNER PAGES (blog list / article)
   ============================================================ */
.page { padding-top: 8rem; }
.pagehero { padding: clamp(3rem, 8vw, 6rem) var(--pad) clamp(2rem, 5vw, 3.5rem); }
.pagehero__title { font-weight: 600; font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1.0; letter-spacing: -.035em; color: var(--navy); }
.pagehero__title em { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pagehero__lead { margin-top: 1.5rem; max-width: 52ch; font-size: 1.1rem; color: var(--muted); }
.bloglist { padding: 0 var(--pad) clamp(5rem, 12vw, 10rem); }
.bloglist__empty { color: var(--muted); }

.article { max-width: 820px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.articlehead { padding: clamp(2rem, 6vw, 4rem) 0 2rem; }
.articlehead__back { font-size: .9rem; font-weight: 500; color: var(--magenta); display: inline-block; margin-bottom: 2rem; }
.articlehead__date { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.articlehead__title { font-weight: 600; font-size: clamp(2rem, 5.5vw, 3.6rem); line-height: 1.08; letter-spacing: -.03em; color: var(--navy); margin: 1rem 0; }
.articlehead__lead { font-size: 1.2rem; line-height: 1.6; color: var(--muted); }
.article__cover { border-radius: 1.3rem; overflow: hidden; margin: 1rem 0 2.5rem; }
.article__cover img { width: 100%; display: block; }
.article__body { font-size: 1.1rem; line-height: 1.8; color: var(--text); }
.article__body h2 { font-weight: 600; font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -.02em; color: var(--navy); margin: 2.5rem 0 1rem; }
.article__body h3 { font-weight: 600; font-size: 1.3rem; color: var(--navy); margin: 2rem 0 .8rem; }
.article__body p { margin-bottom: 1.4rem; }
.article__body a { color: var(--magenta); text-decoration: underline; text-underline-offset: 3px; }
.article__body ul, .article__body ol { margin: 0 0 1.4rem 1.3rem; }
.article__body li { margin-bottom: .5rem; }
.article__body blockquote { border-left: 3px solid var(--magenta); padding-left: 1.2rem; margin: 1.6rem 0; font-style: italic; color: var(--navy); }
.related { padding: clamp(3rem, 8vw, 6rem) 0 clamp(5rem, 12vw, 9rem); }

/* ============================================================
   QUOTE
   ============================================================ */
.quote { padding: clamp(5rem, 14vw, 13rem) var(--pad); background: var(--bg-2); }
.quote__text { font-weight: 600; font-size: clamp(1.7rem, 5vw, 3.8rem); line-height: 1.2; letter-spacing: -.02em; max-width: 24ch; margin: 0 auto; text-align: center; color: var(--navy); }
.quote__text .w { display: inline-block; opacity: .14; transition: opacity .4s; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--navy); color: #fff; padding: clamp(5rem, 13vw, 12rem) var(--pad); position: relative; overflow: hidden; }
.contact::after { content: ""; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(184,29,122,.4), transparent 65%); top: -20%; right: -15%; filter: blur(40px); pointer-events: none; }
.contact__inner { text-align: center; position: relative; z-index: 1; }
.contact__eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 1.5rem; }
.contact__title { font-weight: 600; font-size: clamp(2.8rem, 11vw, 8.5rem); line-height: .95; letter-spacing: -.035em; }
.contact__title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.contact__title .word { display: inline-block; }
.contact__big { display: inline-block; margin: 2.5rem 0; font-weight: 500; font-size: clamp(1.3rem, 4vw, 2.6rem); position: relative; color: #fff; letter-spacing: -.01em; }
.contact__big::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.contact__big:hover::after { transform: scaleX(1); transform-origin: left; }
.contact__row { display: flex; align-items: center; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.contact__meta { font-size: 13px; color: rgba(255,255,255,.5); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy); color: #fff; padding: 4rem var(--pad) 0; position: relative; overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; border-top: 1px solid rgba(255,255,255,.16); padding-top: 4rem; padding-bottom: 4rem; }
.footer__logo-img { height: 128px; width: auto; }
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer__cols h4 { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.footer__cols a, .footer__cols span { display: block; font-size: 15px; color: rgba(255,255,255,.85); margin-bottom: .5rem; transition: color .3s; }
.footer__cols a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 0; font-size: 12px; color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.12); position: relative; z-index: 2; }
.footer__big { font-weight: 700; font-size: clamp(3rem, 19vw, 17rem); line-height: .8; text-align: center; color: rgba(255,255,255,.05); margin-top: 1rem; white-space: nowrap; letter-spacing: -.04em; }

/* ============================================================
   FLOATING ACTION BUTTONS (WhatsApp / chat)
   ============================================================ */
.fab {
    position: fixed;

    right: 1.5rem;
    top: 50%;
    bottom: auto;
    left: auto;

    margin-top: -30px;

    z-index: 700;

    width: 60px;
    height: 60px;
    border-radius: 50%;

    display: grid;
    place-items: center;
    color: #fff;

    box-shadow: 0 12px 30px rgba(13, 27, 42, .28);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    animation: fabIn .6s var(--ease) .8s both;
}

.fab:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 18px 40px rgba(13, 27, 42, .35);
}

.fab--whatsapp {
  background: #25d366;
}

.fab--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: fabPulse 2.4s ease-out infinite;
}

.fab--raised {
  bottom: auto;
}

@keyframes fabPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes fabIn {
  from {
    opacity: 0;
    transform: scale(.4) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 560px) {
  .fab {
    width: 54px;
    height: 54px;
    right: 1rem;
    top: 50%;
    bottom: auto;
    margin-top: -27px;
  }

  .fab--raised {
    bottom: auto;
  }
}
/* lift above the tawk.to bubble when live chat is enabled */
.fab--raised { bottom: 6.2rem; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes fabIn { from { opacity: 0; transform: scale(.4) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@media (max-width: 560px) { .fab { width: 54px; height: 54px; right: 1rem; bottom: 1rem; } .fab--raised { bottom: 5.4rem; } }

/* ============================================================
   REVEAL UTILITIES
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-line] { display: inline-block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .4rem; }
  .nav__burger span { width: 26px; height: 2px; background: currentColor; transition: .4s var(--ease); }
  .nav__burger.is-open span:first-child { transform: translateY(7px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
  .process__steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc { grid-template-columns: 3rem 1fr; gap: 1rem; }
  .svc__desc { grid-column: 1 / -1; }
  .services__intro { flex-direction: column; align-items: flex-start; }
  .team__grid { grid-template-columns: 1fr; gap: 2rem; max-width: 480px; }
  .postgrid { grid-template-columns: 1fr; }
  .postgrid--all { grid-template-columns: repeat(2, 1fr); }
  .blogteaser__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr; }
  .postgrid--all { grid-template-columns: 1fr; }
  .hero { padding-top: 8.5rem; }
  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav__logo img { height: 76px; }

  .services__tabs {
    display: flex;
    width: 100%;
  }

  .services__tabs .tab {
    flex: 1;
    padding: 0.6rem 0.4rem;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
