/* =========================================================
   FineWebDigital — MAIN STYLESHEET
   A premium IT services company site.
   Structure: Tokens > Reset > Layout utilities > Header/Mega menu >
   Buttons > Hero > Sections > Cards > Footer > Forms > Responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------- */
:root {
  /* Color — charcoal & amber theme */
  --primary-color: #f5b400; /* amber — buttons, links, accents */
  --primary-dark: #d99a00; /* hover */
  --secondary-color: #ffcb2e;
  --accent: #f5b400;
  --accent-bright: #ffc933; /* accent on dark surfaces */
  --violet: #f5b400;
  --dark-color: #0f1114; /* deepest charcoal */
  --navy-0: #0f1114;
  --navy-1: #15181d;
  --navy-2: #1b1f26;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-color: #d3d8e0; /* body text on dark */
  --muted-color: #a4acb9; /* secondary text */
  --light-color: #1b1f26; /* alternate section background */
  --white: #ffffff;
  --border-color: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Scale */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(5, 11, 31, 0.06);
  --shadow-md: 0 12px 32px rgba(5, 11, 31, 0.1);
  --shadow-lg: 0 24px 60px rgba(5, 11, 31, 0.16);
  --container-w: 1220px;
  --header-h: 76px;
}

/* ---------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark-color);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  color: var(--muted-color);
}

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

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

section {
  padding: 96px 0;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--secondary-color);
  display: inline-block;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.08rem;
}

.bg-light {
  background: var(--light-color);
}
.bg-dark {
  background: var(--dark-color);
}
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--white);
}
.bg-dark p {
  color: rgba(255, 255, 255, 0.68);
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #f5b400, #ffcb2e);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(245, 180, 0, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #e0a200, #f5b400);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(245, 180, 0, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--dark-color);
  border: 1.5px solid #c5d4ee;
}
.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--dark-color);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-on-dark {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-on-dark:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ---------------------------------------------------------
   4. TOP BAR, HEADER & NAVIGATION
   --------------------------------------------------------- */
.topbar {
  background: var(--navy-0);
  border-bottom: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.topbar-info a,
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  white-space: nowrap;
}
.topbar-info svg,
.topbar-social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.topbar-info svg {
  color: var(--accent-bright);
}
.topbar-info a:hover {
  color: var(--white);
}
.topbar-social {
  display: flex;
  align-items: center;
}
.topbar-social a {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}
.topbar-social a:hover {
  color: var(--accent-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  /* NOTE: no backdrop-filter / transform on the header — either would make it the
     containing block for the position:fixed mobile drawer and collapse the drawer. */
  background: rgba(5, 11, 31, 0.97);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
}
.logo img {
  height: 58px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-list > li {
  position: relative;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 11px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.93rem;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease;
}
button.nav-link {
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover,
.nav-link.active,
.has-dropdown.is-open > .nav-link {
  color: var(--accent-bright);
}
.nav-link.active::after,
.has-dropdown.is-open > .nav-link::after {
  transform: scaleX(1);
}
.nav-link:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 0;
}
.nav-list > li.has-dropdown > .nav-link .caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -3px;
  flex-shrink: 0;
}
.nav-list > li.has-dropdown.is-open > .nav-link .caret {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-actions .btn-primary {
  gap: 10px;
}
.nav-cta-item {
  display: none;
}

/* Mega menu panel — shown only when its <li> has .is-open (set by JS on
   click / keyboard). There is deliberately no :hover rule that opens it. */
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  --mega-shift: 0px;
  transform: translateX(calc(-50% + var(--mega-shift))) translateY(8px);
  width: 780px;
  max-width: calc(100vw - 32px);
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line-dark);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0s linear 0.2s;
  z-index: 950;
}
.mega-menu.mega-narrow {
  width: 300px;
  grid-template-columns: 1fr;
}
.mega-menu.mega-wide {
  width: 620px;
  grid-template-columns: repeat(2, 1fr);
}
li.has-dropdown.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--mega-shift))) translateY(0);
  transition-delay: 0s;
}
.mega-col h4 {
  font-size: 0.8rem;
  font-family: var(--font-display);
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
}
.mega-col ul li {
  margin-bottom: 2px;
}
.mega-col ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.82);
  transition:
    background 0.18s ease,
    color 0.18s ease;
}
.mega-col ul li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.mega-col ul li a:hover,
.mega-col ul li a:focus-visible {
  background: rgba(245, 180, 0, 0.14);
  color: var(--white);
}
.mega-col ul li a:hover::before,
.mega-col ul li a:focus-visible::before {
  background: var(--accent-bright);
}
.mega-col ul li a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: -2px;
}
.mega-foot {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}
.mega-foot a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent-bright);
}
.mega-foot a:hover {
  color: var(--white);
}
.mega-foot a:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.mega-menu.simple-list {
  display: block;
  width: 300px;
  padding: 12px;
}
.mega-menu.simple-list .mega-foot {
  margin-top: 8px;
  padding-top: 8px;
  padding-left: 10px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--line-dark);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   5. HERO
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: 64px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 60% 70% at 78% 30%,
      rgba(245, 180, 0, 0.22),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 50% at 0% 100%,
      rgba(245, 180, 0, 0.16),
      transparent 70%
    ),
    var(--navy-0);
  color: var(--white);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 180, 0, 0.1);
  border: 1px solid rgba(245, 180, 0, 0.55);
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #ffe39a;
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 10px var(--accent-bright);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  font-weight: 700;
}
.hero h1 .grad {
  display: block;
  background: linear-gradient(90deg, #f5b400, #ffd45e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f5b400;
}
.hero-lead {
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.76);
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.hero .btn-outline {
  color: var(--white);
  border-color: rgba(245, 180, 0, 0.7);
  background: rgba(255, 255, 255, 0.25);
}
.hero .btn-outline:hover {
  border-color: var(--accent-bright);
  color: var(--white);
  background: rgba(245, 180, 0, 0.2);
}

.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
}
.hero-meta div span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 972 / 610;
  margin: 0;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* feather all four edges so the photo melts into the navy hero background */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 16%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 14%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.hero-strip {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px 18px;
}
.hero-strip-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
a.hero-strip-item {
  padding: 8px 10px;
  margin: -8px -10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}
