:root {
  --bg: #fbfdff;
  --card: #ffffff;
  --card2: #f5faff;
  --text: #07153b;
  --muted: #41567d;
  --line: #cfe0f7;
  --blue: #0759ef;
  --cyan: #07c6dc;
  --navy: #001c46;
  --shadow: 0 12px 32px rgba(24, 80, 145, 0.08);
  --max: 1536px;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #03111f;
  --card: #071a2d;
  --card2: #09243b;
  --text: #f5f9ff;
  --muted: #adc2d8;
  --line: #17466b;
  --blue: #2f83ff;
  --cyan: #18d4e4;
  --navy: #001427;

  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

/* =====================================================
   HEADER
===================================================== */

.topbar {
  max-width: var(--max);
  margin: auto;
  height: 92px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 60px;
  background: var(--card);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(10, 80, 150, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 520px;
}

.brand img {
  width: 55px;
  height: 55px;
  object-fit: cover;
}

.brand span {
  font-weight: 900;
  font-size: 24px;
  white-space: nowrap;
  background: linear-gradient(90deg, #0759ef, #06c4d8);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

nav {
  display: flex;
  align-items: center;
  gap: 33px;
  margin-left: auto;
}

nav a {
  font-weight: 700;
  font-size: 13px;
  padding: 34px 0 25px;
  border-bottom: 3px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.theme-switch {
  width: 72px;
  height: 36px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--text);
  cursor: pointer;
}

.theme-switch i {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--navy);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  color: var(--text);
  font-size: 23px;
  cursor: pointer;
}

/* =====================================================
   HOME HERO
===================================================== */

.home-hero {
  max-width: var(--max);
  margin: auto;
  min-height: 390px;
  padding: 30px 120px 22px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 69% 45%,
      rgba(40, 137, 255, 0.13),
      transparent 28%
    ),
    var(--card);
}

.pill {
  display: inline-block;
  border: 1px solid #bad4f7;
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  background: var(--card);
}

.hero-copy h1 {
  font-size: 58px;
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 14px 0 12px;
}

.hero-copy h1 em {
  font-style: normal;
  color: var(--blue);
}

.hero-copy > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.primary,
.enquiry button,
.newsletter-band button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #0759ef, #0646d8);
  color: #ffffff;
  font-weight: 800;
  padding: 13px 22px;
  cursor: pointer;
}

.primary:hover,
.enquiry button:hover,
.newsletter-band button:hover {
  filter: brightness(1.05);
}

.text-link {
  font-weight: 800;
  color: var(--blue);
}

.hero-logo {
  height: 335px;
  display: grid;
  place-items: center;
  position: relative;
}

.hero-logo img {
  width: 330px;
  height: 330px;
  object-fit: cover;
  border-radius: 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 28px 65px rgba(0, 80, 180, 0.18);
}

.orbit {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(35, 127, 245, 0.12);

  box-shadow:
    0 0 0 38px rgba(37, 127, 245, 0.02),
    0 0 0 76px rgba(37, 127, 245, 0.015);
}

/* =====================================================
   HOME TRUST STRIP
===================================================== */

.home-trust {
  max-width: 1410px;
  margin: 12px auto 20px;
  padding: 0 30px;
}

.home-trust-inner {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(90deg, var(--card), var(--card2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
}

.home-trust-item {
  min-height: 78px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-trust-item + .home-trust-item {
  border-left: 1px solid var(--line);
}

.home-trust-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eaf4ff;
  color: var(--blue);
  font-weight: 900;
}

.home-trust-item strong {
  display: block;
  font-size: 13px;
}

.home-trust-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

/* =====================================================
   CORE SERVICES
===================================================== */

.core-wrap {
  max-width: 1475px;
  margin: auto;
  padding: 0 30px;
}

.core-wrap > header {
  padding: 20px 38px 10px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 15px 15px 0 0;
  background: var(--card);
}

.core-wrap > header span,
.about-band > div > span,
.page-hero > span,
.about-hero > div > span,
.story-intro > span,
.detail-flow article > span,
.section-heading > span {
  font-size: 12px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.core-wrap > header h2 {
  font-size: 20px;
  margin: 3px 0;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  padding: 0 32px 20px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 15px 15px;
  background: var(--card);
}

.core-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px;
  min-height: 190px;
  box-shadow: var(--shadow);
  background: var(--card);
  transition: 0.2s;
}

.core-card:hover,
.service-card:hover,
.industry-card:hover,
.home-insight-card:hover {
  transform: translateY(-3px);
  border-color: #8eb8f6;
}

.round-icon,
.service-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0a68ff, #0347d5);
  color: #ffffff;
  font-weight: 900;
}

.core-card h3 {
  font-size: 14px;
  margin: 10px 0 5px;
}

.core-card p {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  min-height: 56px;
}

.core-card span,
.service-card span {
  font-size: 11px;
  color: var(--blue);
  font-weight: 900;
}

/* =====================================================
   HOME SECTIONS
===================================================== */

.home-section {
  max-width: 1410px;
  margin: 22px auto;
  padding: 0 30px;
}

.home-panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--card);
  padding: 28px 32px;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 3px 0 7px;
  font-size: 27px;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  max-width: 740px;
  color: var(--muted);
  font-size: 13px;
}

