/* ===========================================================
   Connectify Solutions Inc. — Global Stylesheet
   =========================================================== */

:root {
  --navy-950: #050b16;
  --navy-900: #0a1628;
  --navy-800: #101f38;
  --navy-700: #172c4d;
  --navy-600: #223b63;
  --blue-600: #1a6fd1;
  --blue-500: #2f8fff;
  --blue-400: #5aa8ff;
  --blue-300: #8cc3ff;
  --white: #ffffff;
  --gray-100: #f5f8fc;
  --gray-200: #e7ecf3;
  --gray-400: #9fb0c7;
  --gray-600: #5b6b83;
  --success: #2fbf71;
  --danger: #ff5a6e;
  --amber-600: #c9760e;
  --amber-500: #f5a623;
  --amber-400: #ffc861;
  --purple-600: #5f3dd1;
  --purple-500: #7c5cf0;
  --pink-600: #be185d;
  --pink-500: #ec4899;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 60px rgba(6, 14, 30, 0.18);
  --shadow-card: 0 10px 30px rgba(6, 14, 30, 0.08);
  --max-width: 1180px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --slope: 72px;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue-500);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); }
p { margin: 0 0 1em; color: var(--gray-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: #15599f; }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-mark {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  text-transform: lowercase;
}
.brand-accent { color: var(--blue-400); }
.brand-sub {
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--blue-300);
  text-transform: uppercase;
  margin-top: 2px;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--gray-400);
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: #fff; border-color: var(--blue-500); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; display: block; }

/* ---------- Flash messages ---------- */
.flash-wrap { margin-top: 20px; }
.flash {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-bottom: 12px;
}
.flash-success { background: rgba(47,191,113,.12); color: #1a8a51; border: 1px solid rgba(47,191,113,.3); }
.flash-error { background: rgba(255,90,110,.12); color: #c22; border: 1px solid rgba(255,90,110,.3); }
.flash-info { background: rgba(47,143,255,.12); color: var(--blue-500); border: 1px solid rgba(47,143,255,.3); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(10,22,40,.6) 0%, rgba(4,10,22,.8) 65%),
    url("/static/img/hero-team.jpg") center 30% / cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero--about { background-image:
  radial-gradient(circle at 20% 20%, rgba(10,22,40,.6) 0%, rgba(4,10,22,.8) 65%),
  url("/static/img/about-team.jpg"); background-position: center 35%; }
.hero--services { background-image:
  radial-gradient(circle at 20% 20%, rgba(10,22,40,.6) 0%, rgba(4,10,22,.8) 65%),
  url("/static/img/services-hero.jpg"); background-position: center 40%; }
.hero--how { background-image:
  linear-gradient(100deg, rgba(4,10,22,.93) 0%, rgba(6,14,30,.8) 48%, rgba(6,14,30,.55) 100%),
  url("/static/img/howitworks-hero.jpg"); background-position: center 28%; }
.hero--industries { background-image:
  linear-gradient(100deg, rgba(4,10,22,.85) 0%, rgba(6,14,30,.6) 55%, rgba(6,14,30,.4) 100%),
  url("/static/img/hero-skyline.jpg"); background-position: center 55%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); color: #fff; }
.hero-lead { font-size: 19px; color: var(--gray-400); max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 54px;
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 34px; color: var(--blue-300); }
.hero-stat span { font-size: 13px; color: var(--gray-400); }
.hero-stat--amber strong { color: var(--amber-400); }

.underline-accent {
  text-decoration: underline;
  text-decoration-color: var(--amber-500);
  text-decoration-thickness: 5px;
  text-underline-offset: 7px;
}

.hero-visual {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-900), transparent);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.hero-visual h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.hero-visual-simple { text-align: center; padding: 44px 28px; }
.hero-savings-percent {
  font-size: 76px;
  font-weight: 800;
  color: var(--blue-300);
  line-height: 1;
  margin: 14px 0 10px;
}
.hero-savings-desc { color: var(--gray-400); font-size: 15px; max-width: 320px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 120px 0; }
.section:not(.section-alt):not(.section-dark):not(.glow-band) {
  /* Needs an opaque colour as well as the dot texture: sections overlap the
     one above them to form the sloped divider, so a transparent background
     would let the previous section show through the cut. */
  background-color: var(--white);
  background-image: radial-gradient(circle at 1px 1px, rgba(91, 107, 131, 0.32) 1.2px, transparent 0);
  background-size: 22px 22px;
}
.section-tight { padding: 60px 0; }
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--gray-400); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin: 0 0 56px; text-align: left; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head p { font-size: 17.5px; }