a.hero-strip-item:hover,
a.hero-strip-item:focus-visible {
  background: rgba(245, 180, 0, 0.1);
}
.hero-strip-item svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  color: var(--accent);
}
.hero-strip-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--white);
}
.hero-strip-item span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------------------------------------------------------
   6. LOGO STRIP
   --------------------------------------------------------- */
.logo-strip {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-color);
}
.logo-strip-head {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-color);
  font-family: var(--font-display);
  margin-bottom: 30px;
}
.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.logo-row span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--muted-color);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.logo-row span:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* ---------------------------------------------------------
   7. CARDS — services / solutions / industries / portfolio
   --------------------------------------------------------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: -1px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  border-color: rgba(245, 180, 0, 0.35);
}
.service-card:hover::before,
.service-card:focus-within::before {
  opacity: 1;
}
.service-thumb {
  margin: -30px -26px 22px;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 1px) calc(var(--radius-md) - 1px) 0 0;
  background: var(--light-color);
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transition: transform 0.5s ease;
}
.service-card:hover .service-thumb img {
  transform: scale(1.04);
}
.service-card .card-link {
  margin-top: auto;
  min-height: 44px;
}
.service-card p {
  flex-grow: 1;
}

.card-icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border: 1px solid rgba(245, 180, 0, 0.16);
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(245, 180, 0, 0.12),
    rgba(255, 205, 60, 0.14)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.service-card p {
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.card-link {
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link .chev {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
.card-link:hover .chev {
  transform: rotate(-45deg) translate(2px, -2px);
}

/* Feature list (why choose us) */
.feature-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 30px 0 34px;
}
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-check {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(245, 180, 0, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}
.feature-item span {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-color);
}

.art-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--dark-color), #1b1f26);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.art-panel svg {
  width: 78%;
}