/* =====================================================
   HOW WE WORK
===================================================== */

.home-process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.home-process-step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card2);
  padding: 18px;
  min-height: 125px;
}

.home-process-step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0759ef, #07b8db);
  color: #ffffff;
  font-size: 12px;
}

.home-process-step strong {
  display: block;
  font-size: 14px;
}

.home-process-step p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

/* =====================================================
   ABOUT BAND
===================================================== */

.about-band {
  margin: 18px 32px 12px;
  border: 1px solid #a9ccfa;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 90px 1.15fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 16px 30px;
  background: linear-gradient(90deg, var(--card), var(--card2));
}

.people-mark {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eaf4ff;
  color: var(--blue);
  font-size: 13px;
}

.about-band h2 {
  font-size: 20px;
  margin: 2px 0;
}

.about-band p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.check-grid {
  border-left: 1px solid var(--line);
  padding-left: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 11px;
}

/* =====================================================
   HOME INDUSTRIES
===================================================== */

.home-industries {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.home-industry-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card2);
  padding: 20px;
}

.home-industry-card strong {
  display: block;
  font-size: 14px;
}

.home-industry-card p {
  margin: 7px 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.home-industry-card a {
  color: var(--blue);
  font-weight: 900;
  font-size: 11px;
}

/* =====================================================
   HOME INSIGHTS
===================================================== */

.home-insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-insight-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: 0.2s;
}

.home-insight-card span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-insight-card h3 {
  margin: 8px 0;
  font-size: 15px;
}

.home-insight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

/* =====================================================
   NEWSLETTER
===================================================== */

.newsletter-band {
  display: grid;
  grid-template-columns: 45px minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 14px;
  align-items: center;
  border: 1px solid #a9ccfa;
  border-radius: 13px 13px 0 0;
  padding: 14px 32px;

  background: linear-gradient(
    90deg,
    #eef7ff,
    var(--card)
  );

  color: var(--text);
}

.mail-mark {
  font-size: 30px;
  color: var(--blue);
}

.newsletter-band small,
.newsletter-band b {
  display: block;
}

.newsletter-band small {
  font-size: 10px;
  color: var(--muted);
}

.newsletter-band form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.newsletter-band input {
  width: 100%;
  min-width: 0;
  border: 1px solid #c7daf4;
  border-radius: 7px;
  padding: 10px 12px;
  background: var(--card);
  color: var(--text);
}

.newsletter-band button {
  border-radius: 7px;
  padding: 10px 22px;
  white-space: nowrap;
}

.newsletter-band .cf-turnstile {
  max-width: 100%;
}

.newsletter-band .form-status {
  grid-column: 1 / -1;
  min-height: 15px;
  font-size: 10px;
}

/* =====================================================
   FINAL HOME CTA
===================================================== */

.home-final-cta {
  max-width: 1410px;
  margin: 22px auto 0;
  padding: 0 30px;
}

