/* Sprintive – light theme with a deep-blue brand palette.
   Brand: #193A9B (deep blue: buttons, banner overlay, shadows) and #ABBDF2 (soft blue: highlights, rings, light buttons on banners).
   Navy text #0F172A, light tint #F1F4FD. Photo banners (.banner) use a #193A9B overlay so white text stays readable. */

:root {
  --paper: #F1F4FD;
  --white: #fff;
  --ink: #0F172A;
  --muted: #475569;
  --gray: #64748B;
  --line: #E2E8F0;
  --brand: #193A9B;
  --brand-d: #122C76;
  --brand-l: #ABBDF2;
  --accent: #193A9B;
  --accent-d: #193A9B;
  --violet: #3B5BC4;
  --teal: #14B8A6;
  --tint: #DCE4FA;
  --err: #C62840;
  --ok: #0A6B4A;
  --grad: linear-gradient(135deg,#193A9B,#3B5BC4);
  --grad-soft: linear-gradient(135deg,#E8EDFC,#D3DCF8);
  --font-d: 'Bricolage Grotesque',system-ui,sans-serif;
  --font-b: 'DM Sans',system-ui,sans-serif;
  --r: 10px;
  --w: 1160px;
  --sh: 0 1px 2px rgba(15,23,42,.05),0 10px 28px rgba(25,58,155,.08);
  --sh-lg: 0 2px 4px rgba(15,23,42,.05),0 18px 40px rgba(25,58,155,.20);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font: 400 1.0625rem/1.65 var(--font-b);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-d);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.3rem,5.4vw,4rem);
}

h2 {
  font-size: clamp(1.7rem,3.4vw,2.5rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
  max-width: 68ch;
}

a {
  color: var(--accent-d);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: .6rem 1rem;
  z-index: 200;
  border: 1px solid var(--line);
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--w),100% - 2.5rem);
  margin-inline: auto;
}

section {
  padding: clamp(3.2rem,7vw,5.5rem) 0;
}

.tint {
  background: var(--paper);
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

.sec-head {
  max-width: 740px;
  margin-bottom: 2.2rem;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font: 600 .85rem var(--font-b);
  color: var(--accent-d);
  background: var(--grad-soft);
  border: 1px solid #ABBDF2;
  border-radius: 999px;
  padding: .3rem .85rem;
  margin-bottom: 1rem;
}

.badge svg {
  width: 15px;
  height: 15px;
}

/* icons */

svg.lucide {
  stroke-width: 2;
  flex: none;
}

/* header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--grad);
  opacity: .55;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links>li>a:not(.btn) {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  padding: .4rem 0;
  border-bottom: 2px solid transparent;
  transition: color .2s,border-color .2s;
}

.nav-links>li>a:not(.btn):hover {
  color: var(--accent-d);
  border-color: var(--accent);
}

.nav-links a[aria-current=page] {
  border-color: var(--accent);
}

.has-dd {
  position: relative;
  display: flex;
  align-items: center;
  gap: .15rem;
}

.dd-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--gray);
  padding: .4rem;
  display: grid;
  place-items: center;
}

.dd-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .2s;
}

.has-dd.open .dd-toggle svg {
  transform: rotate(180deg);
}

.dd {
  display: none;
  position: absolute;
  top: 100%;
  left: -1rem;
  width: min(600px,92vw);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-lg);
  list-style: none;
  margin: .4rem 0 0;
  padding: .6rem;
  grid-template-columns: 1fr 1fr;
  gap: .1rem;
}

.dd a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .7rem;
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  font-size: .95rem;
  transition: background .2s;
}

.dd a:hover,
.dd a:focus-visible {
  background: var(--paper);
}

.dd-ico {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: none;
}

.has-dd:hover .dd,
.has-dd.open .dd,
.has-dd:focus-within .dd {
  display: grid;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--r);
  padding: .5rem .8rem;
  font: inherit;
  cursor: pointer;
}

.menu-btn svg {
  width: 18px;
  height: 18px;
}

/* buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border-radius: 12px;
  font: 600 1rem var(--font-b);
  text-decoration: none;
  border: 2px solid var(--brand);
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(25,58,155,.38),0 2px 6px rgba(25,58,155,.22);
  transition: background .25s,border-color .25s,color .25s,transform .2s,box-shadow .25s;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform .2s;
}

.btn:hover {
  background: #2147B8;
  border-color: #2147B8;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(25,58,155,.46),0 0 0 4px rgba(171,189,242,.6);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:focus-visible {
  outline: 3px solid var(--brand-l);
  outline-offset: 3px;
}

.btn.line {
  background: #fff;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: 0 4px 14px rgba(25,58,155,.12);
}

.btn.line:hover {
  background: var(--brand-l);
  border-color: var(--brand-l);
  color: var(--brand);
  box-shadow: 0 12px 26px rgba(25,58,155,.28),0 0 0 4px rgba(171,189,242,.45);
}

.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.btn.sm {
  padding: .55rem 1rem;
  font-size: .95rem;
  border-radius: 10px;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem;
  margin-top: 1.6rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-d);
  padding: .5rem .3rem;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform .2s;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link:hover svg {
  transform: translate(2px,-2px);
}

/* hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem,7vw,5.5rem) 0 clamp(2.5rem,5vw,4rem);
  background: linear-gradient(180deg,#fff 0%,var(--paper) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -200px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(171,189,242,.35),rgba(25,58,155,0) 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  max-width: 18ch;
}

.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(25,58,155,.12));
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.8rem,6vw,4.5rem) 0;
  background: linear-gradient(180deg,#fff,var(--paper));
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(171,189,242,.30),rgba(171,189,242,0) 70%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.page-hero .wrap.has-art {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 2.5rem;
  align-items: center;
}

.page-hero .hero-art img {
  max-width: 420px;
  margin-left: auto;
}

.page-hero h1 {
  font-size: clamp(2.1rem,4.6vw,3.4rem);
  max-width: 22ch;
}

.crumb {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.crumb a {
  color: var(--muted);
}

.trust {
  font-size: .95rem;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  border-image: var(--grad) 1;
  padding-left: .9rem;
  margin-top: 1.8rem;
  max-width: 56ch;
}

/* visibility strip (homepage) */

.vis-strip {
  padding: 0 0 clamp(2.4rem,5vw,3.6rem);
  background: var(--paper);
}

.strip-title {
  font: 600 .9rem var(--font-b);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 1rem;
}

.vis-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
}