/* Industries */
.industry-card {
  height: 100%;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: left;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.industry-card:hover {
  border-color: rgba(245, 180, 0, 0.35);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.industry-card .card-icon {
  margin-bottom: 16px;
}
.industry-card h3 {
  font-size: 1.02rem;
}

.industry-card {
  padding: 0;
  overflow: hidden;
}
.industry-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1f26, #2a2f38);
  display: flex;
  align-items: center;
  justify-content: center;
}
.industry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.industry-card:hover .industry-thumb img {
  transform: scale(1.05);
}
.industry-thumb.is-icon .card-icon {
  width: 64px;
  height: 64px;
  margin: 0;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.industry-thumb.is-icon .card-icon svg {
  width: 30px;
  height: 30px;
}
.industry-body {
  padding: 16px 18px 18px;
}

/* Technology badges */
.tech-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.tech-group h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--dark-color);
}
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-badge {
  padding: 9px 16px;
  border-radius: 50px;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-color);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.tech-badge:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Portfolio */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-color);
  transition: all 0.22s ease;
}
.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.filter-btn.active {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--white);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.portfolio-card.is-hidden {
  display: none;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.portfolio-thumb {
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, var(--light-color), #262b33);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portfolio-thumb svg {
  width: 46%;
  opacity: 0.9;
}
.portfolio-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--primary-color);
}
.portfolio-body {
  padding: 24px 24px 26px;
}
.portfolio-body h3 {
  margin-bottom: 8px;
}
.portfolio-body p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   8. STATS
   --------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
}
.stat-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------------------------------------------------------
   9. PROCESS / TIMELINE
   --------------------------------------------------------- */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.process-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.88rem;
}

/* ---------------------------------------------------------
   10. TESTIMONIALS
   --------------------------------------------------------- */
.testi-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testi-slide {
  display: none;
}
.testi-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testi-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.testi-stars {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}
.testi-quote {
  font-size: 1.25rem;
  color: var(--dark-color);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.5;
}
.testi-name {
  font-weight: 700;
  color: var(--dark-color);
}
.testi-role {
  font-size: 0.86rem;
  color: var(--muted-color);
}
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-color);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.testi-dot.active {
  background: var(--primary-color);
  transform: scale(1.25);
}
.testi-arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-arrow:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ---------------------------------------------------------
   11. FAQ ACCORDION
   --------------------------------------------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--dark-color);
}
.faq-q .plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  position: relative;
  flex-shrink: 0;
  margin-left: 18px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--dark-color);
  top: 50%;
  left: 50%;
}
.faq-q .plus::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-q .plus::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}
.faq-item.is-open .faq-q .plus {
  transform: rotate(180deg);
  border-color: var(--primary-color);
}
.faq-item.is-open .faq-q .plus::after {
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 4px 24px;
  font-size: 0.96rem;
  max-width: 640px;
}

/* ---------------------------------------------------------
   12. FINAL CTA
   --------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--dark-color) 0%, #262b33 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 34px;
}
.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}
.cta-wrap {
  padding: 0 28px 96px;
}
.cta-wrap.no-pad-top {
  padding-top: 0;
}

/* ---------------------------------------------------------
   13. PAGE HERO (inner pages)
   --------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(
      ellipse 55% 90% at 85% 0%,
      rgba(245, 180, 0, 0.24),
      transparent 70%
    ),
    var(--navy-0);
  padding: 72px 0 64px;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.72);
}
.page-hero .section-tag {
  color: var(--accent-bright);
}
.page-hero .section-tag {
  justify-content: center;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 16px;
}
.breadcrumb a {
  color: var(--accent-bright);
  font-weight: 600;
}

/* ---------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------- */
.site-footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 34px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand .logo img {
  height: 72px;
}
.footer-brand p {
  font-size: 0.92rem;
  margin-bottom: 22px;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.footer-social svg {
  width: 18px;
  height: 18px;
}
.footer-social a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a:hover {
  color: var(--white);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  z-index: 800;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------
   15. PAGE LOADER
   --------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--navy-0);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  animation: pulseLoader 1.1s ease-in-out infinite;
}
@keyframes pulseLoader {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.82);
    opacity: 0.65;
  }
}

/* ---------------------------------------------------------
   16. FORMS (contact page)
   --------------------------------------------------------- */