[id] { scroll-margin-top: 96px; }

/* ---------- Sloped section dividers ----------
   A section carrying .slope-top slides up over the section above it and
   has its own top edge cut on a diagonal. Because the cut belongs to the
   lower section, that section's own background — dot texture, photo,
   gradient — fills the wedge right up to the top of the slant, instead
   of the flat colour band a separate divider element would give. */
.slope-top {
  margin-top: calc(var(--slope) * -1);
  clip-path: polygon(0 var(--slope), 100% 0, 100% 100%, 0 100%);
}
.slope-top--rev { clip-path: polygon(0 0, 100% var(--slope), 100% 100%, 0 100%); }
.section.slope-top { padding-top: calc(120px + var(--slope)); }
.site-footer.slope-top { padding-top: calc(70px + var(--slope)); }

/* ---------- Photo placeholders ---------- */
.photo-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-100);
  color: var(--gray-400);
}
.photo-placeholder svg { width: 32px; height: 32px; }
.photo-placeholder span { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; max-width: 180px; }
.photo-placeholder--dark {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.2);
  color: var(--gray-400);
}
.photo-placeholder--wide { aspect-ratio: 16 / 10; }

.photo-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-card);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame--wide { aspect-ratio: 16 / 10; }

/* ---------- Industry tiles ---------- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.industry-tile {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.industry-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(6,14,30,.12); }
.industry-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}
.industry-icon--amber { background: linear-gradient(135deg, var(--amber-500), var(--amber-600)); }
.industry-icon--green { background: linear-gradient(135deg, var(--success), #1c8f57); }
.industry-icon--purple { background: linear-gradient(135deg, var(--purple-500), var(--purple-600)); }
.industry-icon--pink { background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); }
.industry-icon--teal { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); }
.industry-tile h4 { font-size: 14.5px; margin: 0; }

/* ---------- Compact cards & reasons ---------- */
.card-compact { padding: 28px; }
.card-compact .card-icon { width: 46px; height: 46px; margin-bottom: 18px; }
.card-compact h3 { font-size: 17px; margin-bottom: 6px; }
.card-compact p { font-size: 14px; }

.reason-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.reason { display: flex; gap: 14px; align-items: flex-start; }
.reason-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(47,143,255,.14);
  color: var(--blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reason-icon--amber { background: rgba(245,166,35,.16); color: var(--amber-600); }
.reason-icon--green { background: rgba(47,191,113,.14); color: #1c8f57; }
.reason-icon--purple { background: rgba(124,92,240,.14); color: var(--purple-500); }
.reason-icon--pink { background: rgba(236,72,153,.14); color: var(--pink-600); }
.reason-icon--teal { background: rgba(20,184,166,.14); color: var(--teal-600); }
.reason h4 { font-size: 15.5px; margin: 0 0 4px; }
.reason p { font-size: 13.5px; margin: 0; }

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

/* Real office/team photography — one feature shot with a stacked pair */
.photo-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 22px;
  margin-top: 44px;
  align-items: start;
}
.photo-gallery figure { margin: 0; }
.photo-gallery-side { display: grid; gap: 22px; }
.photo-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}
.photo-gallery-main img { aspect-ratio: 13 / 10; }
.photo-gallery-side img { aspect-ratio: 4 / 3; }
.photo-gallery img[src*="office-sign"] { object-position: center 26%; }
.photo-caption {
  display: block;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--gray-400);
}