.vis-grid li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--sh);
  transition: transform .25s,box-shadow .25s,border-color .25s;
}

.vis-grid li:hover {
  transform: translateY(-3px);
  border-color: #ABBDF2;
  box-shadow: var(--sh-lg);
}

.vis-grid li:hover .ico::before {
  opacity: 1;
}

.vis-grid li:hover .ico svg {
  color: #fff;
}

.vis-grid small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  font-size: .88rem;
}

.vis-grid strong {
  font-size: .98rem;
  line-height: 1.3;
  display: block;
  margin-bottom: .15rem;
}

/* cards */

.ico {
  position: relative;
  isolation: isolate;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--grad-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.ico::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s;
  z-index: -1;
}

.ico svg {
  width: 22px;
  height: 22px;
  transition: color .25s,transform .25s;
}

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

.grid2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2.5rem;
}

.card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: border-color .25s,box-shadow .25s,transform .25s;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}

.card:hover {
  border-color: #ABBDF2;
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover .ico::before {
  opacity: 1;
}

.card:hover .ico svg {
  color: #fff;
  transform: scale(1.08);
}

.card h3 {
  margin: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.card .more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--accent-d);
  font-weight: 600;
  font-size: .95rem;
  margin-top: auto;
  padding-top: .3rem;
}

.card .more svg {
  width: 17px;
  height: 17px;
  transition: transform .2s;
}

.card:hover .more svg {
  transform: translateX(4px);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.4rem;
  counter-reset: s;
}

.steps li {
  padding-top: 1.1rem;
  background: var(--grad) top left/100% 3px no-repeat;
  border-radius: 2px;
  counter-increment: s;
}

.steps li::before {
  content: counter(s);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .7rem;
  box-shadow: 0 4px 12px rgba(25,58,155,.28);
}

.steps h3 {
  margin-bottom: .3rem;
}

.steps p {
  font-size: .96rem;
  color: var(--muted);
  margin: 0;
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  padding: .85rem 0 .85rem 2.1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat,var(--grad);
}

.list strong {
  font-family: var(--font-d);
}

.list span {
  display: block;
  color: var(--muted);
  font-size: .96rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.chips li {
  border: 1px solid #ABBDF2;
  border-radius: 999px;
  padding: .4rem 1rem;
  background: #fff;
  font-weight: 500;
  font-size: .96rem;
  transition: background .2s,border-color .2s;
}

.chips li:hover {
  background: var(--paper);
  border-color: var(--accent);
}

.chips a {
  text-decoration: none;
  color: inherit;
}

.note {
  font-size: .92rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid #ABBDF2;
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  padding: .9rem 1rem;
  max-width: 760px;
}

.tint .note {
  background: #fff;
}

.ph {
  background: #FFF8DC;
  border: 1px dashed #C9A400;
  border-radius: 4px;
  padding: .1rem .4rem;
  font-size: .95em;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

summary {
  cursor: pointer;
  font: 600 1.08rem var(--font-d);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .2s;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin: .7rem 0 0;
  color: var(--muted);
}

/* pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.4rem;
  align-items: start;
}

.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s,transform .25s;
}

.plan:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}

.plan.feat {
  border: 2px solid transparent;
  background: linear-gradient(#fff,#fff) padding-box,var(--grad) border-box;
  box-shadow: var(--sh-lg);
}

.plan h3 {
  margin-bottom: .2rem;
}

.price {
  font: 700 2.1rem var(--font-d);
  margin: .6rem 0 0;
}

.price small {
  font: 400 1rem var(--font-b);
  color: var(--muted);
}

.plan dl {
  margin: 1.2rem 0;
}

.plan dt {
  font-weight: 600;
  font-size: .88rem;
  color: var(--accent-d);
  margin-top: .8rem;
}

.plan dd {
  margin: .1rem 0 0;
  font-size: .95rem;
}

.plan .btn {
  justify-content: center;
  margin-top: auto;
}

/* portfolio */

.case {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--line);
}

.case-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.case h3 {
  margin-top: 1.8rem;
  font-size: 1.15rem;
}

.case h4 {
  margin: 1rem 0 .3rem;
  font-size: 1rem;
}

.case>.wrap>.btns {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.case ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: .95rem;
  display: block;
  overflow-x: auto;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: .6rem .8rem;
  text-align: left;
  white-space: nowrap;
}

th {
  background: var(--paper);
}

.bars {
  display: grid;
  gap: .6rem;
  margin: 1rem 0;
}

.bars div {
  display: grid;
  grid-template-columns: 230px 1fr;
  align-items: center;
  gap: .8rem;
  font-size: .92rem;
}

.bars i {
  display: block;
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg,#193A9B,#3B5BC4) 0 0/var(--v,0%) 100% no-repeat,var(--tint);
}

/* contact details */

.contact-list {
  list-style: none;
  margin: 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: .9rem;
}

.contact-list li {
  display: flex;
  gap: .9rem;
  align-items: center;
}

.contact-list small {
  display: block;
  color: var(--muted);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.3;
}

.contact-list a,
.contact-list span {
  font-weight: 500;
  word-break: break-word;
}

.contact-list.compact {
  margin-top: 1.4rem;
}

.contact-list.compact .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.contact-list li:hover .ico::before {
  opacity: 1;
}

.contact-list li:hover .ico svg {
  color: #fff;
}

.social {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  border: 1px solid #ABBDF2;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-d);
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  transition: background .25s,color .25s,border-color .25s,transform .2s;
}

.social a svg {
  width: 17px;
  height: 17px;
}

.social a:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}