.contact-layout > * {
  min-width: 0;
}
.contact-info-row span {
  overflow-wrap: anywhere;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: flex-start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-color);
  font-family: var(--font-display);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--light-color);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  background: var(--white);
  outline: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e5484d;
}
.error-msg {
  font-size: 0.8rem;
  color: #e5484d;
  display: none;
}
.form-group.has-error .error-msg {
  display: block;
}
.form-status {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.success {
  background: rgba(0, 194, 168, 0.12);
  color: #0b8d78;
}
.form-status.error {
  background: rgba(229, 72, 77, 0.12);
  color: #c8383d;
}

.contact-info-card {
  background: var(--dark-color);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  color: var(--white);
}
.contact-info-card .feature-item span {
  color: rgba(255, 255, 255, 0.86);
}
.contact-info-card .feature-check {
  background: rgba(255, 201, 51, 0.18);
  color: var(--accent-bright);
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 24px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info-row .card-icon {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
  flex-shrink: 0;
}
.contact-info-row strong {
  display: block;
  color: var(--white);
  font-size: 0.96rem;
  margin-bottom: 4px;
}
.contact-info-row span,
.contact-info-row p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.map-placeholder {
  margin-top: 26px;
  border-radius: var(--radius-md);
  height: 180px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 12px,
    rgba(255, 255, 255, 0.02) 12px 24px
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  text-align: center;
  padding: 20px;
}

/* ---------------------------------------------------------
   17. PRICING
   --------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: var(--white);
  position: relative;
}
.price-card.featured h3,
.price-card.featured .price-amt {
  color: var(--white);
}
.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.68);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 34px;
  background: var(--secondary-color);
  color: var(--dark-color);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: 50px;
}
.price-plan {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.price-card.featured .price-plan {
  color: var(--secondary-color);
}
.price-amt {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 6px;
}
.price-amt span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-color);
}
.price-desc {
  font-size: 0.9rem;
  margin-bottom: 26px;
}
.price-features {
  margin-bottom: 30px;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 0.92rem;
}
.price-features li .feature-check {
  width: 20px;
  height: 20px;
  font-size: 0.68rem;
}

/* ---------------------------------------------------------
   18. TEAM
   --------------------------------------------------------- */
.team-card {
  text-align: center;
}
.team-photo {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--light-color), #262b33);
  margin-bottom: 18px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.team-card span {
  font-size: 0.86rem;
  color: var(--muted-color);
}

/* Values / mission-vision */
.value-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--light-color);
}

/* ---------------------------------------------------------
   19. PORTFOLIO — PROFESSIONAL POLISH
   Small visual refinements only: shadows, hover motion,
   image presentation and button styling. Layout/grid
   structure is untouched.
   --------------------------------------------------------- */
.portfolio-card {
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.portfolio-thumb {
  overflow: hidden;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.07);
}
.portfolio-cat {
  box-shadow: 0 4px 14px rgba(5, 11, 31, 0.1);
}
.portfolio-body h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.portfolio-body p {
  color: var(--muted-color);
  line-height: 1.55;
}

/* "View Case Study" trigger — button-like, but keeps .card-link's look elsewhere */
.portfolio-view-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: 4px;
  width: 100%;
  justify-content: flex-start;
}
.portfolio-view-btn:hover {
  color: var(--primary-dark);
}
.portfolio-view-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------------------------------------------------------
   20. PORTFOLIO CASE STUDY MODAL
   --------------------------------------------------------- */
html.modal-open,
body.modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}
.project-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 11, 31, 0.7);
  backdrop-filter: blur(2px);
}
.project-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}
.project-modal.is-open .project-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  box-shadow: 0 6px 18px rgba(5, 11, 31, 0.16);
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.project-modal-close:hover {
  background: var(--white);
  transform: rotate(90deg);
}
.project-modal-close svg {
  width: 18px;
  height: 18px;
}

.pm-hero {
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--light-color);
}
.pm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-body {
  padding: 34px 38px 40px;
  max-height: 62vh;
  overflow-y: auto;
}
.pm-cat {
  display: inline-block;
  background: rgba(245, 180, 0, 0.1);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.pm-body h2 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}
.pm-section {
  margin-bottom: 26px;
}
.pm-section:last-of-type {
  margin-bottom: 0;
}
.pm-section h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pm-section h4::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: inline-block;
}
.pm-section p {
  color: var(--muted-color);
  font-size: 0.96rem;
  line-height: 1.65;
}