/* ---------- How It Works steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 54px;
}
.step-num {
  display: block;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--amber-400);
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; }
.step p { font-size: 14px; margin-bottom: 0; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6,14,30,.12); }
.card-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 22px;
}
.card-icon--amber { background: linear-gradient(135deg, var(--amber-500), var(--amber-600)); }
.card-icon--green { background: linear-gradient(135deg, var(--success), #1c8f57); }
.card-icon--purple { background: linear-gradient(135deg, var(--purple-500), var(--purple-600)); }
.card-icon--pink { background: linear-gradient(135deg, var(--pink-500), var(--pink-600)); }
.card-icon--teal { background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); }
.card h3 { font-size: 20px; }
.card p { margin-bottom: 0; }
.card-logo-corner { position: relative; padding-bottom: 74px; }
.card-logo-corner .card-logo-mark {
  position: absolute;
  right: 24px;
  bottom: 24px;
  align-items: flex-end;
}

.icon-tick {
  color: var(--blue-500);
  flex-shrink: 0;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--gray-600);
}

/* ===========================================================
   Section layout variants — each major section gets its own
   treatment so the page doesn't read as one repeated card list.
   Colour is driven per item by --accent / --accent-soft.
   =========================================================== */

/* A. Staggered cards with an accent bar along the top */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.feature-grid > :nth-child(2),
.feature-grid > :nth-child(5) { margin-top: 36px; }
.feature-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--accent, var(--blue-500));
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6,14,30,.12); }
.feature-card .card-icon {
  width: 50px; height: 50px; margin-bottom: 18px;
  background: var(--accent, var(--blue-500));
}
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; margin-bottom: 0; }

/* B. Inline pill chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 9px 24px 9px 9px;
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--navy-900);
  transition: transform .2s ease, box-shadow .2s ease;
}
.chip:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6,14,30,.14); }
.chip-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent, var(--blue-500));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* C. Borderless numbered rows with hairline rules */
.feature-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-200);
}
.feature-rows > :last-child { border-bottom: none; }
.feature-num {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--accent, var(--blue-500));
  flex-shrink: 0;
  min-width: 42px;
}
.feature-row h3 { font-size: 17px; margin-bottom: 5px; }
.feature-row p { font-size: 14px; margin-bottom: 0; }

/* D. Values journey — circles joined by a dotted line */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.journey-node { text-align: center; position: relative; }
.journey-node::after {
  content: "";
  position: absolute;
  top: 33px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  border-top: 2px dotted var(--gray-200);
}
.journey-node:last-child::after { display: none; }
.journey-icon {
  width: 66px; height: 66px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(47,143,255,.14));
  color: var(--accent, var(--blue-500));
  position: relative;
  z-index: 2;
}
.journey-node h4 { font-size: 13.5px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px; }
.journey-node p { font-size: 13px; margin-bottom: 0; }

/* E. Plain columns divided by vertical rules (no card boxes) */
.plain-cols { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
.plain-col { padding: 4px 32px; border-left: 1px solid var(--gray-200); }
.plain-col:nth-child(3n+1) { border-left: none; padding-left: 0; }
.plain-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(47,143,255,.14));
  color: var(--accent, var(--blue-500));
  margin-bottom: 16px;
}
.plain-col h3 { font-size: 16.5px; margin-bottom: 6px; }
.plain-col p { font-size: 14px; margin-bottom: 0; }

/* F. Horizontal split cards with a leading accent edge */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--accent, var(--blue-500));
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.split-card:hover { transform: translateX(5px); box-shadow: 0 16px 34px rgba(6,14,30,.12); }
.split-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent, var(--blue-500));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.split-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.split-card p { font-size: 14px; margin-bottom: 0; }

/* G. Service category card — icon beside the title, colour-matched bullets */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--accent, var(--blue-500));
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(6,14,30,.12); }
.svc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent, var(--blue-500));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.svc-head h3 { font-size: 18px; margin: 0; }
.svc-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 6px 0;
  color: var(--gray-600);
  font-size: 14.5px;
}
.svc-list li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent, var(--blue-500));
  margin-top: 9px;
  flex-shrink: 0;
}

/* H. Bare tiles — circle and label, no box */
.tile-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px 20px; }
.tile-plain { text-align: center; }
.tile-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft, rgba(47,143,255,.14));
  color: var(--accent, var(--blue-500));
  transition: transform .2s ease;
}
.tile-plain:hover .tile-icon { transform: translateY(-5px); }
.tile-plain h4 { font-size: 13.5px; margin: 0; }