.next-steps {
  padding-left: 1.2rem;
  color: var(--muted);
}

.next-steps li {
  margin: .3rem 0;
}

/* forms */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.form-box {
  background: var(--grad) top/100% 4px no-repeat #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.9rem 1.7rem 1.7rem;
  box-shadow: var(--sh);
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.full {
  grid-column: 1/-1;
}

label {
  display: block;
  font-weight: 600;
  font-size: .94rem;
  margin-bottom: .3rem;
}

label small {
  font-weight: 400;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: .7rem .85rem;
  border: 1.5px solid #B8C2D6;
  border-radius: var(--r);
  background: #fff;
  color: var(--ink);
  transition: border-color .2s,box-shadow .2s;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(25,58,155,.15);
  outline: none;
}

input[readonly] {
  background: var(--paper);
}

[aria-invalid=true] {
  border-color: var(--err);
}

.err {
  color: var(--err);
  font-size: .86rem;
  min-height: 1.1em;
  margin-top: .2rem;
}

.check {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.check input {
  width: auto;
  margin-top: .35rem;
}

.check label {
  font-weight: 400;
  margin: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.status {
  margin-top: 1rem;
  padding: .9rem 1rem;
  border-radius: var(--r);
  display: none;
}

.status.ok {
  display: block;
  background: #E5F6EF;
  color: var(--ok);
}

.status.bad {
  display: block;
  background: #FCE8EB;
  color: #8C1428;
}

dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.9rem 1.8rem 1.8rem;
  width: min(520px,calc(100% - 1.5rem));
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 24px 70px rgba(15,23,42,.28);
  color: var(--ink);
  background: var(--grad) top/100% 5px no-repeat #fff;
}

dialog::backdrop {
  background: rgba(15,23,42,.45);
  backdrop-filter: blur(3px);
}

.x {
  position: absolute;
  right: .8rem;
  top: .9rem;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--ink);
  transition: background .2s;
}

.x:hover {
  background: var(--paper);
}

dialog h2 {
  font-size: 1.6rem;
  padding-right: 2.5rem;
}

dialog .fields {
  grid-template-columns: 1fr;
}

/* footer (navy) */

.site-footer {
  position: relative;
  background: linear-gradient(180deg,#0E2062,#091547);
  border-top: 0;
  padding: 3.5rem 0 2rem;
  font-size: .96rem;
  color: #CBD5E1;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--grad);
}

.f-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.2rem;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin: .5rem 0;
}

.site-footer a {
  color: #CBD5E1;
  text-decoration: none;
  transition: color .2s;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline-color: #ABBDF2;
}

.f-line {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
}

.f-line svg {
  width: 17px;
  height: 17px;
  margin-top: .3rem;
  color: #ABBDF2;
}

.f-line a,
.f-line span {
  word-break: break-word;
}

.f-social {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}

.f-social li {
  margin: 0;
}

.f-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 0;
  transition: background .25s,transform .2s,border-color .25s;
}

.f-social a:hover {
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-3px);
  text-decoration: none;
}

.f-social svg {
  width: 18px;
  height: 18px;
}

.f-social span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.copy {
  max-width: none;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  font-size: .88rem;
  color: #94A3B8;
}

/* motion: subtle fade/slide on scroll. Added by main.js, so the page is fully visible without JavaScript. */

.reveal {
  opacity: 0;
}

.reveal.in {
  opacity: 1;
  animation: rise .6s ease backwards;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:1100px) {
  .vis-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:980px) {
  .hero-grid,
  .form-grid,
  .grid2,
  .plans {
    grid-template-columns: 1fr;
  }
  .hero-art.hero-main {
    max-width: 520px;
    margin: 0 auto;
  }
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
  .steps,
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-hero .wrap.has-art {
    grid-template-columns: 1fr;
  }
  .page-hero .hero-art {
    display: none;
  }
}