.pm-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.pm-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-color);
}
.pm-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(245, 180, 0, 0.12);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 700;
  margin-top: 2px;
}
.pm-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-outcome {
  background: linear-gradient(
    135deg,
    rgba(245, 180, 0, 0.06),
    rgba(255, 205, 60, 0.08)
  );
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 30px;
}
.pm-outcome h4 {
  color: var(--dark-color);
}
.pm-outcome p {
  color: var(--text-color);
  font-weight: 500;
}

/* ---------------------------------------------------------
   21. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-link {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  .nav-link::after {
    left: 8px;
    right: 8px;
  }
  .logo img {
    height: 52px;
  }
}

@media (max-width: 1100px) {
  /* Drawer navigation (hamburger) — applies to every width up to 1100px */
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-1);
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 24px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.35s ease,
      visibility 0.35s;
    z-index: 890;
  }
  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    gap: 0;
  }
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-link {
    padding: 16px 6px;
    justify-content: space-between;
    width: 100%;
    font-size: 1.02rem;
  }
  .nav-link::after {
    display: none;
  }
  .mega-menu,
  .mega-menu.mega-narrow,
  .mega-menu.mega-wide,
  .mega-menu.simple-list {
    display: none;
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2px 6px 16px 14px;
    grid-template-columns: 1fr 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mega-menu.mega-narrow,
  .mega-menu.simple-list {
    grid-template-columns: 1fr;
  }
  li.has-dropdown.is-open > .mega-menu {
    display: grid;
    transform: none;
  }
  li.has-dropdown.is-open > .mega-menu.simple-list {
    display: block;
  }
  .header-actions .btn-primary {
    padding: 11px 18px;
    font-size: 0.88rem;
  }
  .nav-list > li.nav-cta-item {
    display: block;
    border-bottom: 0;
    padding-top: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-art {
    max-width: 760px;
    margin: 0 auto;
  }
  .feature-split {
    grid-template-columns: 1fr;
  }
  .art-panel {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 1/1;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-brand p {
    max-width: 520px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }
  .process-track {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }
  .process-track::before {
    display: none;
  }
  .tech-groups {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .topbar-social {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }
  .topbar-info span {
    display: none;
  }
}

@media (max-width: 780px) {
  section {
    padding: 64px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-track {
    grid-template-columns: 1fr 1fr;
  }
  .tech-groups {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 50px 28px;
  }
  .header-actions span.hide-mobile {
    display: none;
  }

  /* Portfolio case study modal */
  .project-modal {
    padding: 0;
    align-items: stretch;
  }
  .project-modal-dialog {
    max-width: none;
    width: 100%;
    min-height: 100%;
    border-radius: 0;
  }
  .project-modal.is-open .project-modal-dialog {
    transform: translateY(0) scale(1);
  }
  .pm-hero {
    aspect-ratio: 16/10;
  }
  .pm-body {
    padding: 26px 22px 32px;
    max-height: none;
  }
  .pm-body h2 {
    font-size: 1.4rem;
  }
  .pm-features {
    grid-template-columns: 1fr;
  }
  .project-modal-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 520px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-meta {
    gap: 20px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 70px 0 56px;
  }
}

/* ---------------------------------------------------------
   WHY CHOOSE US (dark feature cards)
   --------------------------------------------------------- */
.why-section {
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245, 180, 0, 0.16), transparent 70%),
    var(--navy-1);
}
.why-section h2 {
  color: var(--white);
}
.why-section .section-head p {
  color: rgba(255, 255, 255, 0.72);
}
.why-section .section-tag {
  color: var(--accent-bright);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.why-card {
  position: relative;
  height: 100%;
  padding: 30px 26px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  background: rgba(245, 180, 0, 0.08);
  border-left-color: var(--accent-bright);
}
.why-card h3 {
  color: var(--white);
  font-size: 1.12rem;
  margin-bottom: 12px;
}
.why-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.why-cta {
  text-align: center;
  margin-top: 44px;
}
@media (max-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   THEME OVERRIDES — dark charcoal surfaces, amber accents
   ========================================================= */
body {
  background: #14171c;
  color: var(--text-color);
}
h1, h2, h3, h4, h5 {
  color: var(--white);
}
h2 .accent, .section-head h2 {
  color: var(--white);
}
.section-tag {
  color: var(--accent);
}
.section-tag::before {
  background: var(--accent);
}
.bg-light {
  background: #1b1f26;
}
.bg-dark {
  background: #0f1114;
}
.page-loader {
  background: #0f1114;
}

/* buttons: amber with dark text */
.btn-primary {
  color: #14110a;
  box-shadow: 0 10px 24px rgba(245, 180, 0, 0.28);
}
.btn-primary:hover {
  color: #14110a;
  box-shadow: 0 14px 30px rgba(245, 180, 0, 0.4);
}
.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.btn-light {
  background: var(--accent);
  color: #14110a;
}
.skip-link {
  color: #14110a;
}
.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}
.hero .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 180, 0, 0.08);
}

/* header / menus */
.site-header {
  background: rgba(15, 17, 20, 0.97);
}
.mega-menu {
  background: #1b1f26;
}
.nav-link:hover,
.nav-link.active,
.has-dropdown.is-open > .nav-link {
  color: var(--accent);
}
.topbar {
  background: #0b0c0e;
}

/* hero */
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 78% 30%, rgba(245, 180, 0, 0.12), transparent 70%),
    #0f1114;
}
.hero-eyebrow {
  background: rgba(245, 180, 0, 0.08);
  border-color: rgba(245, 180, 0, 0.5);
}
.page-hero {
  background:
    radial-gradient(ellipse 55% 90% at 85% 0%, rgba(245, 180, 0, 0.12), transparent 70%),
    #0f1114;
}

