/* =========================================================
   Martechsol LTD — Agency with atmosphere
   Logo-led accents · Depth · Intentional motion
   ========================================================= */
:root {
  --navy: #1e2a36;
  --navy-soft: #2f4050;
  --forest: #247fe1;
  --forest-deep: #1a6bc4;
  --brand-purple: #6b3d9a;
  --brand-cyan: #2bb0e0;
  --stone: #f4f6f8;
  --stone-2: #e8ecef;
  --paper: #ffffff;
  --ink: #3a4550;
  --muted: #6b7680;
  --line: #e3e8ec;
  --line-strong: #c8d0d6;
  --accent: #247fe1;
  --accent-soft: #5aa3eb;
  --shadow: 0 18px 40px rgba(30, 42, 54, 0.12);
  --shadow-soft: 0 8px 24px rgba(30, 42, 54, 0.08);
  --radius: 0;
  --container: 1170px;
  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space-section: 5.75rem;
  --space-section-sm: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(43, 176, 224, 0.06), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(107, 61, 154, 0.05), transparent 50%),
    #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--forest);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0 0 0.55em;
  font-weight: 600;
  overflow-wrap: anywhere;
}

p { margin: 0 0 1em; overflow-wrap: anywhere; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.page-wrapper {
  min-height: 100vh;
  opacity: 0;
  animation: pageEnter 0.6s var(--ease) forwards;
}
@keyframes pageEnter {
  to { opacity: 1; }
}

/* Buttons — Infynix-like */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 10px 28px;
  border-radius: 3px;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn:hover { transform: none; }
.btn-primary,
.btn-accent {
  background: #247fe1;
  color: #fff !important;
  border-color: #247fe1;
}
.btn-primary:hover,
.btn-accent:hover {
  background: transparent;
  color: #247fe1 !important;
  border-color: #247fe1;
}
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
  background: #247fe1;
  color: #fff !important;
  border-color: #247fe1;
}
.btn-outline {
  background: transparent;
  color: #247fe1 !important;
  border-color: #247fe1;
}
.btn-outline:hover {
  background: #247fe1;
  color: #fff !important;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header — Infynix agency layout: logo + info, then nav bar */
.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-compact {
  position: sticky;
  top: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
@media (min-width: 901px) {
  .site-header.is-compact .header-upper { display: none; }
}

.header-upper {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.header-upper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 18px 0;
  min-height: 100px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #181818;
  flex-shrink: 0;
}
.brand:hover { color: #247fe1; }
.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 3px;
  background: linear-gradient(145deg, #247fe1, #1a3a5c);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: inherit;
}
.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-purple);
  font-weight: 700;
  font-family: var(--font-sans);
}

.header-info {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  flex: 1;
  justify-content: flex-end;
}
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: #555;
  min-width: 0;
  max-width: 220px;
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.35;
}
.info-box strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: #181818;
  margin-bottom: 2px;
}
.info-box span span {
  display: block;
  overflow-wrap: anywhere;
  color: #666;
  font-size: 14px;
}
.info-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #247fe1;
  margin-top: 0;
  background: #fff;
}
.info-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}
.info-icon::before { display: none; }
.info-box:hover .info-icon {
  border-color: #247fe1;
  background: #f3f8fe;
}
.info-box:hover { color: #247fe1; }

.nav-bar {
  background: linear-gradient(90deg, #1e2a36 0%, #243447 60%, #2a2450 100%);
}
.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
}

.primary-nav { display: flex; align-items: center; gap: 0; flex: 1; }
.nav-list { display: flex; align-items: center; }
.nav-list > li > a {
  display: inline-block;
  padding: 16px 18px;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  position: relative;
}
.nav-list > li > a:hover,
.nav-list > li.is-active > a { color: #5aa3eb; }
.nav-list > li > a::after { display: none; }
.nav-cta {
  flex-shrink: 0;
  min-height: 40px;
  padding: 8px 20px;
  font-size: 13px;
  border-radius: 0;
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid #e2e2e2;
  box-shadow: var(--shadow);
  padding: 0.35rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: 0.25s var(--ease);
  z-index: 30;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown a {
  display: block;
  padding: 0.65rem 0.8rem;
  color: #484848;
  font-size: 0.9rem;
  font-weight: 400;
}
.dropdown a:hover {
  background: #f6f6f6;
  color: #247fe1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 3px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #283745;
}

/* Legacy topbar hidden — replaced by header-upper */
.topbar { display: none; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 35, 50, 0.55);
  z-index: 1100;
  display: flex;
  justify-content: flex-end;
}
.mobile-nav-overlay[hidden] { display: none !important; }
.mobile-nav-panel {
  width: min(100%, 340px);
  height: 100%;
  background: var(--navy);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow-y: auto;
  transform: translateX(100%);
  animation: slideIn 0.35s var(--ease) forwards;
}
@keyframes slideIn { to { transform: none; } }
.mobile-nav-panel a {
  display: block;
  padding: 0.8rem 0.4rem;
  color: var(--paper);
  font-weight: 400;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translateX(10px);
  animation: linkReveal 0.35s var(--ease) forwards;
}
.mobile-nav-panel a:nth-child(2) { animation-delay: 0.04s; }
.mobile-nav-panel a:nth-child(3) { animation-delay: 0.08s; }
.mobile-nav-panel a:nth-child(4) { animation-delay: 0.12s; }
.mobile-nav-panel a:nth-child(5) { animation-delay: 0.16s; }
.mobile-nav-panel a:nth-child(6) { animation-delay: 0.2s; }
.mobile-nav-panel a:nth-child(7) { animation-delay: 0.24s; }
.mobile-nav-panel a:nth-child(8) { animation-delay: 0.28s; }
.mobile-nav-panel a:nth-child(9) { animation-delay: 0.32s; }
.mobile-nav-panel a:nth-child(10) { animation-delay: 0.36s; }
.mobile-nav-panel a:nth-child(11) { animation-delay: 0.4s; }
.mobile-nav-panel a.btn { margin-top: 1rem; text-align: center; border: 0; }
@keyframes linkReveal { to { opacity: 1; transform: none; } }
.mobile-sub {
  padding-left: 0.9rem !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
}
.mobile-nav-close {
  align-self: flex-end;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  color: var(--paper);
  cursor: pointer;
}

body.has-solid-header .site-header {
  position: relative;
  background: #fff;
}
body.has-solid-header .header-upper {
  display: block;
}

/* Hero — cinematic depth */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  color: var(--paper);
  overflow: hidden;
  background: #151c24;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroKen 32s ease-in-out infinite alternate;
  filter: saturate(0.92) contrast(1.05);
}
@keyframes heroKen {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 24, 32, 0.88) 0%, rgba(30, 42, 54, 0.72) 48%, rgba(107, 61, 154, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 24, 32, 0.55) 0%, transparent 45%);
  z-index: 1;
}
.hero-shade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to top, #fff, transparent);
  opacity: 0.08;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 6rem 0 5.5rem;
  max-width: 740px;
}
.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--paper);
  margin-bottom: 1.1rem;
  line-height: 1.12;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.08s forwards;
}
.hero-brand span { display: none; }
.hero-brand::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-purple));
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.05rem, 3.8vw, 2.95rem);
  font-weight: 600;
  max-width: 18ch;
  margin-bottom: 1.15rem;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.2s forwards;
}
.hero-lead {
  font-size: 1.12rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.32s forwards;
}
.hero .btn-row {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.9s var(--ease) 0.44s forwards;
}
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-scroll {
  position: absolute;
  right: max(1.5rem, calc((100% - var(--container)) / 2));
  bottom: 2.25rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.45; transform: translateY(0); }
  50% { opacity: 0.9; transform: translateY(6px); }
}