@media(max-width:860px) {
  .menu-btn {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.4rem;
    gap: .4rem;
    max-height: calc(100vh - 72px);
    overflow: auto;
  }
  .nav-links.open {
    display: flex;
  }
  .has-dd {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .dd {
    position: static;
    display: none!important;
    width: 100%;
    box-shadow: none;
    border: 0;
    grid-template-columns: 1fr;
    padding: 0 0 0 .6rem;
  }
  .has-dd.open .dd {
    display: grid!important;
  }
  .has-dd:hover .dd {
    display: none;
  }
  .has-dd.open:hover .dd {
    display: grid;
  }
}

@media(max-width:620px) {
  .grid3,
  .steps,
  .f-grid,
  .fields,
  .vis-grid {
    grid-template-columns: 1fr;
  }
  .bars div {
    grid-template-columns: 1fr;
  }
  .btns .btn {
    width: 100%;
    justify-content: center;
  }
  .hero h1 {
    max-width: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .card:hover,
  .plan:hover,
  .vis-grid li:hover,
  .social a:hover,
  .f-social a:hover {
    transform: none;
  }
}

/* ---- Blog (listing, category and article pages) ---- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.blog-cats {
  margin-bottom: 1.4rem;
}

.blog-cats a[aria-current=page] {
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  margin: -.4rem -1rem;
  padding: .4rem 1rem;
}

.blog-search {
  display: flex;
  gap: .6rem;
  max-width: 560px;
  margin: 0 0 2rem;
}

.blog-search[hidden] {
  display: none;
}

.blog-search input {
  flex: 1;
}

.blog-results[hidden] {
  display: none;
}

.post-card {
  padding: 0;
}

.post-img {
  aspect-ratio: 16/9;
  background: var(--grad-soft);
  overflow: hidden;
}

.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-img.is-art img {
  object-fit: contain;
  padding: .8rem;
}

.post-body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}

.post-card h2,
.post-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.post-card h2 a,
.post-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a::after,
.post-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .9rem;
  font-size: .9rem;
  color: var(--muted);
  margin: 0 0 .4rem;
}

.post-body .post-meta {
  margin: 0;
}

.post-meta .badge {
  margin: 0;
  font-size: .78rem;
}

.post-excerpt {
  color: var(--muted);
  font-size: .96rem;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.pager a {
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.pager a[aria-current=page] {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.post-hero h1 {
  max-width: 26ch;
}

.post-hero .post-meta {
  margin-top: 1rem;
}

.post-hero .post-meta strong {
  color: var(--ink);
}

.post-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 3rem;
  align-items: start;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin-top: 2.2rem;
  font-size: clamp(1.5rem,3vw,2rem);
}

.prose h3 {
  margin-top: 1.8rem;
}

.prose p,
.prose li {
  font-size: 1.06rem;
}

.prose p {
  max-width: none;
}

.prose ul,
.prose ol {
  padding-left: 1.4rem;
  margin: 0 0 1.2rem;
}

.prose li {
  margin: .35rem 0;
}

.prose img {
  border-radius: 12px;
  display: block;
}

.prose figure {
  margin: 1.6rem 0;
}

.prose figcaption {
  font-size: .9rem;
  color: var(--muted);
  margin-top: .5rem;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: .4rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 0 var(--r) var(--r) 0;
}

.prose blockquote p {
  margin: .5rem 0;
}

.prose code {
  background: var(--paper);
  padding: .1rem .35rem;
  border-radius: 4px;
  font-size: .92em;
}

.prose pre {
  background: #0F172A;
  color: #E2E8F0;
  padding: 1rem;
  border-radius: var(--r);
  overflow-x: auto;
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-hero-img {
  margin: 0 0 1.8rem;
}

.post-hero-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.toc {
  background: var(--paper);
  border: 1px solid #ABBDF2;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 0 0 1.8rem;
}

.toc summary {
  font-size: 1rem;
}

.toc ol {
  margin: .8rem 0 0;
  padding-left: 1.2rem;
}

.toc li {
  margin: .3rem 0;
  font-size: .97rem;
}

.toc li.l3 {
  margin-left: 1rem;
  list-style: circle;
}

.post-faq {
  margin-top: 2.5rem;
}

.post-faq details div {
  color: var(--muted);
  margin-top: .6rem;
}

.post-faq details p {
  margin: .4rem 0;
}

.post-services {
  margin-top: 2.8rem;
}

.post-services .grid3 {
  grid-template-columns: 1fr;
}

.post-author {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.post-aside {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 1.2rem;
}

.aside-box {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  background: #fff;
}

.aside-box h2 {
  font-size: 1.1rem;
}

.aside-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aside-box li {
  margin: .45rem 0;
}

.aside-box.cta {
  background: var(--grad-soft);
  border-color: #ABBDF2;
}

.preview-banner {
  background: #FFF8DC;
  border-bottom: 1px solid #C9A400;
  text-align: center;
  padding: .6rem 1rem;
  font-weight: 600;
}

.post-related-svc {
  margin: 1rem 0 .4rem;
  font-weight: 600;
}

@media(max-width:980px) {
  .post-wrap {
    grid-template-columns: 1fr;
  }
  .post-aside {
    position: static;
  }
}

/* answer-first definition box (AEO) */

.answer {
  border-left: 4px solid var(--accent);
  background: var(--paper);
  border-radius: var(--r);
  padding: 1.1rem 1.4rem;
  margin: 0;
}

.answer h2 {
  font-size: 1.35rem;
  margin-bottom: .4rem;
}

.answer p {
  margin: 0;
}

.defs dt {
  font: 700 1.05rem var(--font-d);
  margin-top: 1rem;
}

.defs dd {
  margin: .2rem 0 0;
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.1rem,4.6vw,3.4rem);
}

/* photography: hero frames, card thumbnails, section photos (images load from Unsplash with local fallback) */

.photo-frame {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--grad-soft);
  box-shadow: var(--sh-lg);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(25,58,155,.12),rgba(171,189,242,.30));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero-art.photo .photo-frame img,
.hero-art.hero-main .photo-frame img {
  max-width: none;
  margin: 0;
  filter: none;
}

.page-hero .hero-art.photo {
  display: block;
}

.page-hero .hero-art.photo img {
  max-width: none;
  margin: 0;
}

.hero-art.hero-main.photo .photo-frame {
  aspect-ratio: 5/4;
}

.card-img {
  margin: -1.6rem -1.6rem .5rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grad-soft);
}

.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

a.card:hover .card-img img {
  transform: scale(1.04);
}

.col-photo {
  margin-top: 1.6rem;
  aspect-ratio: 16/10;
}

@media(max-width:980px) {
  .page-hero .hero-art.photo {
    max-width: 560px;
  }
  .photo-frame {
    border-radius: 16px;
  }
  .col-photo {
    max-width: 560px;
  }
}

@media(prefers-reduced-motion:reduce) {
  .card-img img {
    transition: none;
  }
  a.card:hover .card-img img {
    transform: none;
  }
}

/* ---- Photo banners: full-width marketing photo + #193A9B overlay (home hero, page heroes, blog heroes) ---- */

.banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--brand);
  border-bottom: 0;
  box-shadow: 0 20px 44px -22px rgba(25,58,155,.6);
}

.hero.banner {
  padding: clamp(4rem,9vw,7rem) 0 clamp(3.5rem,7vw,5.5rem);
  min-height: clamp(480px,66vh,660px);
  display: flex;
  align-items: center;
}

.hero.banner>.wrap {
  width: min(var(--w),100% - 2.5rem);
}

.page-hero.banner {
  padding: clamp(3.4rem,7vw,5.4rem) 0;
  min-height: clamp(300px,40vh,420px);
  display: flex;
  align-items: center;
}

.page-hero.banner>.wrap {
  width: min(var(--w),100% - 2.5rem);
}