/* cards */
.service-card,
.portfolio-card,
.price-card,
.industry-card,
.contact-info-card,
.faq-item,
.testi-slide,
.tech-group,
.process-step {
  background: #20252d;
  border-color: rgba(255, 255, 255, 0.09);
  border-left: 4px solid var(--accent);
}
.industry-card:hover,
.service-card:hover,
.service-card:focus-within {
  background: #262c35;
  border-color: rgba(245, 180, 0, 0.45);
  border-left-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}
.service-card::before {
  display: none;
}
.service-card h3,
.industry-card h3,
.portfolio-body h3 {
  color: var(--white);
}
.card-icon {
  background: rgba(245, 180, 0, 0.12);
  border-color: rgba(245, 180, 0, 0.25);
  color: var(--accent);
}
.service-thumb {
  background: #14171c;
  margin-left: -22px;
}
.card-link {
  color: var(--accent);
}
.industry-card {
  border-left-width: 1px;
  border-left-color: rgba(255, 255, 255, 0.09);
}
.industry-thumb {
  background: linear-gradient(135deg, #1b1f26, #2a2f38);
}
.industry-thumb.is-icon .card-icon {
  color: var(--accent);
}
.feature-check {
  background: rgba(245, 180, 0, 0.14);
  color: var(--accent);
}
.feature-item span {
  color: var(--text-color);
}
.tech-badge,
.filter-btn {
  background: #20252d;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-color);
}
.tech-badge:hover,
.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #14110a;
}
.portfolio-thumb {
  background: linear-gradient(135deg, #1b1f26, #2a2f38);
}
.portfolio-cat {
  background: rgba(15, 17, 20, 0.85);
  color: var(--accent);
}
.cta-band {
  background: linear-gradient(135deg, #14171c 0%, #262b33 100%);
  border: 1px solid rgba(245, 180, 0, 0.25);
}
.btn-on-dark {
  color: var(--white);
}

/* why-choose-us / dark feature cards (matches the reference design) */
.why-section {
  background: #1f232b;
}
.why-section h2 {
  color: var(--accent);
}
.why-card {
  background: #1b1f26;
  border-left: 4px solid var(--accent);
}
.why-card:hover {
  background: #22272f;
  border-left-color: var(--accent-bright);
}

/* forms */
.form-group label {
  color: var(--white);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #1b1f26;
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7d8695;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #20252d;
  border-color: var(--accent);
}
.form-group select option {
  background: #1b1f26;
  color: var(--white);
}

/* misc surfaces */
.testi-quote,
.testi-name,
.faq-q,
.price-amt,
.tech-group h4,
.pm-section h4 {
  color: var(--white);
}
.process-num {
  background: #20252d;
  color: var(--accent);
}
.project-modal-dialog {
  background: #1b1f26;
}
.project-modal-close {
  background: rgba(255, 255, 255, 0.92);
  color: #0f1114;
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #14110a;
}
.site-footer {
  background: #0b0c0e;
}
.back-to-top {
  background: var(--accent);
  color: #14110a;
}
.logo-row span:hover {
  color: var(--accent);
}
.logo-strip {
  background: #14171c;
}
.tech-group {
  padding: 20px 22px;
  border-radius: var(--radius-md);
}
.testi-arrow {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.testi-dot {
  background: rgba(255, 255, 255, 0.25);
}
.faq-q span,
.faq-q .faq-icon {
  color: var(--white);
}
.faq-item {
  border-radius: 0;
}

/* no decorative dash before section labels */
.section-tag::before {
  display: none;
}

/* Guest post cards */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #20252d;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.post-card:hover,
.post-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  border-color: rgba(245, 180, 0, 0.45);
  border-left-color: var(--accent);
}
.post-thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #14171c;
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-thumb img {
  transform: scale(1.04);
}
.post-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 22px 24px 24px;
}
.post-cat {
  align-self: flex-start;
  background: rgba(245, 180, 0, 0.12);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.74rem;
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.post-body h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--white);
}
.post-body p {
  font-size: 0.93rem;
  margin-bottom: 16px;
  flex-grow: 1;
}
.post-read-btn {
  align-self: flex-start;
  min-height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
}
@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
}

