/* Digitech Technologies design system. Layout breakpoints live in responsive.css. */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0e1a36;
  --ink-2: #1a2750;
  --ink-3: #27337a;
  --violet: #4433e6;
  --violet-soft: #b9bfff;
  --slate: #4a5570;
  --mist: #eef1f8;
  --line: #d6dbe8;
  --line-dark: #2e3b66;
  --on-dark: #c8cfe3;
  --gutter-y: 5.5rem;
}

html { scroll-padding-top: 5rem; }
body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
main:focus { outline: none; }
h1, h2, h3 { font-family: inherit; color: inherit; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: 3.25rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.25rem; }
h2 { font-size: 2rem; font-weight: 700; line-height: 1.2; margin-bottom: .75rem; }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.35; margin-bottom: .4rem; letter-spacing: -0.01em; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--violet); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
ul, ol { list-style: none; padding: 0; margin: 0; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex: none; }
.muted { color: var(--slate); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; border-radius: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .section-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 2000; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: .5rem; color: #fff; }

/* Buttons: one shape, a few surfaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 3rem; padding: .7rem 1.35rem; border: 2px solid transparent; border-radius: 4px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--violet); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: #6a76a0; }
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-light-solid { background: #fff; color: var(--ink); }
.btn-light-solid:hover { background: var(--violet-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); }
.navbar { padding: .75rem 0; }
.navbar-brand { padding: 0; margin: 0; display: block; line-height: 0; }
.navbar-brand img { display: block; }
.navbar-nav { gap: .35rem; align-items: stretch; }
.nav-link { color: var(--ink); font-weight: 600; font-size: 1rem; padding: .5rem .75rem !important; }
.nav-link:hover, .nav-link:focus { color: var(--violet); }
.nav-link[aria-current="page"], .nav-link.active { color: var(--violet) !important; }
.nav-cta { margin-left: 1rem; min-height: 2.75rem; padding: .5rem 1.1rem; }
.navbar-toggler { border: 0; padding: .5rem; font-size: 1.5rem; color: var(--ink); box-shadow: none; background: none; line-height: 1; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 4px; padding: .5rem; box-shadow: 0 16px 40px rgba(14, 26, 54, .14); min-width: 22rem; margin-top: .6rem !important; }
.dropdown-item { display: flex; align-items: center; gap: .75rem; padding: .55rem .7rem; font-weight: 600; font-size: .9688rem; border-radius: 2px; white-space: normal; color: var(--ink); }
.dropdown-item .ico { color: var(--violet); width: 1.15em; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--mist); color: var(--ink); }
.dropdown-item[aria-current="page"] { color: var(--violet); background: var(--mist); }
.dropdown-all { border-bottom: 1px solid var(--line); border-radius: 0; margin-bottom: .35rem; padding-bottom: .7rem; }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; font-size: .9375rem; margin-bottom: 1.75rem; }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--violet-soft); }
.breadcrumb-item { color: var(--on-dark); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--on-dark); }

/* Heroes: the stair is the signature, echoing the right-aligned bar in the logo */
.hero, .page-hero { background: var(--ink); color: #fff; }
.hero .lead, .page-hero .lead { color: var(--on-dark); font-size: 1.1875rem; line-height: 1.6; font-weight: 400; max-width: 38rem; margin-bottom: 2rem; }
.hero-copy { padding-top: 5rem; padding-bottom: 5rem; }
.hero-visual { display: flex; align-items: flex-end; }
.hero-service h1 { font-size: 2.75rem; }
.page-hero { padding: 4.5rem 0; }
.page-hero h1 { max-width: 48rem; }
.page-hero-sm h1 { font-size: 2.75rem; }

.stair { width: 100%; display: flex; flex-direction: column; align-items: flex-end; margin-top: 3rem; }
.stair li { padding: 1.05rem 1.25rem; color: #fff; display: flex; flex-direction: column; gap: .1rem; transform-origin: right center; }
.stair strong { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.stair span { font-size: .9375rem; line-height: 1.4; color: #e3e6f5; }
.stair li:nth-child(1) { width: 62%; background: var(--violet); }
.stair li:nth-child(2) { width: 74%; background: #3a31b8; }
.stair li:nth-child(3) { width: 87%; background: var(--ink-3); }
.stair li:nth-child(4) { width: 100%; background: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) {
  .stair li { animation: stair-in .6s cubic-bezier(.2, .7, .2, 1) both; }
  .stair li:nth-child(4) { animation-delay: .05s; }
  .stair li:nth-child(3) { animation-delay: .15s; }
  .stair li:nth-child(2) { animation-delay: .25s; }
  .stair li:nth-child(1) { animation-delay: .35s; }
  @keyframes stair-in { from { transform: scaleX(.2); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
}

/* Sections */
.section { padding: var(--gutter-y) 0; }
.section-tint { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .section-head p { color: var(--on-dark); }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head p { color: var(--slate); margin: 0; }
.statement { font-size: 1.75rem; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 0; }
.prose { max-width: 42rem; }

/* Cells: a single joined grid, not separate floating cards */
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cells-2 { grid-template-columns: repeat(2, 1fr); }
.cell { background: #fff; padding: 2rem; display: flex; flex-direction: column; align-items: flex-start; }
.cell > .ico { font-size: 1.5rem; color: var(--violet); margin-bottom: 1.1rem; }
.cell h3 { font-size: 1.1875rem; }
.cell h3 a { color: var(--ink); text-decoration: none; }
.cell h3 a:hover { color: var(--violet); text-decoration: underline; }
.cell p { color: var(--slate); margin-bottom: 1.1rem; }
.cell p:last-child { margin-bottom: 0; }
.more { margin-top: auto; font-weight: 700; color: var(--violet); }

/* Point lists */
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.25rem 2.5rem; }
.points li { border-top: 2px solid var(--ink); padding-top: .9rem; }
.points p { color: var(--slate); margin: 0; }
.points-1 { grid-template-columns: repeat(2, 1fr); }
.points-3 { grid-template-columns: repeat(3, 1fr); }
.points-4 { grid-template-columns: repeat(4, 1fr); }
.reference { margin-top: 2.25rem; }
.reference .ico { font-size: .75em; margin-left: .4em; }

/* The process is a real sequence, so it climbs like the hero stair */
.steps { display: grid; gap: 1.25rem; counter-reset: s; }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-6 { grid-template-columns: repeat(6, 1fr); }
.steps li { border-top: 4px solid var(--violet); padding-top: .9rem; }
.section-dark .steps li { border-top-color: var(--violet-soft); }
.step-n { display: block; font-weight: 800; font-size: 1.5rem; line-height: 1.2; margin-bottom: .6rem; letter-spacing: -.02em; }
.steps h3 { font-size: 1.0625rem; }
.steps p { font-size: .96875rem; line-height: 1.55; margin: 0; color: var(--slate); }
.section-dark .steps p { color: var(--on-dark); }
.steps-6 li:nth-child(1) { margin-top: 7.5rem; } .steps-6 li:nth-child(2) { margin-top: 6rem; } .steps-6 li:nth-child(3) { margin-top: 4.5rem; } .steps-6 li:nth-child(4) { margin-top: 3rem; } .steps-6 li:nth-child(5) { margin-top: 1.5rem; }
.steps-5 li:nth-child(1) { margin-top: 6rem; } .steps-5 li:nth-child(2) { margin-top: 4.5rem; } .steps-5 li:nth-child(3) { margin-top: 3rem; } .steps-5 li:nth-child(4) { margin-top: 1.5rem; }
.steps-3 li:nth-child(1) { margin-top: 3rem; } .steps-3 li:nth-child(2) { margin-top: 1.5rem; }

/* Specification rows */
.spec { margin: 0; border-top: 2px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 13rem 1fr; gap: 1.5rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { margin: 0; color: var(--slate); }
.spec-guide > div { grid-template-columns: 1fr 16rem; }
.spec-guide dt { font-weight: 500; }
.spec-guide dd a { font-weight: 700; }
.section-tint .spec > div { border-bottom-color: #cdd3e3; }

.checks { margin-top: 1.5rem; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: baseline; }
.checks .ico { color: var(--violet); font-size: .9em; }

.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li { background: #fff; border: 1px solid #cdd3e3; padding: .5rem .9rem; border-radius: 4px; font-weight: 600; font-size: .96875rem; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.section-tint .faq details { border-bottom-color: #cdd3e3; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.0625rem; }
.faq summary:hover h3 { color: var(--violet); }
.faq summary .ico { color: var(--violet); transition: transform .2s; }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { padding: 0 2.5rem 1.25rem 0; margin: 0; color: var(--slate); max-width: 44rem; }

/* Services hub */
.svc-row { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: 2px solid var(--ink); }
.svc-title .ico { font-size: 1.5rem; color: var(--violet); margin-bottom: .9rem; display: block; }
.svc-title h2 { font-size: 1.5rem; margin: 0; }
.svc-title a { color: var(--ink); text-decoration: none; }
.svc-title a:hover { color: var(--violet); text-decoration: underline; }
.svc-body p { color: var(--slate); }
.inline-list { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-bottom: 1rem; font-size: .96875rem; font-weight: 600; }

/* CTA band */
.cta-band { background: var(--violet); color: #fff; padding: 4rem 0; }
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { margin: 0; color: #eceeff; max-width: 40rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.cta-band .btn-ghost { border-color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--ink); }

/* Contact */
.mail-box { border-top: 1px solid var(--line-dark); padding-top: 2rem; margin-top: 1rem; }
.mail-big { display: block; color: #fff; font-size: 2.25rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.mail-big:hover { color: var(--violet-soft); }
.enquiry-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: #cdd3e3; border: 1px solid #cdd3e3; }
.enquiry-grid a { display: flex; gap: 1rem; background: #fff; padding: 1.5rem; height: 100%; text-decoration: none; color: var(--ink); }
.enquiry-grid a:hover strong { color: var(--violet); text-decoration: underline; }
.enquiry-grid .ico { font-size: 1.25rem; color: var(--violet); margin-top: .2rem; }
.enquiry-grid strong { display: block; font-size: 1.0625rem; margin-bottom: .2rem; }
.enquiry-grid small { display: block; font-size: .96875rem; color: var(--slate); line-height: 1.5; }

/* Legal and utility */
.legal { max-width: 44rem; }
.legal h2 { font-size: 1.375rem; margin-top: 2.25rem; }
.link-list { display: grid; gap: .5rem; margin-top: 1rem; }

/* Footer */
.site-footer { background: #091226; color: var(--on-dark); padding: 4.5rem 0 2rem; font-size: .96875rem; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about { margin-top: 1.25rem; max-width: 24rem; }
.footer-mail { overflow-wrap: anywhere; }
.copyright { border-top: 1px solid var(--line-dark); margin: 3rem 0 0; padding-top: 1.5rem; font-size: .9375rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.breadcrumb-item.active { color: var(--on-dark); }
.cells-2 .cell:last-child:nth-child(odd) { grid-column: 1 / -1; }