.banner-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.banner-bg img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero.banner::before,
.page-hero.banner::before,
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  right: 0;
  top: 0;
  border-radius: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(100deg,rgba(18,44,118,.95) 0%,rgba(25,58,155,.86) 45%,rgba(25,58,155,.55) 100%);
}

.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg,var(--brand-l),rgba(171,189,242,.15));
  z-index: 1;
}

.hero.banner .hero-grid {
  display: block;
}

.hero.banner .hero-grid>div {
  max-width: 760px;
}

.banner h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(10,24,80,.35);
}

.banner .lead,
.banner p {
  color: rgba(255,255,255,.92);
}

.banner .crumb,
.banner .crumb a {
  color: #DCE4FA;
}

.banner .badge {
  background: rgba(171,189,242,.22);
  border-color: rgba(171,189,242,.6);
  color: #fff;
}

.banner .grad-text {
  background: none;
  -webkit-text-fill-color: var(--brand-l);
  color: var(--brand-l);
}

.banner .trust {
  color: #E6ECFC;
  border-left: 3px solid var(--brand-l);
  border-image: none;
}

.banner .text-link {
  color: #fff;
}

.banner .chips li {
  background: rgba(255,255,255,.14);
  border-color: rgba(171,189,242,.6);
  color: #fff;
}

.banner .chips li:hover {
  background: rgba(171,189,242,.3);
  border-color: var(--brand-l);
}

.banner .note {
  background: rgba(255,255,255,.12);
  border-color: rgba(171,189,242,.5);
  border-left-color: var(--brand-l);
  color: #fff;
}

.banner .post-meta,
.banner .post-meta strong {
  color: #E6ECFC;
}

.banner .post-meta .badge {
  color: #fff;
}

/* buttons on banners: light #ABBDF2 button, white outline button, deep-blue shadow */

.banner .btn {
  background: var(--brand-l);
  border-color: var(--brand-l);
  color: var(--brand);
  box-shadow: 0 12px 28px rgba(10,24,80,.5),0 2px 6px rgba(10,24,80,.3);
}

.banner .btn:hover {
  background: #fff;
  border-color: #fff;
  color: var(--brand);
  box-shadow: 0 16px 34px rgba(10,24,80,.55),0 0 0 4px rgba(171,189,242,.55);
}

.banner .btn.line {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.85);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10,24,80,.35);
  backdrop-filter: blur(4px);
}

.banner .btn.line:hover {
  background: rgba(171,189,242,.3);
  border-color: var(--brand-l);
  color: #fff;
}

.banner .btn:focus-visible,
.banner a:focus-visible {
  outline-color: #fff;
}

@media(max-width:980px) {
  .banner::before {
    background: linear-gradient(180deg,rgba(18,44,118,.92),rgba(25,58,155,.82));
  }
}

@media(max-width:620px) {
  .hero.banner {
    min-height: 0;
  }
  .page-hero.banner {
    min-height: 0;
  }
}

/* =====================  Premium redesign layer  ===================== */

/* section headings: accent bar */

.sec-head h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg,var(--brand),var(--brand-l));
  margin-top: .9rem;
}

.dark .sec-head h2::after {
  background: linear-gradient(90deg,var(--brand-l),rgba(171,189,242,.2));
}

/* hero: taller, with room for the overlapping glass cards, + particle canvas */

.hero.banner {
  padding-bottom: clamp(7.5rem,13vw,10rem);
  min-height: clamp(560px,78vh,760px);
}

.hero.banner h1 {
  font-size: clamp(2.3rem,5.4vw,4rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}

.banner .fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: .9;
}

.banner-bg img {
  transform: scale(1.04);
  animation: kenburns 26s ease-in-out infinite alternate;
}

@keyframes kenburns {
  to {
    transform: scale(1.12) translate3d(-1.2%,-1%,0);
  }
}

/* visibility strip: glass cards straddling the hero edge */

.hero.banner+.vis-strip {
  position: relative;
  z-index: 5;
  margin-top: -5rem;
  background: transparent;
  padding-bottom: clamp(1.6rem,3vw,2.4rem);
}

.hero.banner+.vis-strip .strip-title {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .9rem;
  text-shadow: 0 1px 10px rgba(10,24,80,.5);
}

.vis-grid li {
  border-radius: 18px;
  border: 1px solid rgba(171,189,242,.55);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -14px rgba(25,58,155,.45);
}

.vis-grid li:hover {
  border-color: var(--brand-l);
  box-shadow: 0 24px 48px -14px rgba(25,58,155,.6);
}

/* answer box */

.answer {
  border-left: 0;
  border-radius: 20px;
  background: linear-gradient(135deg,#fff,#EEF2FD);
  border: 1px solid #D5DEF8;
  box-shadow: 0 14px 34px -18px rgba(25,58,155,.35);
  padding: 1.6rem 1.9rem;
  position: relative;
  overflow: hidden;
}

.answer::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg,var(--brand),var(--brand-l));
}

/* service / project cards: image on top, numbered, icon chip overlapping */

.grid3 {
  counter-reset: cn;
}

.card {
  border-radius: 22px;
  border-color: #DCE4FA;
  box-shadow: 0 12px 30px -18px rgba(25,58,155,.35);
}

.card:hover {
  box-shadow: 0 26px 50px -20px rgba(25,58,155,.55),0 0 0 1px var(--brand-l);
  transform: translateY(-6px);
}

.card-img {
  position: relative;
  aspect-ratio: 16/10;
  counter-increment: cn;
}

.card-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(25,58,155,0) 45%,rgba(18,44,118,.5));
  pointer-events: none;
}

.card-img::after {
  content: counter(cn,decimal-leading-zero);
  position: absolute;
  z-index: 2;
  top: .8rem;
  left: .8rem;
  padding: .25rem .65rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--brand);
  font: 700 .78rem var(--font-b);
  letter-spacing: .08em;
  box-shadow: 0 6px 16px rgba(10,24,80,.25);
}

.card:hover .card-img img {
  transform: scale(1.08);
}