/* Hide flashy marquee if present */
.marquee { display: none !important; }

/* Page banner — Infynix page-title style */
.page-banner {
  position: relative;
  padding: 5.5rem 0;
  color: #fff;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(115deg, rgba(18, 24, 32, 0.9), rgba(107, 61, 154, 0.45) 70%),
    url("../images/parallax.jpg") center / cover no-repeat;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.25;
  margin: 0;
}
.page-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
  margin: 0.85rem auto 0;
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.8); }

/* Sections — one job each, generous vertical rhythm */
.section { padding: var(--space-section) 0; position: relative; }
.section:not([class*="section-"]) { background: var(--stone); }
.section-tight { padding: var(--space-section-sm) 0; }
.section-mist,
.section-sand {
  background:
    linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
}
.section-white { background: var(--paper); }
.section-ink,
.section-deep {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(43, 176, 224, 0.18), transparent 55%),
    radial-gradient(700px 380px at 90% 80%, rgba(107, 61, 154, 0.22), transparent 50%),
    #1a2430;
  color: var(--paper);
}
.section-ink h2, .section-ink h3,
.section-deep h2, .section-deep h3 { color: var(--paper); }
.section-emerald,
.section-teal {
  background: var(--forest);
  color: var(--paper);
}
.section-emerald h2, .section-emerald h3,
.section-teal h2, .section-teal h3 { color: var(--paper); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-purple);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-purple));
}
.section-ink .eyebrow,
.section-emerald .eyebrow,
.section-deep .eyebrow,
.section-teal .eyebrow { color: var(--accent-soft); }

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: #181818;
  max-width: 28ch;
  text-transform: capitalize;
}
.section-lead {
  max-width: 40rem;
  color: #777;
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  line-height: 1.75;
}
.section-ink .section-lead,
.section-emerald .section-lead,
.section-deep .section-lead,
.section-teal .section-lead { color: rgba(255, 255, 255, 0.75); }
.section-head { margin-bottom: 3.25rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; align-items: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-reverse { grid-template-columns: 1fr 1fr; }

/* Editorial pillars */
.pillar-board { border-top: 1px solid var(--line); }
.pillar-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding: 2.15rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.pillar-row:hover {
  background: linear-gradient(90deg, rgba(43, 176, 224, 0.06), transparent 60%);
  padding-left: 0.75rem;
}
.pillar-num {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: transparent;
  background: linear-gradient(135deg, var(--brand-cyan), var(--brand-purple));
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1.3;
}
.pillar-row h3 {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}
.pillar-row p {
  color: var(--muted);
  margin: 0;
  max-width: 42rem;
  font-size: 1.05rem;
  font-weight: 300;
}

/* Legacy pillar class */
.pillar {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.pillar .pillar-num {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.pillar h3 { font-size: 1.2rem; }

/* Service panels — 4 in one row */
.service-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.service-panel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 140px auto;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  color: inherit;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  min-height: 0;
  position: relative;
}
.service-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.service-panel:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-6px);
}
.service-panel:hover::before { transform: scaleX(1); }
.service-panel-media {
  position: relative;
  min-height: 140px;
  height: 140px;
  overflow: hidden;
}
.service-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-panel:hover .service-panel-media img { transform: scale(1.04); }
.service-panel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.15);
}
.service-panel-body {
  padding: 1rem 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.service-panel .tile-index,
.service-tile .tile-index {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.4rem;
  font-family: var(--font-sans);
}
.service-panel h3 { font-size: 1.1rem; margin-bottom: 0.35rem; line-height: 1.3; }
.service-panel p {
  color: var(--muted);
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tile-link {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-purple);
  transition: color 0.25s var(--ease);
}
.tile-link::after { content: " →"; }
.service-panel:hover .tile-link { color: var(--brand-cyan); }

.service-tile {
  display: block;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  transition: 0.25s var(--ease);
  min-height: 100%;
}
.service-tile:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
  color: inherit;
  transform: none;
}
.service-tile h3 { font-size: 1.25rem; }
.service-tile p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 300;
  font-size: 0.94rem;
}

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stat {
  padding: 1.25rem 0;
  border-top: 1px solid var(--line-strong);
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.stat::before { display: none; }
.section-ink .stat,
.section-emerald .stat,
.section-deep .stat,
.section-teal .stat {
  background: transparent;
  border-top-color: rgba(255, 255, 255, 0.2);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}
.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 0.4rem;
  letter-spacing: 0;
}
.section-ink .stat-value,
.section-emerald .stat-value,
.section-deep .stat-value,
.section-teal .stat-value { color: var(--accent-soft); }
.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 400;
}
.section-ink .stat-label,
.section-emerald .stat-label,
.section-deep .stat-label,
.section-teal .stat-label { color: rgba(255, 255, 255, 0.65); }