.home-final-cta-inner {
  border-radius: 15px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;

  background:
    radial-gradient(
      circle at 80% 25%,
      rgba(255, 255, 255, 0.18),
      transparent 26%
    ),
    linear-gradient(90deg, #063dcf, #0b6cff, #08bcd8);

  color: #ffffff;
}

.home-final-cta h2 {
  margin: 0;
  font-size: 27px;
}

.home-final-cta p {
  margin: 5px 0 0;
  max-width: 720px;
  font-size: 13px;
}

.home-final-cta a {
  flex: 0 0 auto;
  background: #ffffff;
  color: #0755e8;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 900;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
  max-width: var(--max);
  margin: auto;
  background: linear-gradient(90deg, #001b44, #00275d);
  color: #eef7ff;
  padding: 17px 58px 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 35px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 360px;
  border-right: 1px solid #7895b8;
  padding-right: 30px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.footer-brand b {
  display: block;
  color: #10bfe2;
}

.footer-brand small {
  display: block;
  max-width: 300px;
  color: #b8c9db;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #eaf4ff;
  font-size: 11px;
}

.social-icon svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.social-icon:hover {
  color: #20c6e5;
}

.footer-mail {
  color: #14c6e5;
  font-weight: 700;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #9fb4ca;
  border-top: 1px solid #25466a;
  margin-top: 12px;
  padding-top: 8px;
}

/* =====================================================
   PAGE HERO
===================================================== */

.page-hero,
.about-hero {
  max-width: 1475px;
  margin: 22px auto 0;
  border: 1px solid var(--line);
  border-radius: 15px;

  background:
    radial-gradient(
      circle at 75% 30%,
      rgba(0, 155, 255, 0.12),
      transparent 28%
    ),
    var(--card);

  padding: 70px 55px;
}

.page-hero {
  text-align: center;
}

.page-hero h1,
.about-hero h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 7px 0 15px;
}

.page-hero p {
  max-width: 800px;
  margin: auto;
  color: var(--muted);
  font-size: 16px;
}

/* =====================================================
   CONTENT / SERVICES
===================================================== */

.content {
  max-width: 1475px;
  margin: auto;
  padding: 45px 30px 70px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow);
  min-height: 220px;
  transition: 0.2s;
}

.service-card h3 {
  font-size: 15px;
}

.service-card p {
  font-size: 12px;
  color: var(--muted);
}

.blue-cta {
  max-width: 1475px;
  margin: 0 auto;
  padding: 28px 50px;
  background: linear-gradient(90deg, #063dcf, #0b6cff, #08bcd8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.blue-cta h2 {
  margin: 0;
  font-size: 30px;
}

.blue-cta p {
  margin: 4px 0 0;
}

.blue-cta a {
  background: #ffffff;
  color: #0755e8;
  padding: 12px 20px;
  border-radius: 7px;
  font-weight: 900;
}

/* =====================================================
   ABOUT
===================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
}

.about-hero img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.about-hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.story {
  max-width: 1200px;
  margin: auto;
  padding: 70px 30px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.story.alt {
  max-width: 1475px;
  background: var(--card2);
  padding-left: 80px;
  padding-right: 80px;
}

.story-intro h2 {
  font-size: 36px;
  line-height: 1.15;
  margin: 4px 0;
}

.story-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.values {
  max-width: 1475px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 30px 70px;
}

.values article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.values b {
  color: var(--blue);
  font-size: 26px;
}

.values p {
  font-size: 13px;
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.process div {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.process strong {
  color: var(--blue);
}

.process p {
  font-size: 12px;
  color: var(--muted);
}

/* =====================================================
   INDUSTRIES
===================================================== */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.industry-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: 0.2s;
}

.industry-card > div {
  font-size: 30px;
  color: var(--blue);
}

.industry-card p {
  color: var(--muted);
  font-size: 13px;
}

.industry-card a {
  color: var(--blue);
  font-weight: 900;
  font-size: 12px;
}

/* =====================================================
   NEWS / VIDEOS
===================================================== */

.news-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.news-grid article,
.video-grid article {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.news-art,
.video-thumb {
  height: 190px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.15em;
  overflow: hidden;
  position: relative;
}

.purple {
  background: radial-gradient(circle, #9240ff, #13054a);
}

.orange {
  background: radial-gradient(circle, #ff6500, #3d0800);
}

.blue {
  background: radial-gradient(circle, #00b8ff, #001b52);
}

.video-thumb {
  background: radial-gradient(circle, #1077cb, #03172e);
  font-size: 45px;
}

.public-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.64);
  color: #ffffff;
  font-size: 23px;
}

.news-grid p,
.video-grid p {
  color: var(--muted);
  font-size: 13px;
}

.news-grid span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

.public-video-category,
.public-video-featured,
.public-video-date {
  display: inline-block;
  margin-top: 9px;
  margin-right: 8px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.channel-link {
  text-align: center;
  margin-top: 25px;
}

.channel-link a {
  color: var(--blue);
  font-weight: 900;
}

/* =====================================================
   CONTACT
===================================================== */

.contact-grid {
  max-width: 1475px;
  margin: 22px auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}

.contact-left {
  padding: 55px;

  background:
    radial-gradient(
      circle at 75% 45%,
      rgba(0, 145, 255, 0.14),
      transparent 30%
    ),
    var(--card);
}

.contact-left > span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.contact-left h1 {
  font-size: 55px;
  line-height: 1.02;
}

.contact-left h1 em {
  font-style: normal;
  color: var(--blue);
}

.contact-left > p {
  color: var(--muted);
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 25px;
}

.contact-cards a {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
  background: var(--bg);
}

.contact-cards b {
  font-size: 25px;
  color: var(--blue);
}

.contact-cards strong {
  display: block;
}

.contact-cards span {
  font-size: 12px;
  color: var(--muted);
}

.contact-logo {
  width: 240px;
  border-radius: 22px;
  margin: 28px auto 0;
}

.contact-right {
  padding: 30px;
  background: var(--bg);
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 20px;
}

.form-card,
.why {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.form-card > p {
  color: var(--muted);
  font-size: 12px;
}

.enquiry label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin: 11px 0;
}

.enquiry input,
.enquiry select,
.enquiry textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 7px;
  padding: 11px;
  margin-top: 5px;
}

.enquiry textarea {
  min-height: 140px;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.consent {
  display: flex !important;
  gap: 8px;
}

.consent input {
  width: auto;
}

.consent a {
  color: var(--blue);
}

.why > div {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.why b {
  color: var(--blue);
  font-size: 20px;
}

.why p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.why strong {
  display: block;
  color: var(--text);
}

/* =====================================================
   SERVICE DETAIL
===================================================== */

.service-detail {
  max-width: 1200px;
  margin: auto;
  padding: 45px 30px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 45px;
}

.detail-flow article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.detail-flow h2 {
  font-size: 32px;
  margin: 3px 0 10px;
}

.detail-flow p {
  color: var(--muted);
}

.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-cards div {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 9px;
  padding: 13px;
}

.service-aside {
  position: sticky;
  top: 120px;
  height: max-content;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.service-aside img {
  border-radius: 12px;
}

.service-aside p {
  font-size: 12px;
  color: var(--muted);
}

.service-aside .primary {
  width: 100%;
  justify-content: center;
}

.service-hero {
  text-align: left;
}

/* =====================================================
   LEGAL
===================================================== */

.legal {
  max-width: 980px;
  margin: auto;
  padding: 50px 30px 90px;
}

.legal-note {
  border: 1px solid #f0c36a;
  background: #fff8e7;
  color: #5b430e;
  border-radius: 10px;
  padding: 16px;
  line-height: 1.65;
}

.legal h2 {
  margin-top: 32px;
}

.legal p {
  color: var(--muted);
  line-height: 1.8;
}

.legal a {
  color: var(--blue);
  font-weight: 700;
}

/* =====================================================
   TABLET / SMALL DESKTOP
===================================================== */

@media (max-width: 1180px) {

  .topbar {
    padding-left: 30px;
    padding-right: 30px;
  }

  .brand {
    min-width: 350px;
  }

  .brand span {
    font-size: 18px;
  }

  nav {
    gap: 16px;
  }

  .home-hero {
    padding: 35px 65px;
  }

  .core-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid,
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-social {
    gap: 10px;
  }

  .social-icon span {
    display: none;
  }

  .process,
  .home-process {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-industries {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-band {
    grid-template-columns: 45px 1fr;
  }

  .newsletter-band form {
    grid-column: 1 / -1;
  }
}

/* =====================================================
   TABLET / MOBILE NAV
===================================================== */

@media (max-width: 900px) {

  .topbar {
    height: 76px;
    padding: 8px 18px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    flex: 1;
  }

  .brand span {
    font-size: 16px;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .topbar nav {
    position: absolute;
    display: none;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--card);
    padding: 14px 22px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    gap: 0;
    box-shadow: 0 18px 30px rgba(0, 40, 90, 0.08);
  }

  .topbar nav.open {
    display: flex;
  }

  .topbar nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
  }

  .home-hero,
  .about-hero,
  .story,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding: 40px 25px 28px;
    gap: 10px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo {
    height: 305px;
  }

  .hero-logo img {
    width: 285px;
    height: 285px;
  }

  .orbit {
    width: 400px;
    height: 400px;
  }

  .home-trust-inner {
    grid-template-columns: 1fr;
  }

  .home-trust-item + .home-trust-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .core-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 15px 18px;
  }

  .about-band {
    grid-template-columns: 70px 1fr;
    margin: 16px;
  }

  .check-grid {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 15px 0 0;
  }

  .home-process {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-insights {
    grid-template-columns: 1fr;
  }

  .newsletter-band {
    grid-template-columns: 40px 1fr;
  }

  .newsletter-band form {
    grid-column: 1 / -1;
  }

  .services-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .story.alt {
    padding: 50px 30px;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .contact-right {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-aside {
    position: static;
  }

  .footer-inner {
    flex-wrap: wrap;
  }

  .footer-brand {
    border: 0;
  }

  .footer-social {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .home-final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  .topbar {
    padding: 7px 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand span {
    font-size: 11px;
    line-height: 1.15;
    white-space: normal;
  }

  .brand img {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
  }

  .theme-switch span {
    display: none;
  }

  .theme-switch {
    width: 40px;
    height: 34px;
  }

  .theme-switch i {
    width: 22px;
    height: 22px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    gap: 13px;
  }

  .hero-actions .primary,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-logo img {
    width: 255px;
    height: 255px;
  }

  .hero-logo {
    height: 275px;
  }

  .orbit {
    width: 340px;
    height: 340px;
  }

  .home-trust,
  .home-section,
  .home-final-cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .home-panel {
    padding: 22px 16px;
  }

  .section-heading h2 {
    font-size: 23px;
  }

  .core-wrap {
    padding: 0 14px;
  }

  .core-wrap > header {
    padding: 18px 18px 9px;
  }

  .core-grid,
  .services-grid,
  .industry-grid,
  .values,
  .home-industries {
    grid-template-columns: 1fr;
  }

  .core-card {
    min-height: 0;
  }

  .about-band {
    grid-template-columns: 1fr;
    text-align: center;
    margin: 16px 0 12px;
    padding: 20px 18px;
  }

  .people-mark {
    margin: auto;
  }

  .check-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .home-process,
  .process {
    grid-template-columns: 1fr;
  }

  .newsletter-band {
    padding: 18px 14px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mail-mark {
    text-align: center;
  }

  .newsletter-band > div:nth-child(2) {
    text-align: center;
  }

  .newsletter-band form {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 10px;
  }

  .newsletter-band input {
    width: 100%;
    min-width: 0;
    border-radius: 7px;
  }

  .newsletter-band .cf-turnstile {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .newsletter-band button {
    width: 100%;
    justify-content: center;
    border-radius: 7px;
  }

  .newsletter-band .form-status {
    width: 100%;
  }

  .home-final-cta-inner {
    padding: 25px 20px;
  }

  .home-final-cta h2 {
    font-size: 24px;
  }

  .home-final-cta a {
    width: 100%;
    text-align: center;
  }

  .page-hero,
  .about-hero {
    padding: 45px 22px;
  }

  .page-hero h1,
  .about-hero h1 {
    font-size: 40px;
  }

  .about-hero img {
    max-width: 280px;
    margin: auto;
  }

  .story {
    padding: 50px 22px;
    gap: 25px;
  }

  .story-intro h2 {
    font-size: 30px;
  }

  .blue-cta {
    display: block;
    padding: 25px 22px;
  }

  .blue-cta h2 {
    font-size: 25px;
  }

  .blue-cta a {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }

  .contact-left {
    padding: 40px 22px;
  }

  .contact-left h1 {
    font-size: 44px;
  }

  .contact-right {
    padding: 14px;
  }

  .form-card,
  .why {
    padding: 18px;
  }

  .two {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 20px 18px;
  }

  .footer-inner {
    gap: 20px;
  }

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

  .footer-social {
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .social-icon span {
    display: inline;
  }

  .footer-mail {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    display: block;
    line-height: 1.8;
  }

  .mini-cards {
    grid-template-columns: 1fr;
  }

  .service-detail {
    padding: 35px 18px 60px;
  }

  .detail-flow h2 {
    font-size: 27px;
  }

  .news-art,
  .video-thumb {
    height: 175px;
  }

  .content {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =====================================================
   VERY SMALL MOBILE
===================================================== */

@media (max-width: 380px) {

  .brand span {
    font-size: 10px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero-copy h1 {
    font-size: 37px;
  }

  .pill {
    font-size: 10px;
  }

  .hero-logo img {
    width: 225px;
    height: 225px;
  }

  .hero-logo {
    height: 245px;
  }

  .orbit {
    width: 295px;
    height: 295px;
  }

  .theme-switch {
    width: 36px;
  }

  .menu-btn {
    font-size: 21px;
  }
}