/* I. Full-width highlight panel */
.feature-panel {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.feature-panel h3 { color: #fff; font-size: 23px; margin-bottom: 6px; }
.feature-panel p { color: var(--gray-400); margin: 0; max-width: 660px; }

/* J. Media-integrated section — photo bleeds to the section edge on one
   side with an angled cut, content sits alongside it. */
.media-split { overflow: hidden; }
.media-split .container { position: relative; z-index: 2; }
.media-split-inner { max-width: 58%; }
.media-split-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 44%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.media-split-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-split-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(26,111,209,.34), rgba(10,22,40,.12));
}
.media-split-note {
  position: absolute;
  right: 42px;
  bottom: 104px;
  z-index: 2;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
  text-shadow: 0 2px 14px rgba(4,10,22,.55);
}

/* K. Glow band — deep navy with coloured light pools and oversized,
   glowing symbols. The top edge is deliberately a flat navy-950 so the
   sloped divider sitting above it matches the seam exactly. */
.glow-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 62% 46% at 16% 52%, rgba(47,143,255,.30), transparent 70%),
    radial-gradient(ellipse 62% 46% at 88% 90%, rgba(124,92,240,.30), transparent 70%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 58%, var(--navy-800) 100%);
}
.glow-band h2, .glow-band h3, .glow-band h4 { color: #fff; }
.glow-band p { color: var(--gray-400); }

.glow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 60px;
}
.glow-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 44px 34px; }
.glow-item { text-align: center; }
.glow-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.05);
  color: var(--accent, var(--blue-400));
  box-shadow: 0 0 46px var(--glow, rgba(47,143,255,.4)), inset 0 0 0 1px rgba(255,255,255,.14);
  transition: transform .25s ease, box-shadow .25s ease;
}
.glow-item:hover .glow-icon {
  transform: translateY(-6px);
  box-shadow: 0 0 70px var(--glow, rgba(47,143,255,.55)), inset 0 0 0 1px rgba(255,255,255,.22);
}
.glow-num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent, var(--blue-400));
}
.glow-item h3 { font-size: 18px; margin-bottom: 8px; }
.glow-item p { font-size: 14px; margin: 0; }

.stat-panel {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  margin-bottom: 72px;
}
.stat-panel-figure { flex-shrink: 0; text-align: center; }
.stat-panel-figure strong {
  display: block;
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-300);
}
.stat-panel-figure span {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--gray-400);
}
.stat-panel p { flex: 1; min-width: 280px; margin: 0; font-size: 14.5px; }

.glow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 56px;
}
.glow-tag {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}

/* L. Industry accordions — collapsed by default to keep the page compact */
.ind-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.ind-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.ind-item:hover { box-shadow: 0 16px 34px rgba(6,14,30,.12); }
.ind-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.ind-card-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
  background: var(--accent-soft, rgba(47,143,255,.14));
  color: var(--accent, var(--blue-500));
  display: flex; align-items: center; justify-content: center;
}
.ind-name { flex: 1; font-size: 17px; font-weight: 800; color: var(--navy-900); }
.ind-hint {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--gray-400);
  white-space: nowrap;
}
.ind-chev {
  width: 9px; height: 9px;
  flex-shrink: 0;
  border-right: 2px solid var(--accent, var(--blue-500));
  border-bottom: 2px solid var(--accent, var(--blue-500));
  transform: rotate(45deg);
  transition: transform .25s ease;
  margin: -4px 4px 0 2px;
}
.ind-item.is-open .ind-chev { transform: rotate(-135deg); margin-top: 2px; }
.ind-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ind-panel-inner { padding: 0 20px 20px; }
.ind-panel-inner p { font-size: 14.5px; margin-bottom: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-soft, rgba(47,143,255,.14));
  color: var(--accent, var(--blue-600));
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: var(--gray-400); margin-bottom: 0; max-width: 480px; }
.cta-banner--media {
  background:
    linear-gradient(115deg, rgba(8,18,34,.95) 0%, rgba(16,31,56,.88) 48%, rgba(26,111,209,.72) 100%),
    url("/static/img/hero-skyline.jpg") center / cover no-repeat;
}
.cta-banner--media p { color: rgba(255,255,255,.78); }

/* ---------- Savings calculator page ---------- */
.calc-shell {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: start;
}
.calc-panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 100px;
}
.calc-panel label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-800);
  margin: 20px 0 8px;
}
.calc-panel label:first-of-type { margin-top: 0; }
.calc-panel select,
.calc-panel input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-main);
  font-size: 15px;
  background: var(--gray-100);
}
.calc-panel select:focus,
.calc-panel input:focus { outline: none; border-color: var(--blue-500); }