/* Process */
.process-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}
.process-rail::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line-strong);
}
.process-card {
  position: relative;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.process-card .process-step {
  width: auto;
  height: auto;
  margin: 0 0 0.85rem;
  border-radius: 0;
  display: block;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: none;
}
.process-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.process-card p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  font-weight: 300;
}

.process-list { display: grid; gap: 0; }
.process-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.process-step {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  padding: 0.45rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 400;
  font-size: 0.85rem;
  transition: 0.2s var(--ease);
}
.chip:hover {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}

.frame-photo {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}
.frame-photo img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.frame-photo:hover img { transform: scale(1.04); }
.frame-photo::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 1;
}
.frame-photo::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand-cyan), var(--brand-purple));
  z-index: 2;
}
.frame-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  background: rgba(26, 35, 50, 0.9);
  color: var(--paper);
  padding: 0.55rem 0.85rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-left: 3px solid var(--brand-cyan);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.testimonial {
  padding: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding-top: 1.35rem;
  min-height: 100%;
}
.testimonial::before { display: none; }
.testimonial p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
}
.testimonial cite {
  display: block;
  margin-top: 1.15rem;
  font-style: normal;
  color: var(--accent-soft);
  font-weight: 500;
  font-size: 0.82rem;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}
.testimonial cite span {
  display: block;
  font-weight: 300;
  opacity: 0.75;
  font-size: 0.8rem;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0;
}

