:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #edf3ff;
  --primary: #1246d1;
  --primary-dark: #0d2e8c;
  --primary-soft: rgba(18, 70, 209, 0.12);
  --accent: #0eb6a9;
  --text: #101828;
  --muted: #5f6c7b;
  --line: rgba(16, 24, 40, 0.08);
  --shadow: 0 24px 60px rgba(17, 40, 86, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 130px 0;
  scroll-margin-top: 90px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(18, 70, 209, 0.12);
  padding: 10px 14px;
  border-radius: 999px;
}

/* The hero pill sits on the photo, so it needs a frosted backing to stay
   readable — a blur alone would let the image show through the text. */
.hero-copy .eyebrow {
  background: rgba(18, 70, 209, 0.16);
  border-color: rgba(18, 70, 209, 0.2);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
}

.section-heading {
  margin-bottom: 64px;
  max-width: 860px;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.hero-copy h1,
.about-copy h2,
.cta-box h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-heading h2 {
  max-width: 670px;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  margin-top: 16px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 150px 0 140px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1291 / 726;
  object-fit: cover;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Wider-than-16:9 screens make a full-width image taller than the viewport. Keep
   it edge to edge, but run the fade over the viewport height so the photo is
   fully gone before the hero's bottom edge instead of being sliced by it. */
@media (min-aspect-ratio: 16 / 9) {
  .hero-bg {
    -webkit-mask-size: 100% 100vh;
    mask-size: 100% 100vh;
    -webkit-mask-size: 100% 100svh;
    mask-size: 100% 100svh;
  }
}

.hero-bg-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      120% 70% at 18% 62%,
      rgba(244, 247, 251, 0.95) 0%,
      rgba(244, 247, 251, 0.88) 36%,
      rgba(244, 247, 251, 0.55) 62%,
      rgba(244, 247, 251, 0) 86%
    ),
    linear-gradient(
      to bottom,
      rgba(244, 247, 251, 0) 52%,
      rgba(244, 247, 251, 0.42) 74%,
      rgba(244, 247, 251, 0.82) 91%,
      var(--bg) 100%
    );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-top: 20px;
  max-width: 620px;
}