.card-img+.ico {
  position: relative;
  z-index: 3;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-top: -2.7rem;
  background: #fff;
  box-shadow: 0 12px 26px -6px rgba(25,58,155,.45);
}

.card-img+.ico svg {
  width: 24px;
  height: 24px;
}

.card .more {
  color: var(--brand);
}

/* "who we serve" list as cards + photo with offset block */

.list li {
  background: #fff;
  border: 1px solid #DCE4FA;
  border-radius: 16px;
  padding: 1rem 1.2rem 1rem 3.2rem;
  margin-bottom: .8rem;
  box-shadow: 0 10px 26px -18px rgba(25,58,155,.4);
  transition: transform .25s,box-shadow .25s,border-color .25s;
}

.list li:hover {
  transform: translateX(5px);
  border-color: var(--brand-l);
  box-shadow: 0 18px 34px -16px rgba(25,58,155,.45);
}

.list li::before {
  left: 1rem;
  top: 1.15rem;
}

.col-photo,
.photo-frame {
  box-shadow: 16px 16px 0 rgba(171,189,242,.7),0 28px 54px -18px rgba(25,58,155,.45);
}

.hero-art .photo-frame {
  box-shadow: var(--sh-lg);
}

.photo-frame {
  border-radius: 24px;
}

/* dark process section */

.dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(900px 420px at 85% -10%,rgba(171,189,242,.28),transparent 60%),radial-gradient(700px 400px at 0% 110%,rgba(59,91,196,.55),transparent 60%),linear-gradient(135deg,#0C1D5A,#193A9B);
}

.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(171,189,242,.22) 1px,transparent 1.2px);
  background-size: 30px 30px;
  mask-image: linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent);
}

.dark h2,
.dark h3 {
  color: #fff;
}

.dark p,
.dark .lead {
  color: rgba(255,255,255,.82);
}

.dark .steps {
  gap: 1.2rem;
}

.dark .steps li {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(171,189,242,.35);
  border-radius: 20px;
  padding: 1.5rem 1.4rem;
  backdrop-filter: blur(6px);
  transition: transform .25s,background .25s,border-color .25s;
}

.dark .steps li:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.12);
  border-color: var(--brand-l);
}

.dark .steps li::before {
  background: var(--brand-l);
  color: var(--brand);
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(10,24,80,.45);
}

.dark .steps p {
  color: rgba(255,255,255,.8);
}

/* chips, plans, form, details */

.chips li {
  border-color: var(--brand-l);
  box-shadow: 0 6px 16px -10px rgba(25,58,155,.5);
}

.chips li:hover {
  background: var(--brand-l);
  border-color: var(--brand-l);
  color: var(--brand);
}

.plan {
  border-radius: 22px;
  border-color: #DCE4FA;
}

.plan.feat {
  box-shadow: 0 30px 60px -24px rgba(25,58,155,.55);
}

.form-box {
  border-radius: 24px;
  box-shadow: 0 30px 60px -28px rgba(25,58,155,.5);
  border-color: #D5DEF8;
}

#enquiry {
  background: linear-gradient(180deg,#F1F4FD,#E3EAFB);
}

details {
  background: #fff;
  border: 1px solid #DCE4FA;
  border-radius: 16px;
  padding: 1rem 1.3rem;
  margin-bottom: .7rem;
  transition: box-shadow .25s,border-color .25s;
}

details[open],
details:hover {
  border-color: var(--brand-l);
  box-shadow: 0 14px 30px -18px rgba(25,58,155,.5);
}

/* header polish */

.site-header {
  box-shadow: 0 8px 28px -20px rgba(25,58,155,.5);
}

@media(max-width:980px) {
  .hero.banner+.vis-strip {
    margin-top: -3rem;
  }
  .hero.banner {
    min-height: 0;
  }
}

@media(max-width:620px) {
  .hero.banner h1 {
    font-size: 2.15rem;
  }
  .col-photo,
  .photo-frame {
    box-shadow: 10px 10px 0 rgba(171,189,242,.7),0 20px 40px -16px rgba(25,58,155,.4);
  }
}

@media(prefers-reduced-motion:reduce) {
  .banner-bg img {
    animation: none;
  }
}


/* Pricing plans: short bullet lists */
.plan ul.pp { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; }
.plan ul.pp li { position: relative; padding-left: 1.6rem; margin: .55rem 0; font-size: .95rem; line-height: 1.45; }
.plan ul.pp li::before { content: "\2713"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--brand); }
.plans .plan { height: 100%; }
.plan ul.pp + .btn { margin-top: auto; text-align: center; }
/* Four service cards sit in a 2 x 2 grid on larger screens */
@media (min-width: 700px) { .grid3.four { grid-template-columns: repeat(2, 1fr); } }


/* ===================== Blog redesign ===================== */
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .85rem; border-radius: 999px; font: 600 .85rem var(--font-b); letter-spacing: .02em; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); }
.eyebrow i, .eyebrow svg { width: 15px; height: 15px; }