.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.1rem 0;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-question::after {
  content: "+";
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.faq-item.is-open .faq-answer-inner {
  opacity: 1;
  padding-bottom: 1.1rem;
}
.faq-answer-inner p {
  color: var(--muted);
  margin: 0;
  font-weight: 300;
  font-size: 0.94rem;
}

.form-panel {
  background: #ffffff;
  padding: 30px;
  border: 5px solid #f4f4f4;
  box-shadow: none;
  border-radius: 0;
  max-width: 100%;
  overflow: visible;
}
.form-panel-wide {
  width: 100%;
  max-width: 100%;
}
.form-panel h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin: 0 0 12px;
  color: #181818;
  font-weight: 600;
}
.form-intro {
  margin: 0 0 22px;
  color: #777;
  font-size: 15px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  width: 100%;
}
.form-group {
  display: block;
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.form-group.full { grid-column: 1 / -1; }
.field-label {
  display: block;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 6px;
  color: #999;
  font-style: italic;
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: 0;
}
.field-label sup { color: #e33; font-size: 14px; }

/* Text fields only — never style checkboxes as full-width inputs */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 46px;
  min-height: 46px;
  line-height: 24px;
  padding: 10px 15px;
  border: 1px solid #e2e2e2;
  border-radius: 0;
  background: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 1;
}
.form-group textarea {
  height: 160px;
  min-height: 160px;
  resize: vertical;
  line-height: 1.5;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="url"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #247fe1;
  box-shadow: none;
  background: #fff;
}

/* Consent — Infynix float pattern (checkbox stays small; text wraps beside it) */
.consent-group {
  display: block !important;
  overflow: hidden;
  clear: both;
  margin-top: 4px;
}
.ms-form input[type="checkbox"],
.consent-group input[type="checkbox"],
.form-group input[type="checkbox"] {
  float: left;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  margin: 2px 12px 0 0 !important;
  padding: 0 !important;
  border: 1px solid #ccc !important;
  border-radius: 0 !important;
  background: #fff !important;
  line-height: 18px !important;
  box-shadow: none !important;
  accent-color: #247fe1;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  vertical-align: top;
}
.consent-label {
  display: block;
  overflow: hidden;
  margin: 0;
  max-width: none;
  font-size: 13px;
  line-height: 1.55;
  color: #555;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
}
.consent-label a { color: #247fe1; text-decoration: underline; }

.progress-list { display: grid; gap: 1.15rem; }
.progress-item label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}
.progress-track {
  height: 3px;
  background: var(--stone-2);
  border-radius: 0;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--forest);
  transition: width 1.1s var(--ease);
}