.pm-outcome h4,
.pm-outcome p {
  color: var(--white);
}

/* TEAM profile cards + modal */
.team-card{display:flex;flex-direction:column;align-items:center;padding:14px 14px 22px;border-radius:var(--radius-md);background:var(--navy-2);border:1px solid var(--border-color);transition:transform .25s,border-color .25s,box-shadow .25s}
.team-card:hover{transform:translateY(-4px);border-color:rgba(245,180,0,.45);box-shadow:0 14px 34px rgba(0,0,0,.35)}
.team-card .team-photo{width:100%;margin-bottom:16px}
.team-card .team-role{display:block;color:var(--primary-color);font-weight:600;font-size:.85rem;margin-bottom:10px}
.team-card .team-short{font-size:.88rem;line-height:1.55;color:var(--muted-color);margin:0 0 16px;flex:1}
.team-btn{display:inline-flex;gap:8px;align-items:center;padding:9px 18px;border-radius:999px;border:1px solid var(--primary-color);background:transparent;color:var(--primary-color);font:600 .85rem inherit;font-family:inherit;cursor:pointer;transition:background .2s,color .2s}
.team-btn:hover,.team-btn:focus-visible{background:var(--primary-color);color:#14161a}
.tm-head{display:flex;gap:22px;align-items:center;padding:34px 34px 6px}
.tm-photo{flex:0 0 112px;width:112px;height:112px;border-radius:50%;overflow:hidden;border:3px solid var(--primary-color)}
.tm-photo img{width:100%;height:100%;object-fit:cover;display:block}
.tm-head h2{margin:4px 0 0;font-size:1.6rem}
.tm-body p{color:var(--text-color);line-height:1.75;margin:0 0 14px}
.tm-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:10px 0 0}
.tm-chips li{padding:7px 14px;border-radius:999px;background:rgba(245,180,0,.1);border:1px solid rgba(245,180,0,.35);color:var(--accent-bright);font-size:.82rem;font-weight:500}
@media (max-width:560px){.tm-head{flex-direction:column;text-align:center;padding:30px 20px 4px}.tm-photo{flex-basis:96px;width:96px;height:96px}}


/* FAILSAFE: if JavaScript is slow or blocked, the loader still fades out on its own */
@keyframes loaderAutoHide { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.page-loader { animation: loaderAutoHide 0.4s ease 2.5s forwards; }
/* Icons can never blow up if a rule is missing */
svg { max-width: 100%; }