/* hero */
.blog-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(3rem,6vw,4.8rem) 0 clamp(2.6rem,5vw,3.6rem);
  background: radial-gradient(820px 420px at 88% -12%, rgba(171,189,242,.42), transparent 62%), radial-gradient(640px 360px at -6% 112%, rgba(59,91,196,.7), transparent 62%), linear-gradient(135deg, #0C1F66 0%, #193A9B 55%, #2E4FB7 100%); }
.blog-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.2px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg,#000 0%,transparent 90%); mask-image: linear-gradient(180deg,#000 0%,transparent 90%); pointer-events: none; }
.blog-hero::after { content: ""; position: absolute; right: -90px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 54px solid rgba(171,189,242,.13); pointer-events: none; }
.blog-hero .wrap { position: relative; z-index: 1; }
.blog-hero .crumb { color: #C9D6F8; margin-bottom: 1.1rem; }
.blog-hero .crumb a { color: #fff; }
.blog-hero h1 { color: #fff; font-size: clamp(2.05rem,4.7vw,3.5rem); line-height: 1.1; max-width: 21ch; margin: 1.1rem 0 .9rem; text-shadow: none; }
.blog-hero .lead { color: #DCE4FA; max-width: 58ch; margin: 0; }
.blog-hero .post-related-svc { color: #DCE4FA; }
.blog-hero .chips li { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #fff; }
.blog-hero .chips li:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.blog-hero .blog-search { display: flex; align-items: center; gap: .4rem; max-width: 640px; margin: 1.8rem 0 0; padding: .4rem .4rem .4rem 1rem; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px rgba(6,16,64,.35); }
.blog-hero .blog-search[hidden] { display: none; }
.blog-hero .blog-search > i, .blog-hero .blog-search > svg { width: 20px; height: 20px; color: var(--brand); flex: none; }
.blog-hero .blog-search input { flex: 1; border: 0; outline: 0; background: transparent; box-shadow: none; padding: .7rem .4rem; font: 500 1rem var(--font-b); color: var(--ink); min-width: 0; }
.blog-hero .blog-search:focus-within { box-shadow: 0 0 0 4px rgba(171,189,242,.55), 0 18px 40px rgba(6,16,64,.35); }
.blog-stats { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; padding: 0; margin: 1.6rem 0 0; }
.blog-stats li { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border-radius: 12px; font-size: .93rem; color: #E7EDFC; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.blog-stats strong { color: #fff; font: 700 1.1rem var(--font-d); }
.blog-stats a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.blog-stats i, .blog-stats svg { width: 16px; height: 16px; }

/* main area */
.blog-main { padding: 2.4rem 0 4.2rem; background: linear-gradient(180deg, #F3F6FE 0, #fff 340px); }
.blog-cats { margin: 0 0 2.2rem; gap: .65rem; }
.blog-cats li { padding: 0; overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.blog-cats a { display: flex; align-items: center; gap: .5rem; padding: .55rem 1.1rem; font-weight: 600; }
.blog-cats a[aria-current=page] { background: var(--grad); color: #fff; margin: 0; padding: .55rem 1.1rem; border-radius: 0; }
.blog-cats .cnt { font-size: .76rem; font-weight: 700; padding: .05rem .5rem; border-radius: 999px; background: rgba(25,58,155,.1); color: var(--brand); }
.blog-cats a[aria-current=page] .cnt { background: rgba(255,255,255,.26); color: #fff; }
.blog-main .sec-head { margin: 0 0 1.4rem; }
.blog-main .sec-head h2 { font-size: clamp(1.4rem,2.6vw,1.9rem); }

/* featured article */
.feature-card { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid #DCE4FA; border-radius: 24px; overflow: hidden; box-shadow: var(--sh-lg); margin: 0 0 3rem; transition: transform .3s, box-shadow .3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(15,23,42,.06), 0 26px 54px rgba(25,58,155,.26); }
.feature-card .post-img { position: relative; aspect-ratio: auto; min-height: 340px; background: var(--grad-soft); }
.feature-card .post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.feature-card:hover .post-img img { transform: scale(1.05); }
.feature-card .flag { position: absolute; z-index: 2; left: 1.1rem; top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .85rem; border-radius: 999px; background: var(--grad); color: #fff; font: 700 .8rem var(--font-b); box-shadow: 0 8px 20px rgba(25,58,155,.4); }
.feature-card .flag i, .feature-card .flag svg { width: 14px; height: 14px; }
.feature-body { padding: clamp(1.6rem,3vw,2.6rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.feature-body h2 { margin: 0; font-size: clamp(1.45rem,2.7vw,2.1rem); line-height: 1.2; }
.feature-body h2 a { color: var(--ink); text-decoration: none; }
.feature-body h2 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.feature-body .post-excerpt { font-size: 1.04rem; margin: 0; }
.feature-btn { align-self: flex-start; margin-top: .2rem; }
.byline { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .95rem; }

/* generic bits */
.post-meta i, .post-meta svg { width: 15px; height: 15px; vertical-align: -2px; margin-right: .3rem; color: var(--brand); }
.post-meta > span { display: inline-flex; align-items: center; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font: 700 .85rem var(--font-d); flex: none; }
.avatar.lg { width: 54px; height: 54px; font-size: 1.3rem; }

/* article cards */
.grid3.blog-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.7rem; }
.post-card { position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid #DCE4FA; background: #fff; transition: transform .3s, box-shadow .3s, border-color .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: #ABBDF2; }
.post-img { position: relative; }
.post-img img { transition: transform .6s; }
.post-card:hover .post-img img { transform: scale(1.06); }
.badge.on-img { position: absolute; z-index: 2; left: .9rem; top: .9rem; margin: 0; background: rgba(255,255,255,.95); box-shadow: 0 6px 16px rgba(15,23,42,.18); }
.post-card .post-body { padding: 1.3rem 1.4rem 1.5rem; gap: .65rem; }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; margin: 0; }
.post-card .more { margin-top: auto; padding-top: .5rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--brand); }
.post-card .more i, .post-card .more svg { width: 17px; height: 17px; transition: transform .25s; }
.post-card:hover .more i, .post-card:hover .more svg { transform: translateX(5px); }
.suggest-card { background: var(--grad-soft); border: 2px dashed #ABBDF2; box-shadow: none; }
.suggest-card .post-body { align-items: flex-start; justify-content: center; height: 100%; }
.suggest-card .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--brand); box-shadow: var(--sh); }
.suggest-card:hover { transform: translateY(-4px); }

/* topics */
.blog-topics { padding: 4rem 0; }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; }
.topic { position: relative; display: flex; flex-direction: column; gap: .55rem; padding: 1.6rem; border: 1px solid #DCE4FA; border-radius: 20px; background: #fff; text-decoration: none; color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s; }
.topic:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: #ABBDF2; }
.topic .ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(25,58,155,.32); }
.topic h3 { margin: .4rem 0 0; font-size: 1.2rem; }
.topic p { margin: 0; color: var(--muted); font-size: .95rem; }
.topic .more { margin-top: auto; padding-top: .6rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: .4rem; }

/* call to action band */
.blog-cta-sec { padding: 0 0 4rem; }
.blog-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; padding: clamp(1.8rem,4vw,2.8rem); border-radius: 26px; color: #fff;
  background: radial-gradient(420px 240px at 95% 0%, rgba(171,189,242,.4), transparent 65%), linear-gradient(135deg, #0F2A82, #193A9B 60%, #3453BD); box-shadow: var(--sh-lg); }
.blog-cta h2 { color: #fff; margin: 0 0 .4rem; font-size: clamp(1.4rem,2.8vw,2rem); }
.blog-cta p { margin: 0; color: #DCE4FA; max-width: 52ch; }
.blog-cta-btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.blog-cta .btn { background: #fff; color: var(--brand); border-color: #fff; box-shadow: 0 10px 24px rgba(6,16,64,.3); }
.blog-cta .btn.line { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); box-shadow: none; }

/* blog FAQ */
.blog-faq { padding: 4rem 0; }
.blog-faq details { background: #fff; border: 1px solid #DCE4FA; border-radius: 14px; padding: 1rem 1.2rem; margin: 0 0 .8rem; transition: box-shadow .2s, border-color .2s; }
.blog-faq details[open] { border-color: #ABBDF2; box-shadow: var(--sh); }
.blog-faq details p { margin: .7rem 0 0; }

/* ----- article page ----- */
.post-hero .eyebrow { margin-bottom: .6rem; }
.post-hero .post-meta { gap: .5rem .8rem; }
.post-hero .post-meta > span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .25rem .8rem; color: #fff; }
.post-hero .post-meta > span.avatar { padding: 0; width: 34px; height: 34px; background: var(--grad); border-color: rgba(255,255,255,.5); }
.post-hero .post-meta strong { color: #fff; }
.post-hero .post-meta i, .post-hero .post-meta svg { color: #ABBDF2; }
.post-hero-img img { border-radius: 20px; box-shadow: var(--sh-lg); }
.prose { max-width: 780px; }
.prose > p:first-of-type { font-size: 1.22rem; line-height: 1.7; color: #1E293B; }
.prose h2 { position: relative; padding-left: 1.05rem; margin-top: 2.8rem; line-height: 1.25; }
.prose h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 3px; background: var(--grad); }
.prose a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { padding: 1.1rem 1.4rem; border-left: 5px solid var(--brand); background: var(--grad-soft); border-radius: 0 16px 16px 0; font-size: 1.1rem; }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6rem 0; border: 1px solid #DCE4FA; border-radius: 14px; overflow: hidden; font-size: .97rem; box-shadow: var(--sh); }
.prose th { background: #E8EDFC; color: var(--brand-d); text-align: left; padding: .8rem 1rem; border-bottom: 1px solid #DCE4FA; }
.prose td { padding: .75rem 1rem; border-bottom: 1px solid #EEF2FB; vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #F8FAFE; }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose li.chk { list-style: none; position: relative; margin-left: -1.4rem; padding-left: 2rem; }
.prose li.chk::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border: 2px solid var(--brand); border-radius: 5px; background: #fff; }
.prose li.chk.done::before { content: "\2713"; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: .8rem; font-weight: 700; line-height: 1; }
.toc { background: linear-gradient(180deg, #F3F6FE, #fff); border: 1px solid #ABBDF2; border-radius: 18px; padding: 1.2rem 1.4rem; box-shadow: var(--sh); }
.toc summary { font-size: 1.05rem; color: var(--brand-d); }
.toc ol { columns: 1; }
.toc a { text-decoration: none; color: var(--ink); font-weight: 500; }
.toc a:hover { color: var(--brand); text-decoration: underline; }
.post-faq { margin-top: 3rem; }
.post-faq details { background: #fff; border: 1px solid #DCE4FA; border-radius: 14px; padding: 1rem 1.2rem; margin: 0 0 .8rem; }
.post-faq details[open] { border-color: #ABBDF2; box-shadow: var(--sh); }
.post-author { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; padding: 1.2rem 1.4rem; background: var(--paper); border: 1px solid #ABBDF2; border-radius: 18px; }
.post-author p { margin: 0; }
.back-link { margin: 1.4rem 0 0; }
.back-link a { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--brand); text-decoration: none; }
.back-link i, .back-link svg { width: 18px; height: 18px; }
.aside-box { border-radius: 18px; box-shadow: var(--sh); border-color: #DCE4FA; }
.aside-box a { text-decoration: none; font-weight: 500; }
.aside-box a:hover { color: var(--brand); text-decoration: underline; }

@media (max-width: 980px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .post-img { min-height: 0; aspect-ratio: 16/9; }
}
@media (max-width: 620px) {
  .blog-hero .blog-search { flex-wrap: wrap; padding: .6rem; }
  .blog-hero .blog-search > i, .blog-hero .blog-search > svg { display: none; }
  .blog-hero .blog-search input { flex-basis: 100%; }
  .grid3.blog-grid { grid-template-columns: 1fr; }
  .prose table { display: block; overflow-x: auto; }
  .blog-cta-btns .btn { flex: 1 1 100%; justify-content: center; }
}
.blog-cta > div:first-child { flex: 1 1 400px; }
.blog-cta-btns { flex: 0 0 auto; }
.post-meta > span { gap: .35rem; }
.post-hero .post-meta > span.avatar { display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
.prose table { display: table; table-layout: auto; }
.toc details { border: 0; padding: 0; background: none; }
.toc ol { padding-left: 1.7rem; }
@media (max-width: 620px) { .prose table { display: block; overflow-x: auto; } }
.prose th, .prose td { white-space: normal; }
@media (max-width: 760px) { .blog-cta-btns { flex: 1 1 100%; } .blog-cta-btns .btn { flex: 1 1 100%; justify-content: center; } }