.calc-results {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 36px;
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.savings-headline { font-size: 42px; color: var(--blue-300); margin-bottom: 4px; }
.savings-sub { color: var(--gray-400); margin-bottom: 30px; }
.savings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.savings-tile {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 20px;
}
.savings-tile span { font-size: 12px; color: var(--gray-400); text-transform: uppercase; letter-spacing: .05em; }
.savings-tile strong { display: block; font-size: 22px; margin-top: 6px; }
.chart-wrap { background: rgba(255,255,255,.03); border-radius: var(--radius-md); padding: 20px; }
.calc-disclaimer {
  font-size: 12.5px;
  color: var(--gray-400);
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}

/* ---------- News page ---------- */
.social-cta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.social-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 12px;
  border-radius: var(--radius-md);
  background: var(--navy-900);
  color: #fff;
  text-align: center;
  transition: transform .2s ease;
}
.social-cta-card:hover { transform: translateY(-4px); }
.social-cta-card svg { width: 26px; height: 26px; color: var(--blue-400); }
.social-cta-card span { font-size: 13px; font-weight: 700; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--blue-500);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 18px; height: 2px; }
.faq-icon::after { width: 2px; height: 18px; transition: transform .2s ease; }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 26px;
  color: var(--gray-600);
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.is-open .faq-answer { padding: 0 26px 24px; }
.faq-answer p { margin: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--gray-200); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item .icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(47,143,255,.1); color: var(--blue-500);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-family: var(--font-main);
  font-size: 15px;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--blue-500); }
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-top: 24px;
}

/* ---------- Legal pages ---------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 40px; font-size: 22px; }
.legal-content p, .legal-content li { color: var(--gray-600); }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-updated { color: var(--blue-500); font-weight: 700; font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--gray-400); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer-col a { color: var(--gray-400); font-size: 14.5px; }
.footer-col a:hover { color: #fff; }
.footer-tagline { font-size: 14px; margin: 10px 0 6px; }
.footer-address { font-size: 13.5px; line-height: 1.5; }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: var(--blue-500); }
.footer-note { font-size: 12.5px; margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .contact-grid, .calc-shell { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .social-cta-grid { grid-template-columns: repeat(3, 1fr); }
  .calc-panel { position: static; }
  .reason-strip, .people-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid > :nth-child(2), .feature-grid > :nth-child(5) { margin-top: 0; }
  .feature-grid > :nth-child(even) { margin-top: 28px; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .journey-node::after { display: none; }
  .plain-cols { grid-template-columns: repeat(2, 1fr); }
  .plain-col:nth-child(3n+1) { border-left: 1px solid var(--gray-200); padding-left: 32px; }
  .plain-col:nth-child(odd) { border-left: none; padding-left: 0; }
  .tile-row { grid-template-columns: repeat(4, 1fr); }
  .glow-grid, .glow-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ind-list { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .media-split-inner { max-width: 100%; }
  .media-split-photo {
    position: relative;
    width: 100%;
    height: 280px;
    clip-path: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 40px;
  }
  .media-split-note { display: none; }
}

@media (max-width: 720px) {
  :root { --slope: 40px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 32px; }
  .hero-savings-percent { font-size: 58px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .social-cta-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-banner { padding: 36px; }
  .savings-grid { grid-template-columns: 1fr; }
  .reason-strip, .people-grid, .steps-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .svc-grid, .split-grid, .feature-rows { grid-template-columns: 1fr; }
  .feature-grid > :nth-child(even) { margin-top: 0; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .plain-cols { grid-template-columns: 1fr; row-gap: 32px; }
  .plain-col, .plain-col:nth-child(3n+1) { border-left: none; padding: 0; }
  .tile-row { grid-template-columns: repeat(3, 1fr); }
  .glow-grid, .glow-grid--3 { grid-template-columns: 1fr; gap: 40px; }
  .glow-icon { width: 96px; height: 96px; }
  .feature-panel { padding: 30px; }
  .stat-panel { padding: 26px; gap: 22px; }
  .stat-panel-figure { text-align: left; }
  .ind-list { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .section { padding: 80px 0; }
  .section.slope-top { padding-top: calc(80px + var(--slope)); }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--navy-900);
    padding: 20px 24px;
    gap: 16px;
  }
}