.service-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}
.service-sidebar { position: sticky; top: 96px; }
.side-nav {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.4rem;
  margin-bottom: 1.1rem;
}
.side-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.8rem;
  color: var(--ink);
  font-weight: 400;
  font-size: 0.9rem;
}
.side-nav a.is-active,
.side-nav a:hover {
  background: var(--stone);
  color: var(--forest);
}
.side-card {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 1.4rem;
}
.side-card h3 {
  color: var(--paper);
  font-size: 1.2rem;
}
.service-main-image {
  margin-bottom: 1.5rem;
  overflow: hidden;
  min-height: 280px;
}
.service-main-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.content-block + .content-block { margin-top: 2.25rem; }
.checklist { display: grid; gap: 0.65rem; }
.checklist li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--ink);
  font-weight: 300;
  font-size: 0.95rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 1px;
  background: var(--accent);
}
.media-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.75rem;
}
.media-frame {
  min-height: 220px;
  background:
    linear-gradient(160deg, rgba(26, 35, 50, 0.25), rgba(58, 83, 76, 0.35)),
    url("../images/office.jpg") center / cover no-repeat;
}
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.deliverable {
  padding: 1.15rem;
  background: var(--stone);
  border-top: 1px solid var(--accent);
}

.cta-band {
  padding: 6.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(115deg, rgba(18, 24, 32, 0.92) 0%, rgba(107, 61, 154, 0.55) 55%, rgba(36, 127, 225, 0.5) 100%),
    url("../images/parallax.jpg") center / cover no-repeat;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(43, 176, 224, 0.22), transparent 45%);
  pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--paper);
  font-size: clamp(1.95rem, 3.2vw, 2.75rem);
  font-weight: 600;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-weight: 300;
  font-size: 1.08rem;
}
.cta-band .btn-row { justify-content: center; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.value-item {
  padding: 1.5rem 1.45rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--line);
  border-left-color: var(--brand-purple);
}
.value-item h3 { font-size: 1.15rem; }

.timeline {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line-strong);
  padding-left: 1.4rem;
}
.timeline-item {
  position: relative;
  padding: 0 0 1.75rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.65rem;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--stone);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.contact-card {
  padding: 1.4rem;
  background: var(--paper);
  border-top: 1px solid var(--accent);
  border: 1px solid var(--line);
  border-top: 2px solid var(--forest);
  box-shadow: none;
}
.contact-card h3 { font-size: 1.15rem; }

.legal-content { max-width: 720px; }
.legal-content h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal-content h3 { font-size: 1.1rem; margin-top: 1.35rem; }

.thank-you-panel {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 1.5rem 0;
}
.thank-you-panel .check {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  box-shadow: none;
}
.next-steps {
  text-align: left;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.next-steps ol {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-weight: 300;
}
.next-steps li { margin-bottom: 0.55rem; }

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.brand-footer { color: var(--paper); margin-bottom: 0.85rem; }
.brand-footer .brand-logo { width: 48px; height: 48px; }
.brand-footer .brand-text em { color: #5aa3eb; }
.footer-brand p {
  max-width: 26rem;
  font-weight: 300;
  font-size: 0.92rem;
}
.footer-heading {
  color: var(--accent-soft);
  font-size: 0.7rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer-links { display: grid; gap: 0.45rem; }
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 300;
}
.footer-links a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.1rem 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
  font-size: 0.82rem;
  font-weight: 300;
}
.footer-tag { color: var(--accent-soft); }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  background: var(--navy);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin-inline: auto;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-content {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-content p {
  margin: 0;
  flex: 1 1 260px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 300;
}
.cookie-content a { color: var(--accent-soft); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.55rem; flex-wrap: wrap; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Soften grain utility */
.grain::after { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-wrapper, .hero-brand, .hero h1, .hero-lead, .hero .btn-row,
  .mobile-nav-panel, .mobile-nav-panel a, .reveal, .hero-media img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
