/* Shared styles for the inner pages (works, services, about, blog, contact, legal).
   Base rules mirror index.html so the inner pages match the home page design. */

@font-face {
  font-family: 'Cal Sans';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/cal-sans@5.3.0/latin-400-normal.woff2) format('woff2'),
       url(https://cdn.jsdelivr.net/fontsource/fonts/cal-sans@5.3.0/latin-400-normal.woff) format('woff');
}

* {
  box-sizing: border-box;
}

body {
  background-color: #dcdcdc;
  margin: 0;
  padding: 0 0 5px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.wrapper {
  max-width: 1920px;
  margin: 0 auto;
}

/* ---------- Header / navigation ---------- */

header {
  padding: 0 clamp(16px, 8vw, 156px);
}

header,
.hero-wrapper {
  background-color: #f0f0f0;
}

.hero-wrapper {
  position: relative;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.hero-project-available {
  --r: 22px;
  display: block;
  margin: 0 auto;
  padding: 11px 31px;
  width: 284px;
  font-size: 14px;
  background: #000000c4;
  color: white;
  border-inline: var(--r) solid transparent;
  border-radius: 0 0 calc(2 * var(--r)) calc(2 * var(--r)) / var(--r);
  mask:
    radial-gradient(var(--r) at var(--r) 100%, transparent 98%, #000 101%) calc(-1 * var(--r)) 0 / 100% var(--r) repeat-x,
    linear-gradient(#000 0 0) padding-box;
  text-align: center;
  animation: badgeDropIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes badgeDropIn {
  from { transform: translateY(-70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2ecc71;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.nav-logo a {
  display: block;
}

.nav-logo img {
  display: block;
  height: 32px;
}

.nav-logo,
.nav-contact,
.nav-links li {
  opacity: 0;
  animation: navFadeIn 0.5s ease forwards;
}

.nav-logo { animation-delay: 0.1s; }
.nav-links li:nth-child(1) { animation-delay: 0.15s; }
.nav-links li:nth-child(2) { animation-delay: 0.25s; }
.nav-links li:nth-child(3) { animation-delay: 0.35s; }
.nav-links li:nth-child(4) { animation-delay: 0.45s; }
.nav-contact { animation-delay: 0.5s; }

@keyframes navFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #5c5c5c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0c0c0c;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0c0c0c;
  transform: translateX(-50%);
}

.nav-contact {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  background-color: #5c5c5c;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  text-decoration: none;
}

.nav-contact.active {
  background-color: #0c0c0c;
}

/* ---------- Page hero ---------- */

.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 88px clamp(16px, 8vw, 156px) 120px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #8a8a8a;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: #b2b2b2;
}

.breadcrumb a {
  color: #5c5c5c;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #0c0c0c;
}

.page-title {
  margin: 0;
  max-width: 1100px;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 88px;
  line-height: 1.02;
  color: rgba(12, 12, 12, 0.9);
}

.page-title .muted {
  color: #b2b2b2;
}

.page-lead {
  margin: 0;
  max-width: 640px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #5c5c5c;
}

.page-hero > * {
  opacity: 0;
  animation: heroFadeInDown 0.8s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.page-hero > *:nth-child(1) { animation-delay: 0.2s; }
.page-hero > *:nth-child(2) { animation-delay: 0.35s; }
.page-hero > *:nth-child(3) { animation-delay: 0.5s; }
.page-hero > *:nth-child(4) { animation-delay: 0.65s; }
.page-hero > *:nth-child(5) { animation-delay: 0.8s; }

@keyframes heroFadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease, background-color 0.2s ease;
}

.btn svg {
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.btn:hover {
  transform: translateY(-3px) scale(1.04);
}

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

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-dark {
  background-color: #000000c4;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-dark:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.32);
}

.btn-light {
  background-color: #ececec;
  color: #0c0c0c;
}

.btn-outline {
  background: transparent;
  color: #0c0c0c;
  box-shadow: inset 0 0 0 1px rgba(12, 12, 12, 0.2);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

/* ---------- Section scaffolding ---------- */

.page-section {
  padding: 112px clamp(16px, 8vw, 156px);
}

.page-section--tight-top {
  padding-top: 64px;
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.testomonial-label,
.section-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgb(92, 92, 92);
}

.section-title {
  margin: 12px 0 16px;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.1;
  color: rgba(12, 12, 12, 0.9);
}

.section-sub {
  margin: 0 auto;
  max-width: 620px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgb(92, 92, 92);
}

.framer-text {
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.big-title {
  margin: 32px 0 0;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 204px;
  line-height: 204px;
  color: rgba(12, 12, 12, 0.82);
  text-align: center;
}

.card-overlap {
  margin-top: -60px;
  position: relative;
  z-index: 1;
}

/* Small dark pill tags (same as the home page services tags) */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 50px;
  background-color: rgba(12, 12, 12, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0.5px 0.5px 0 rgba(255, 255, 255, 0.24),
    inset 0 4px 16px 0 rgba(255, 255, 255, 0.16),
    0 1px 2px 0 rgba(26, 26, 26, 0.08),
    0 2px 6px 0 rgba(26, 26, 26, 0.04);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.tag-list--light li {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
}

/* Dark card shell (same look as the home page work cards) */

.dark-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background-color: #0c0c0c;
  color: #fff;
}

.dark-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(36, 112, 186, 0.28), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(8, 59, 102, 0.55), transparent 45%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.dark-card > * {
  position: relative;
  z-index: 1;
}

.light-card {
  background-color: #ececec;
  border-radius: 24px;
  padding: 32px;
}

/* ---------- Works page ---------- */

.works-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.work-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  scroll-margin-top: 24px;
}

.work-feature:nth-child(even) {
  grid-template-columns: 1fr 1.3fr;
}

.work-feature:nth-child(even) .work-feature-media {
  order: 2;
}

.work-feature-media {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.work-feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-feature-media:hover img {
  transform: scale(1.04);
}

.work-feature-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.work-index {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.work-feature-name {
  margin: 0;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
}

.work-feature-desc {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.work-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.meta-value {
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-size: 24px;
}

.meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.7;
}

.work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.more-works {
  margin-top: 48px;
  text-align: center;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-size: 32px;
  color: #8a8a8a;
}

/* ---------- Services page ---------- */

.service-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.service-jump a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #0c0c0c;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  background: #e4e4e4;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.service-jump a:hover {
  background: #0c0c0c;
  color: #fff;
}

.service-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 32px;
  background-color: #ececec;
  border-radius: 24px;
  scroll-margin-top: 24px;
}

.service-row:nth-child(even) .service-row-media {
  order: 2;
}

.service-row-media {
  border-radius: 16px;
  overflow: hidden;
  background: #0c0c0c;
}

.service-row-media img {
  display: block;
  width: 100%;
  aspect-ratio: 550 / 400;
  object-fit: cover;
}

.service-row-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 16px 32px 16px 0;
}

.service-row:nth-child(even) .service-row-body {
  padding: 16px 0 16px 32px;
}

.service-num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #8a8a8a;
}

.service-name {
  margin: 0;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 1.05;
  color: rgba(12, 12, 12, 0.9);
}

.service-desc {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(12, 12, 12, 0.7);
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(12, 12, 12, 0.85);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list li::before {
  content: '';
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #0c0c0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.dark-card .check-list,
.check-list--light {
  color: rgba(255, 255, 255, 0.85);
}

.dark-card .check-list li::before,
.check-list--light li::before {
  background-color: rgba(255, 255, 255, 0.14);
}

/* Feature panel: dark card with text + grid (POS, CCTV) */

.feature-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 64px;
  scroll-margin-top: 24px;
}

.feature-panel .service-num {
  color: rgba(255, 255, 255, 0.5);
}

.feature-panel .service-name {
  color: #fff;
}

.feature-panel .service-desc {
  color: rgba(255, 255, 255, 0.7);
}

.feature-panel-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: center;
}

.mini-card {
  padding: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.mini-card h4 {
  margin: 16px 0 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.mini-card p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Process steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background-color: #ececec;
  border-radius: 24px;
  padding: 32px;
}

.steps li::before {
  content: '0' counter(step);
  display: block;
  margin-bottom: 40px;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-size: 40px;
  color: #b2b2b2;
}

.steps h3 {
  margin: 0 0 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: rgba(12, 12, 12, 0.9);
}

.steps p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
}

/* ---------- About page ---------- */

.statement {
  margin: 0 auto;
  max-width: 1100px;
  text-align: center;
  font-family: 'PT Sans', sans-serif;
  font-size: 40px;
  line-height: 1.3;
  color: #083b66;
}

.statement .script {
  font-family: 'Corinthia', cursive;
  font-size: 1.3em;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.about-split .dark-card,
.about-split .light-card {
  padding: 48px;
}

.about-split h3 {
  margin: 0 0 16px;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
}

.about-split p {
  margin: 0 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.about-split .dark-card p {
  color: rgba(255, 255, 255, 0.7);
}

.about-split .light-card p {
  color: rgba(12, 12, 12, 0.7);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.fact {
  padding: 32px;
  border-radius: 24px;
  background: #ececec;
}

.fact-value {
  display: block;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-size: 48px;
  line-height: 1.1;
  color: rgba(12, 12, 12, 0.9);
}

.fact-label {
  display: block;
  margin-top: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #5c5c5c;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-card h3 {
  margin: 24px 0 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: rgba(12, 12, 12, 0.9);
}

.value-card p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #0c0c0c;
  color: #fff;
}

/* ---------- Blog ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #ececec;
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.blog-card-media {
  overflow: hidden;
  background: #0c0c0c;
}

.blog-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card-media--icon {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  color: rgba(255, 255, 255, 0.85);
}

.blog-card-media--icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 25%, rgba(36, 112, 186, 0.45), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(8, 59, 102, 0.7), transparent 50%);
  filter: blur(30px);
}

.blog-card-media--icon span {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-media--icon span {
  transform: scale(1.08) rotate(-4deg);
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 32px;
}

.blog-card-tag {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #8a8a8a;
}

.blog-card-title {
  margin: 0;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: rgba(12, 12, 12, 0.9);
}

.blog-card-excerpt {
  margin: 0;
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #0c0c0c;
}

.blog-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: #0c0c0c;
  color: #fff;
}

.blog-card--featured .blog-card-media img {
  height: 100%;
  aspect-ratio: auto;
  min-height: 360px;
}

.blog-card--featured .blog-card-body {
  justify-content: center;
  padding: 48px;
}

.blog-card--featured .blog-card-title {
  font-size: 40px;
  color: #fff;
}

.blog-card--featured .blog-card-excerpt {
  flex: none;
  color: rgba(255, 255, 255, 0.65);
}

.blog-card--featured .blog-card-tag {
  color: rgba(255, 255, 255, 0.5);
}

.blog-card--featured .read-more {
  color: #fff;
}

/* Article */

.article {
  max-width: 820px;
  margin: 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(12, 12, 12, 0.78);
}

.article-cover {
  margin: 0 0 56px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.article-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
}

.article h2 {
  margin: 56px 0 16px;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: rgba(12, 12, 12, 0.9);
}

.article h3 {
  margin: 40px 0 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  color: rgba(12, 12, 12, 0.9);
}

.article p {
  margin: 0 0 20px;
}

.article a {
  color: #083b66;
}

.article ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.article li {
  margin-bottom: 8px;
}

.article .lead {
  font-size: 22px;
  line-height: 1.6;
  color: rgba(12, 12, 12, 0.85);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.metric {
  padding: 24px;
  border-radius: 20px;
  background: #ececec;
}

.metric strong {
  display: block;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1;
  color: rgba(12, 12, 12, 0.9);
}

.metric span {
  font-size: 14px;
  color: #5c5c5c;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 820px;
  margin: 64px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(12, 12, 12, 0.12);
}

/* Legal */

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px;
  border-radius: 24px;
  background: #ececec;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(12, 12, 12, 0.75);
}

.legal h2 {
  margin: 40px 0 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: rgba(12, 12, 12, 0.9);
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p,
.legal ul {
  margin: 0 0 16px;
}

.legal ul {
  padding-left: 22px;
}

.legal a {
  color: #083b66;
}

.legal-updated {
  margin-bottom: 32px !important;
  font-size: 14px;
  color: #8a8a8a;
}

/* ---------- Contact page ---------- */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px;
  border-radius: 24px;
  background: #ececec;
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

a.contact-info:hover {
  transform: translateY(-6px);
  background: #0c0c0c;
  color: #fff;
}

a.contact-info:hover .contact-info-label,
a.contact-info:hover .contact-info-value {
  color: inherit;
}

a.contact-info:hover .value-icon {
  background: #fff;
  color: #0c0c0c;
}

.contact-info .value-icon {
  margin-bottom: 24px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-info-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #8a8a8a;
}

.contact-info-value {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  color: rgba(12, 12, 12, 0.9);
  overflow-wrap: anywhere;
}

.contact-container {
  padding: 112px clamp(16px, 8vw, 156px);
  text-align: center;
}

.contact-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-color: #0c0c0c;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  text-align: left;
  padding: 112px 148px 64px;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.contact-grid-bg div {
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(0.5);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(12, 12, 12, 0.92), rgba(12, 12, 12, 0.7));
}

.contact-left,
.contact-form-wrap {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 64px 64px 0;
}

.contact-heading {
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 12px;
}

.contact-subtext {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 8px 0;
  outline: none;
}

.contact-field select option {
  color: #0c0c0c;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-field textarea {
  resize: vertical;
  min-height: 44px;
}

.contact-submit {
  margin-top: 8px;
  background-color: #ececec;
  color: #0c0c0c;
  border: none;
  border-radius: 50px;
  padding: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
}

.contact-note {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.contact-email-belt {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  overflow: hidden;
  padding: 32px 0;
  margin-top: 64px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.contact-email-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: brand-belt-scroll 30s linear infinite;
}

.contact-email-track ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0 32px 0 0;
  padding: 0;
}

.contact-email-track li {
  flex: none;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 28px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.contact-email-track li.services-marquee-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
}

@keyframes brand-belt-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CTA band used at the bottom of inner pages */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 80px;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-family: 'Cal Sans', 'Cal Sans Placeholder', sans-serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
}

.cta-band p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
}

.cta-band .hero-actions {
  flex: none;
  justify-content: flex-end;
}

/* ---------- FAQ (same as home page) ---------- */

.faqs-grid {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  text-align: left;
  max-width: 1128px;
  margin: 0 auto;
}

.faq-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  background-color: #ececec;
  border-radius: 24px;
  padding: 32px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: rgba(12, 12, 12, 0.9);
}

.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0c0c0c;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.2s ease;
}

.faq-item.open .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  display: none;
  margin-top: 16px;
  max-width: 520px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
}

/* ---------- Footer (same as home page) ---------- */

.site-footer {
  position: relative;
  max-width: 1904px;
  margin: 24px auto 0;
  border-radius: 24px;
  overflow: hidden;
  background-color: #0c0c0c;
  color: #fff;
  padding: 112px 148px 0;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 82% 8%, rgba(8, 59, 102, 0.55), transparent 45%),
    linear-gradient(to top, #0c2f5e 0%, rgba(12, 47, 94, 0.35) 22%, transparent 55%);
  z-index: 0;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  gap: 96px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  margin-right: auto;
}

.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.92;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1500px) {
  .footer-top {
    gap: 48px;
  }

  .footer-col {
    flex-shrink: 0;
  }
}

@media (max-width: 1300px) {
  .footer-top {
    flex-wrap: wrap;
  }

  .footer-brand {
    margin-right: 0;
    width: 100%;
  }
}

.footer-col-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-col a,
.footer-col-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.footer-col a:hover {
  color: #0c2f5e;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 96px;
  padding-bottom: 48px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
  color: #7fb3ff;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #0c2f5e;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .page-hero > *,
  .nav-logo,
  .nav-contact,
  .nav-links li,
  .hero-project-available {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .contact-email-track {
    animation: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .big-title {
    font-size: 15vw;
    line-height: 1;
  }

  .card-overlap {
    margin-top: -4.4vw;
  }

  .page-title {
    font-size: 72px;
  }

  .steps,
  .fact-grid,
  .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-panel {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 56px;
  }

  .cta-band .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .work-feature,
  .work-feature:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }

  .work-feature:nth-child(even) .work-feature-media {
    order: 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }

  .service-row:nth-child(even) .service-row-media {
    order: 0;
  }

  .service-row-body,
  .service-row:nth-child(even) .service-row-body {
    padding: 8px;
  }

  .about-split,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .blog-card--featured {
    grid-template-columns: 1fr;
  }

  .blog-card--featured .blog-card-media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: 64px 48px 32px;
  }

  .contact-left,
  .contact-form-wrap {
    padding: 32px 0 0;
  }

  .site-footer {
    padding: 64px 48px 0;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 48px;
  }

  .footer-brand {
    margin-right: 0;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .navbar {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 28px;
  }

  .page-hero {
    padding: 48px 20px 80px;
    gap: 20px;
  }

  .page-title {
    font-size: 11vw;
    line-height: 1.08;
  }

  .page-lead {
    font-size: 16px;
  }

  .page-section,
  .contact-container {
    padding: 72px 16px;
  }

  .page-section--tight-top {
    padding-top: 40px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 40px;
  }

  .work-feature,
  .work-feature:nth-child(even) {
    padding: 20px 20px 28px;
  }

  .work-feature-name,
  .service-name {
    font-size: 36px;
  }

  .work-meta {
    grid-template-columns: 1fr;
  }

  .service-row {
    padding: 16px;
  }

  .feature-panel {
    padding: 28px 20px;
  }

  .mini-grid,
  .steps,
  .fact-grid,
  .blog-grid,
  .contact-info-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .statement {
    font-size: 28px;
  }

  .about-split .dark-card,
  .about-split .light-card {
    padding: 32px 24px;
  }

  .blog-card--featured .blog-card-body {
    padding: 28px;
  }

  .blog-card--featured .blog-card-title {
    font-size: 30px;
  }

  .article {
    font-size: 16px;
  }

  .article .lead {
    font-size: 19px;
  }

  .article h2 {
    font-size: 30px;
  }

  .article-cover {
    margin-bottom: 40px;
  }

  .article-nav {
    flex-direction: column;
  }

  .legal {
    padding: 32px 20px;
  }

  .cta-band {
    padding: 40px 24px;
    gap: 32px;
  }

  .cta-band h2 {
    font-size: 40px;
  }

  .faqs-grid {
    flex-direction: column;
  }

  .faq-col {
    width: 100%;
  }

  .faq-item {
    padding: 24px;
  }

  .faq-question {
    font-size: 17px;
  }

  .contact-card {
    padding: 32px 20px 16px;
  }

  .contact-heading {
    font-size: 34px;
  }

  .contact-email-belt {
    margin-top: 40px;
  }

  .contact-email-track li {
    font-size: 22px;
  }

  .site-footer {
    padding: 48px 24px 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 64px;
  }
}

/* ---------- SEO landing pages: in-content links ---------- */

.value-card .read-more {
  margin-top: 20px;
  text-decoration: none;
}

.value-card .read-more svg {
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

.faq-answer a,
.value-card p a,
.about-split .light-card a:not(.btn) {
  color: #083b66;
}