.hero-copy p {
  max-width: 600px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-note {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 36px;
}



.hero-metrics {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px 40px;
  padding: 28px 0 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 220px;
}

.hero-metrics strong {
  font-size: 1.7rem;
  line-height: 1.2;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-panel {
  position: relative;
  width: min(560px, 100%);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 20px 20px 14px;
}

.panel-main {
  transform: rotate(-3deg);
}

.panel-header {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #22c55e; }

.chart-card {
  background: linear-gradient(180deg, rgba(18, 70, 209, 0.04), rgba(18, 70, 209, 0.02));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 18px 0;
}

.chart-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.chart-topline strong {
  color: var(--text);
  font-size: 1.4rem;
}

.bars {
  height: 210px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  padding: 0 8px 10px;
}

.bars span {
  display: block;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, #7ba0ff, var(--primary));
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.mini-stat {
  border-radius: 18px;
  padding: 18px 16px;
  background: rgba(19, 38, 73, 0.02);
  border: 1px solid var(--line);
}

.mini-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}

.chart-note {
  margin: 0;
  padding: 16px 8px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.mini-stat em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.mini-stat strong {
  margin-top: 8px;
  display: block;
  font-size: 1.5rem;
  white-space: nowrap;
}

.br-mobile {
  display: none;
}

.mini-stat.accent {
  background: rgba(14, 182, 169, 0.08);
  border-color: rgba(14, 182, 169, 0.15);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 15px 28px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 18px 40px rgba(18, 70, 209, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(18, 70, 209, 0.12);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(244, 247, 251, 0.75);
  border-bottom: 1px solid rgba(16, 24, 40, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 12px 24px rgba(18, 70, 209, 0.22);
}

.brand-logo {
  height: 78px;
  width: auto;
  max-width: min(300px, 46vw);
  object-fit: contain;
  flex-shrink: 0;
}

.site-header .nav-wrap {
  min-height: 104px;
}

.footer-brand .brand-logo {
  height: 66px;
  filter: brightness(0) invert(1);
}

.brand-text {
  font-size: 1.02rem;
  line-height: 1.2;
  max-width: 240px;
}

.section-sub {
  color: var(--muted);
  max-width: 780px;
  margin: 20px 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

.centered-sub {
  margin-left: auto;
  margin-right: auto;
}

.cta-sub {
  color: rgba(255, 255, 255, 0.78);
  margin: 12px 0 0;
}

.cta-box .button-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: none;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 500;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 46px;
  height: 46px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 6px auto;
  border-radius: 999px;
}

.logo-strip {
  padding: 24px 0 0;
}

.strip-inner {
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.strip-text {
  display: grid;
  gap: 8px;
  max-width: 420px;
}

.strip-text strong {
  color: var(--text);
}

.strip-text span {
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.7;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  color: rgba(16, 24, 40, 0.52);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.client-logos {
  gap: 18px;
  align-items: stretch;
  justify-content: center;
  letter-spacing: normal;
  text-transform: none;
}

.client-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 1 220px;
  max-width: 250px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.client-logo img {
  height: 88px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: grayscale(35%);
  opacity: 0.92;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.client-logo:hover img {
  filter: none;
  opacity: 1;
}

.client-logo figcaption {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  font-weight: 400;
}

.cards-grid {
  display: grid;
  gap: 32px;
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 38px 34px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.service-card p {
  margin: 0 0 16px;
  line-height: 1.8;
  font-size: 1rem;
}

.service-points {
  list-style: none;
  margin: auto 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}

.service-points li {
  position: relative;
  padding-left: 26px;
}

.service-points li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, #dbe7ff, #e6f7f4);
}

/* Colorful per-card accents */
.service-card:nth-child(3n + 1) .icon-box {
  background: linear-gradient(135deg, rgba(18, 70, 209, 0.18), rgba(18, 70, 209, 0.06));
  color: #1246d1;
}
.service-card:nth-child(3n + 2) .icon-box {
  background: linear-gradient(135deg, rgba(14, 182, 169, 0.2), rgba(14, 182, 169, 0.07));
  color: #0a7c74;
}
.service-card:nth-child(3n) .icon-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.07));
  color: #b45309;
}
.service-card:nth-child(3n + 1) .service-points li::before { color: #1246d1; }
.service-card:nth-child(3n + 2) .service-points li::before { color: #0a7c74; }
.service-card:nth-child(3n) .service-points li::before { color: #b45309; }

.services {
  background: linear-gradient(180deg, rgba(18, 70, 209, 0.035), rgba(14, 182, 169, 0.035));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.hero-photos img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
}

.industry-card:nth-child(3n + 1) { border-top: 5px solid #1246d1; }
.industry-card:nth-child(3n + 2) { border-top: 5px solid #0eb6a9; }
.industry-card:nth-child(3n) { border-top: 5px solid #f59e0b; }

.testimonial-card:nth-child(3n + 1) { border-left: 5px solid #1246d1; }
.testimonial-card:nth-child(3n + 2) { border-left: 5px solid #0eb6a9; }
.testimonial-card:nth-child(3n) { border-left: 5px solid #f59e0b; }

.service-card h3,
.testimonial-card .person strong,
.site-footer h3,
.timeline-item h3 {
  margin: 0 0 12px;
}

.service-card p,
.about-copy p,
.testimonial-card p,
.timeline-item p,
.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  align-items: start;
}

.image-card {
  position: relative;
  min-height: 520px;
  border-radius: calc(var(--radius-lg) + 8px);
  background:
    linear-gradient(140deg, rgba(18, 70, 209, 0.2), rgba(14, 182, 169, 0.08)),
    url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=900&q=80") center/cover no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid rgba(18, 70, 209, 0.08);
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 20px auto auto 20px;
  width: 180px;
  height: 130px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

.image-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 26px;
  width: 210px;
  height: 140px;
  border-radius: 18px;
  background: rgba(17, 40, 86, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.about-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-top: 18px;
}

.about-copy p {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}

.about-badge {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px;
  display: grid;
  gap: 8px;
}

.about-badge strong {
  font-size: 1.02rem;
}

.about-badge span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 22px;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding-top: 18px;
  padding-right: 20px;
  padding-bottom: 18px;
}

.check-list li strong {
  display: block;
  margin-bottom: 6px;
}

.check-list li span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.96rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(14, 182, 169, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.process {
  background: rgba(18, 70, 209, 0.02);
}

.timeline {
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: start;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 32px;
}

.timeline-item p {
  line-height: 1.8;
  margin: 12px 0 0;
}

.timeline-meta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(18, 70, 209, 0.12), rgba(14, 182, 169, 0.15));
  color: var(--primary);
  font-weight: 800;
}

.stats-section {
  padding: 130px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.stat-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 30px;
  text-align: center;
  display: grid;
  gap: 12px;
  align-content: start;
}

.stat-item strong {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.stat-item span {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.65;
  font-size: 0.96rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  gap: 20px;
}

.testimonial-card p {
  line-height: 1.85;
  font-size: 1.03rem;
  margin: 0;
}

#why .cards-grid,
#team .cards-grid {
  align-items: start;
}

#why .testimonial-card,
#team .testimonial-card {
  min-height: 0;
  justify-content: flex-start;
  gap: 14px;
}

#why .cards-grid {
  gap: 18px;
}

#why .testimonial-card {
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border-left-width: 4px;
}

#why .testimonial-card::before {
  content: "✓";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(18, 70, 209, 0.12);
  color: var(--primary);
}

#why .testimonial-card:nth-child(3n + 2)::before {
  background: rgba(14, 182, 169, 0.14);
  color: #0a7c74;
}

#why .testimonial-card:nth-child(3n)::before {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

#why .testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

.person {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.person span {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Document viewer trigger + shop link, stacked inside a service card */
.service-card .card-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}

.shop-link,
.hero-copy p a {
  color: var(--primary);
  font-weight: 700;
}

.shop-link:hover,
.hero-copy p a:hover {
  text-decoration: underline;
}

.industry-card {
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.industries {
  background: rgba(18, 70, 209, 0.025);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.faq-section {
  padding: 130px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.faq-intro h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.faq-intro p {
  color: var(--muted);
  line-height: 1.85;
  margin-top: 20px;
  font-size: 1.04rem;
}

.faq-list {
  display: grid;
  gap: 20px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
}

.faq-item summary {
  font-weight: 700;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1.5;
}

.faq-item p {
  color: var(--muted);
  line-height: 1.85;
  margin: 16px 0 0;
}

.cta-section {
  padding: 130px 0;
}

.cta-box {
  background: linear-gradient(135deg, #081a3f, #1230a6 48%, #0d2e8c);
  border-radius: 30px;
  padding: 56px 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 28px 50px rgba(8, 26, 63, 0.25);
}

.cta-box h2 {
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.15;
}

.cta-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-points li {
  position: relative;
  padding-left: 28px;
  line-height: 1.65;
}

.cta-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.eyebrow.alt {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: #dfe9ff;
}

.contact-section {
  background: linear-gradient(180deg, rgba(14, 182, 169, 0.05), rgba(18, 70, 209, 0.05));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(17, 40, 86, 0.12);
}

.contact-card:nth-child(3n + 1) { border-left: 5px solid #1246d1; }
.contact-card:nth-child(3n + 2) { border-left: 5px solid #0eb6a9; }
.contact-card:nth-child(3n) { border-left: 5px solid #f59e0b; }

.contact-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-card em {
  display: block;
  font-style: normal;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

.contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 10px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.85rem;
}

.contact-icon.icon-blue {
  background: linear-gradient(135deg, rgba(18, 70, 209, 0.18), rgba(18, 70, 209, 0.06));
  color: #1246d1;
}

.contact-icon.icon-teal {
  background: linear-gradient(135deg, rgba(14, 182, 169, 0.2), rgba(14, 182, 169, 0.07));
  color: #0a7c74;
}

.contact-icon.icon-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.07));
  color: #b45309;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px 40px;
  box-shadow: 0 18px 50px rgba(17, 40, 86, 0.1);
  display: grid;
  gap: 18px;
}

.contact-form h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-weight: 500;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 15px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(18, 70, 209, 0.35);
  outline-offset: 1px;
  background: #fff;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--primary);
}

.certifications {
  background: linear-gradient(135deg, #081a3f 0%, #1230a6 55%, #0d2e8c 100%);
  color: #fff;
}

.section-heading.light h2 {
  color: #fff;
}

.light-text {
  color: rgba(255, 255, 255, 0.8);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.cert-card {
  background: #fff;
  color: var(--text);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(3, 10, 30, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 70px rgba(3, 10, 30, 0.45);
}

.cert-img-wrap {
  position: relative;
  display: block;
  background: #eef2f7;
  padding: 18px;
}

.cert-img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: block;
}

.cert-zoom {
  position: absolute;
  right: 28px;
  bottom: 28px;
  background: rgba(8, 26, 63, 0.88);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cert-img-wrap:hover .cert-zoom,
.cert-img-wrap:focus-visible .cert-zoom {
  opacity: 1;
}

.cert-body {
  padding: 26px 24px 28px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.cert-body h3 {
  margin: 2px 0 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.cert-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

.cert-body a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
}

.cert-body a:hover {
  text-decoration: underline;
}

.cert-badge {
  display: inline-block;
  justify-self: start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
}

.badge-blue {
  background: rgba(18, 70, 209, 0.12);
  color: #1246d1;
}

.badge-teal {
  background: rgba(14, 182, 169, 0.14);
  color: #0a7c74;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
}

.client-proof {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  padding: 36px 40px;
}

.client-proof-img {
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(3, 10, 30, 0.35);
}

.client-proof-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  border-radius: 8px;
  display: block;
}

.client-proof-body h3 {
  margin: 12px 0 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.client-proof-body p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  margin: 12px 0 0;
  max-width: 640px;
}

.client-proof-body a {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

.client-proof .cert-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #7df0e4;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 10, 26, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox.open {
  display: flex;
}

.lightbox figure {
  margin: 0;
  max-width: min(860px, 100%);
  text-align: center;
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
  color: rgba(255, 255, 255, 0.85);
  margin-top: 16px;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.video-link .video-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  padding-left: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-link:hover .video-play {
  transform: scale(1.1);
  background: #0a2f8f;
}

.video-link:hover {
  text-decoration: underline;
}

.video-modal-box {
  position: relative;
  width: min(960px, 100%);
}

.video-modal-box video {
  display: block;
  width: 100%;
  max-height: 78vh;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.video-modal-caption {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  font-weight: 600;
}

.service-card .cert-badge {
  align-self: flex-start;
  margin-bottom: 14px;
}

.profile-section {
  background: linear-gradient(180deg, rgba(18, 70, 209, 0.035), rgba(14, 182, 169, 0.035));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Two rows: the book above the logo on the left, the copy above the catalogue
   trigger on the right. Sharing a row boundary is what lines the logo and the
   button up with each other. */
.profile-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-rows: auto auto;
  column-gap: 72px;
  row-gap: 40px;
  align-items: center;
}

.magazine-wrap {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.magazine {
  position: relative;
  width: min(340px, 100%);
  background: linear-gradient(135deg, #0a1c3f 0%, #1230a6 60%, #0d2e8c 100%);
  border-radius: 6px 18px 18px 6px;
  padding: 48px 36px;
  color: #fff;
  text-align: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  transform: rotateY(-12deg);
  box-shadow:
    -14px 0 0 -6px rgba(255, 255, 255, 0.9),
    -14px 0 0 -5px var(--line),
    30px 40px 70px rgba(8, 26, 63, 0.35);
  transition: transform 0.3s ease;
}

.magazine:hover {
  transform: rotateY(-4deg) translateY(-4px);
}

.magazine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 14px;
  width: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.magazine img {
  width: 150px;
  max-width: 70%;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}

.magazine strong {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.magazine span {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.magazine em {
  font-style: normal;
  color: #7df0e4;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* UNIK logo under the Company Profile book, centred on the book's axis. The
   book is drawn with rotateY(-12deg) under a perspective, which shifts its
   visual centre ~5px right of its layout box, so the logo is nudged to match. */
.profile-catalogue {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  justify-content: center;
}

.profile-catalogue-logo {
  display: block;
  width: 192px;
  height: auto;
  margin-left: 10px;
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(8, 26, 63, 0.16);
}

/* Catalogue trigger sits on the same grid row as the logo, so the two read as
   a matched pair even though they live in different columns. */
.profile-catalogue-actions {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  align-items: center;
}

/* Both profile-section buttons use .button-primary and the base .button
   metrics, so no size overrides here — anything set would drift from
   "Read Company Profile". */

.profile-copy h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.profile-copy p {
  color: var(--muted);
  line-height: 1.85;
  margin-top: 20px;
  font-size: 1.04rem;
}

.pdf-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 10, 26, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1vh 1.5vw;
  overflow-y: auto;
}

.pdf-viewer.open {
  display: flex;
}

.flipbook-wrap {
  width: min(1700px, 97vw);
  margin: auto;
  display: grid;
  gap: 0;
  justify-items: center;
  position: relative;
}

[hidden] {
  display: none !important;
}

.flipbook-loader {
  display: grid;
  gap: 14px;
  justify-items: center;
  color: #fff;
  font-weight: 600;
  padding: 60px 0;
}

.flipbook-bar {
  width: min(320px, 70vw);
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.flipbook-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #7df0e4);
  transition: width 0.2s ease;
}

.flipbook {
  width: 100%;
}

.flipbook-controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  background: rgba(4, 10, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 8px 5px 14px;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.flipbook-controls button {
  font: inherit;
  font-size: 0.82rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
}

.flipbook-controls button:hover {
  background: rgba(255, 255, 255, 0.28);
}

a[href^="tel:"] {
  white-space: nowrap;
}

.site-footer {
  padding: 100px 0 28px;
  background: #07162e;
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.7fr;
  gap: 56px;
  padding-bottom: 40px;
}

.footer-main p {
  line-height: 1.85;
  margin: 18px 0 0;
}

.footer-brand {
  margin-bottom: 16px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
  line-height: 1.7;
}

.site-footer a:hover {
  color: #fff;
}

.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.bottom-bar span:last-child {
  white-space: nowrap;
  font-size: 0.8rem;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .faq-grid,
  .footer-grid,
  .three-col,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .about-grid,
  .faq-grid,
  .contact-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  /* One column: book, logo, copy, trigger — stacked in source order. */
  .profile-grid {
    grid-template-rows: none;
    row-gap: 40px;
  }

  .magazine-wrap,
  .profile-catalogue,
  .profile-catalogue-actions {
    grid-column: 1;
  }

  .magazine-wrap {
    grid-row: 1;
  }

  .profile-copy {
    grid-row: 2;
  }

  .profile-catalogue {
    grid-row: 3;
  }

  .profile-catalogue-actions {
    grid-row: 4;
    justify-content: center;
  }

  .profile-catalogue-logo {
    width: 150px;
    padding: 11px;
    margin-left: 5px;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .client-proof {
    grid-template-columns: 1fr;
    padding: 32px 28px;
  }

  .client-proof-img img {
    height: 220px;
  }

  .section {
    padding: 100px 0;
  }

  .hero {
    padding: 124px 0 110px;
  }

  .hero-bg-fade {
    background:
      radial-gradient(
        130% 62% at 50% 58%,
        rgba(244, 247, 251, 0.94) 0%,
        rgba(244, 247, 251, 0.88) 40%,
        rgba(244, 247, 251, 0.55) 66%,
        rgba(244, 247, 251, 0) 88%
      ),
      linear-gradient(
        to bottom,
        rgba(244, 247, 251, 0) 55%,
        rgba(244, 247, 251, 0.45) 76%,
        rgba(244, 247, 251, 0.84) 92%,
        var(--bg) 100%
      );
  }

  .cta-box {
    padding: 44px 36px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 84px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .three-col,
  .stats-grid,
  .footer-grid,
  .about-badges,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .testimonial-card {
    padding: 30px 26px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }

  .faq-grid {
    gap: 40px;
  }

  .hero {
    padding: 108px 0 96px;
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .site-header .brand-logo {
    height: 58px;
  }

  .site-header .nav-wrap {
    min-height: 84px;
  }

  .strip-inner {
    justify-content: center;
    text-align: center;
  }

  .logos {
    justify-content: center;
  }

  .cta-box {
    padding: 36px 26px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 26px;
  }

  .contact-card {
    padding: 22px 22px;
  }

  .client-logo {
    flex-basis: 44%;
    max-width: none;
    padding: 18px 12px;
  }

  .client-logo img {
    height: 64px;
  }

  .bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .br-mobile {
    display: inline;
  }
}
