:root {
  --ink: #061b46;
  --navy-950: #03133d;
  --navy-900: #06256d;
  --navy-800: #0736b8;
  --blue: #0066df;
  --cyan: #08a8ed;
  --green: #00b72f;
  --red: #ff1010;
  --paper: #f6faff;
  --white: #ffffff;
  --muted: #62708a;
  --line: rgba(6, 37, 109, 0.13);
  --shadow-blue: 0 26px 80px rgba(3, 19, 61, 0.28);
  --shadow-soft: 0 18px 45px rgba(6, 37, 109, 0.12);
  --radius: 8px;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

button {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  z-index: 60;
  width: 320px;
  height: 320px;
  pointer-events: none;
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(8, 168, 237, 0.2), transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 220ms ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 72px);
  color: var(--white);
  transition: background 260ms ease, box-shadow 260ms ease, padding 260ms ease;
}

.site-header.scrolled,
.site-header.nav-active {
  padding-block: 11px;
  background: rgba(3, 19, 61, 0.86);
  box-shadow: 0 16px 55px rgba(3, 19, 61, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 128px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.22));
}

.brand span {
  max-width: 160px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.7vw, 28px);
  font-size: 0.9rem;
  font-weight: 850;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: var(--white);
  transition: width 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  width: 100%;
}

.quote-button,
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.quote-button {
  padding: 0 20px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 36px rgba(255, 16, 16, 0.26);
}

.quote-button span,
.btn span {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--red);
  background: var(--white);
  font-size: 1.4rem;
  line-height: 1;
}

.quote-button:hover,
.quote-button:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.1);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(320px, 600px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: 124px clamp(20px, 5vw, 72px) 42px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 19, 61, 0.92) 0%, rgba(3, 19, 61, 0.76) 34%, rgba(3, 19, 61, 0.28) 52%, rgba(3, 19, 61, 0.02) 72%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 82px 82px, 82px 82px;
  pointer-events: none;
}

.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0;
  filter: saturate(1.04) contrast(1.02);
  animation: bannerBreath 14s ease-in-out infinite alternate;
  transition: opacity 850ms ease;
}

.hero-banner video.active {
  opacity: 1;
}

.hero-fx {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  grid-column: 1;
  width: min(100%, 590px);
  padding: 16px 0 22px;
}

.beam {
  position: absolute;
  height: 3px;
  border-radius: 999px;
  opacity: 0.72;
  background: linear-gradient(90deg, transparent, rgba(8, 168, 237, 0.95), transparent);
  filter: blur(0.2px);
  animation: beamSlide 6s ease-in-out infinite;
}

.beam-one {
  top: 160px;
  right: 18%;
  width: 30vw;
}

.beam-two {
  top: 280px;
  right: 0;
  width: 22vw;
  animation-delay: -2.8s;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  animation: floatOrb 9s ease-in-out infinite alternate;
}

.orb-one {
  top: 110px;
  right: 25%;
  width: 190px;
  height: 190px;
  background: rgba(8, 168, 237, 0.22);
}

.orb-two {
  right: 2%;
  bottom: 60px;
  width: 240px;
  height: 240px;
  background: rgba(0, 183, 47, 0.15);
  animation-delay: -3s;
}

.grid-glow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58vw;
  height: 260px;
  background: linear-gradient(180deg, transparent, rgba(8, 168, 237, 0.16));
}

.hero-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.red-mark {
  display: block;
  width: 58px;
  height: 5px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 0 24px rgba(255, 16, 16, 0.6);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(2.15rem, 3.9vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
}

.hero-copy p:not(.hero-kicker) {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 1.18vw, 1.14rem);
  line-height: 1.62;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

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

.btn {
  padding: 0 22px;
}

.btn-red {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 18px 36px rgba(255, 16, 16, 0.25);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(8, 168, 237, 0.15);
  backdrop-filter: blur(10px);
}

.btn-ghost span {
  color: var(--blue);
}

.services-strip,
.why,
.portfolio,
.contact-panel {
  position: relative;
  z-index: 2;
}

.services-strip {
  padding: 28px clamp(18px, 5vw, 72px) 34px;
  background: var(--white);
  box-shadow: 0 -18px 60px rgba(3, 19, 61, 0.12);
}

.strip-title {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.service-row {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.mini-service {
  position: relative;
  min-height: 0;
  display: block;
  padding: 0;
  overflow: hidden;
  text-align: center;
  border: 0;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 18px 45px rgba(6, 37, 109, 0.13);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mini-service::before {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-105%);
  background: linear-gradient(105deg, transparent, rgba(8, 168, 237, 0.18), transparent);
  transition: transform 500ms ease;
}

.mini-service:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 70px rgba(6, 37, 109, 0.2);
}

.mini-service:hover::before {
  transform: translateX(105%);
}

.service-icon {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(6, 37, 109, 0.08);
}

.service-icon::after {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(8, 168, 237, 0.14), transparent 44%, rgba(255, 16, 16, 0.08));
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.mini-service:hover .service-icon img {
  transform: scale(1.035);
}

.mini-service:hover .service-icon::after {
  opacity: 1;
}

.mini-service h3 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.section-shell {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.why {
  padding: 34px 0 38px;
  background:
    radial-gradient(circle at 14% 10%, rgba(8, 168, 237, 0.16), transparent 24%),
    radial-gradient(circle at 84% 90%, rgba(0, 183, 47, 0.12), transparent 24%),
    linear-gradient(180deg, #eef7ff, #f8fbff);
}

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

.why-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
  min-height: 148px;
  padding: 18px 20px 18px 0;
  border-right: 1px solid rgba(6, 37, 109, 0.12);
  border-radius: var(--radius);
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.why-item:last-child {
  border-right: 0;
}

.why-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 45px rgba(6, 37, 109, 0.1);
}

.why-icon {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
}

.why-icon::before {
  position: absolute;
  inset: -18px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background: conic-gradient(from 120deg, rgba(8, 168, 237, 0.2), rgba(0, 183, 47, 0.18), rgba(255, 16, 16, 0.16), rgba(8, 168, 237, 0.2));
  opacity: 0;
  transition: opacity 240ms ease, transform 600ms ease;
}

.why-icon img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  transition: transform 240ms ease;
}

.why-item:hover .why-icon::before {
  opacity: 1;
  transform: rotate(60deg);
}

.why-item:hover .why-icon img {
  transform: scale(1.08);
}

.why-item h3,
.why-item p {
  margin: 0;
}

.why-item p {
  margin-top: 7px;
  color: #1f3156;
  font-size: 0.92rem;
}

.portfolio {
  padding: 20px 0 30px;
  background: var(--white);
}

.portfolio .strip-title {
  text-align: center;
}

.portfolio-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.work-card {
  min-width: 0;
  text-align: center;
  color: var(--ink);
  font-weight: 850;
}

.work-card span {
  position: relative;
  display: block;
  height: 92px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dbe8f8;
  box-shadow: var(--shadow-soft);
}

.work-card span::before,
.work-card span::after {
  position: absolute;
  content: "";
}

.flyer span::before {
  inset: 14px 72px 14px 18px;
  transform: rotate(-8deg);
  border-radius: 4px;
  background:
    linear-gradient(135deg, var(--red) 0 20%, transparent 20%),
    linear-gradient(180deg, #fff, #d9edff);
}

.flyer span::after {
  inset: 18px 22px 10px 82px;
  transform: rotate(7deg);
  border-radius: 4px;
  background:
    linear-gradient(135deg, var(--green) 0 20%, transparent 20%),
    linear-gradient(180deg, #fff, #d9edff);
}

.invitation span {
  background: linear-gradient(135deg, #0b1430, #202a46);
}

.invitation span::before {
  inset: 22px 18px;
  border: 1px solid rgba(214, 168, 90, 0.78);
  border-radius: 4px;
}

.roll span::before {
  left: 36px;
  top: 12px;
  width: 38px;
  height: 70px;
  background: linear-gradient(180deg, #fff, #dfeaff);
}

.roll span::after {
  right: 32px;
  top: 12px;
  width: 44px;
  height: 70px;
  background: linear-gradient(180deg, var(--navy-900), var(--blue));
}

.business-card span::before {
  inset: 24px 18px;
  transform: perspective(240px) rotateX(58deg) rotateZ(-8deg);
  border-radius: 5px;
  background:
    linear-gradient(140deg, transparent 72%, var(--green) 73% 82%, var(--blue) 83% 90%, var(--red) 91%),
    #fff;
}

.tshirt span::before {
  left: 34px;
  top: 18px;
  width: 54px;
  height: 62px;
  clip-path: polygon(18% 16%, 35% 0, 45% 10%, 55% 10%, 65% 0, 82% 16%, 72% 38%, 72% 100%, 28% 100%, 28% 38%);
  background: #111;
}

.tshirt span::after {
  right: 28px;
  top: 18px;
  width: 54px;
  height: 62px;
  clip-path: polygon(18% 16%, 35% 0, 45% 10%, 55% 10%, 65% 0, 82% 16%, 72% 38%, 72% 100%, 28% 100%, 28% 38%);
  background: var(--red);
}

.cups span::before,
.cups span::after {
  top: 22px;
  width: 44px;
  height: 50px;
  border-radius: 6px 6px 18px 18px;
  background: linear-gradient(90deg, #fff, #cbd7e6);
}

.cups span::before {
  left: 40px;
}

.cups span::after {
  right: 40px;
}

.posters span::before {
  inset: 18px 20px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(255, 16, 16, 0.75), rgba(8, 168, 237, 0.75)),
    linear-gradient(180deg, #15295d, #05143d);
  box-shadow: 24px 0 0 rgba(3, 19, 61, 0.72), 48px 0 0 rgba(3, 19, 61, 0.5);
}

.contact-panel {
  padding: 72px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(8, 168, 237, 0.2), transparent 28%),
    linear-gradient(180deg, #f6faff, #eaf4ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
}

.contact-actions {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.contact-actions p {
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.5fr 1.3fr 1fr 1fr;
  gap: 38px;
  padding: 40px clamp(20px, 5vw, 72px) 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy-950), var(--navy-900)),
    radial-gradient(circle at 90% 10%, rgba(8, 168, 237, 0.28), transparent 30%);
}

.footer-brand img {
  width: 160px;
  margin-bottom: 16px;
}

.site-footer h3,
.site-footer p {
  margin: 0;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.site-footer a + a {
  margin-top: 7px;
}

.whatsapp-pill {
  width: max-content;
  margin-top: 12px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--white) !important;
  background: var(--green);
  font-weight: 900;
}

.footer-line {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.reveal-pending {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.page-main {
  background: var(--paper);
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 5vw, 72px) 76px;
  color: var(--white);
  background:
    linear-gradient(105deg, rgba(3, 19, 61, 0.96) 0%, rgba(6, 37, 109, 0.88) 46%, rgba(0, 102, 223, 0.58) 100%),
    url("assets/banner-ibc.jpg") center right / cover no-repeat;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 78% 20%, rgba(8, 168, 237, 0.26), transparent 26%),
    radial-gradient(circle at 18% 90%, rgba(0, 183, 47, 0.16), transparent 24%);
  background-size: 84px 84px, 84px 84px, auto, auto;
}

.page-hero::after {
  position: absolute;
  right: clamp(20px, 7vw, 110px);
  bottom: 52px;
  z-index: -1;
  width: min(36vw, 420px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  content: "";
  opacity: 0.55;
  box-shadow: inset 0 0 0 28px rgba(8, 168, 237, 0.08), 0 0 80px rgba(8, 168, 237, 0.22);
}

.page-hero-about {
  background:
    linear-gradient(105deg, rgba(3, 19, 61, 0.96) 0%, rgba(6, 37, 109, 0.86) 50%, rgba(0, 183, 47, 0.32) 100%),
    url("assets/banner-ibc.jpg") center right / cover no-repeat;
}

.page-hero-services {
  background:
    linear-gradient(105deg, rgba(3, 19, 61, 0.96) 0%, rgba(6, 37, 109, 0.84) 44%, rgba(8, 168, 237, 0.45) 100%),
    url("assets/services-cards/impression-numerique.jpg") center right / cover no-repeat;
}

.page-hero-work {
  background:
    linear-gradient(105deg, rgba(3, 19, 61, 0.96) 0%, rgba(6, 37, 109, 0.82) 48%, rgba(255, 16, 16, 0.36) 100%),
    url("assets/services-cards/flyers-affiches.jpg") center right / cover no-repeat;
}

.page-hero-quote {
  background:
    linear-gradient(105deg, rgba(3, 19, 61, 0.96) 0%, rgba(6, 37, 109, 0.86) 48%, rgba(0, 183, 47, 0.34) 100%),
    url("assets/services-cards/cartes-visite.jpg") center right / cover no-repeat;
}

.page-hero-contact {
  background:
    linear-gradient(105deg, rgba(3, 19, 61, 0.96) 0%, rgba(6, 37, 109, 0.86) 48%, rgba(8, 168, 237, 0.42) 100%),
    url("assets/banner-ibc.jpg") center right / cover no-repeat;
}

.page-hero-inner {
  width: min(760px, 100%);
}

.page-kicker {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5vw, 5.1rem);
}

.page-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.7;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.content-band {
  padding: 76px 0;
  background: var(--white);
}

.content-band + .content-band {
  padding-top: 0;
}

.split-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.split-content h2,
.section-heading h2,
.quote-checklist h2,
.cta-line h2 {
  margin: 0;
  font-size: clamp(2rem, 3.4vw, 3.7rem);
  line-height: 1.04;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.text-stack p,
.service-detail-card p,
.value-card p,
.showcase-card span,
.quote-card p,
.quote-checklist li,
.process-step p,
.contact-method p {
  color: var(--muted);
}

.text-stack p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.82;
}

.page-why {
  padding-block: 70px;
}

.dark-band {
  color: var(--white);
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 168, 237, 0.25), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
}

.value-grid,
.process-grid,
.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card,
.process-step,
.contact-method,
.quote-card,
.quote-checklist {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.value-card {
  min-height: 250px;
  padding: 28px;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.value-card span,
.process-step span,
.contact-method span {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 950;
}

.value-card h3,
.process-step h3,
.contact-method h3,
.quote-card h3 {
  margin: 22px 0 10px;
  font-size: 1.35rem;
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.service-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(6, 37, 109, 0.18);
}

.service-detail-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.service-detail-card div {
  padding: 20px;
}

.service-detail-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.service-detail-card p {
  min-height: 78px;
  margin: 10px 0 16px;
  font-size: 0.94rem;
}

.service-detail-card a,
.showcase-card div span {
  color: var(--blue);
  font-weight: 950;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(320px, auto);
  gap: 22px;
}

.showcase-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}

.showcase-wide {
  grid-column: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.showcase-card::after {
  position: absolute;
  inset: 35% 0 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 19, 61, 0.86));
}

.showcase-card:hover img {
  transform: scale(1.055);
}

.showcase-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
}

.showcase-card h3 {
  margin: 6px 0 0;
  color: var(--white);
  font-size: 1.35rem;
}

.light-cta {
  padding-top: 52px;
  background: linear-gradient(180deg, #f7fbff, #eaf4ff);
}

.cta-line {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(8, 168, 237, 0.28), transparent 32%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: var(--shadow-blue);
}

.cta-line h2 {
  max-width: 820px;
}

.quote-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: stretch;
}

.quote-checklist,
.quote-card {
  padding: 34px;
}

.quote-checklist ul {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.quote-checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 1.03rem;
}

.quote-checklist li::before {
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(8, 168, 237, 0.08), transparent 34%),
    var(--white);
}

.quote-badge {
  width: max-content;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 183, 47, 0.1);
  font-weight: 950;
}

.quote-card .btn {
  margin-top: 18px;
}

.process-band,
.map-band {
  background: linear-gradient(180deg, #f6faff, #eaf4ff);
}

.process-step,
.contact-method {
  padding: 28px;
}

.contact-page-grid {
  grid-template-columns: repeat(4, 1fr);
}

.contact-method-strong {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 14%, rgba(8, 168, 237, 0.28), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.contact-method-strong p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-method-strong .btn {
  margin-top: 16px;
}

@keyframes beamSlide {
  0%,
  100% {
    transform: translateX(-16px);
    opacity: 0.35;
  }
  50% {
    transform: translateX(48px);
    opacity: 0.95;
  }
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-26px, 18px, 0) scale(1.08);
  }
}

@keyframes floatProduct {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-14px);
  }
}

@keyframes bannerBreath {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 220px 1fr auto;
  }

  .brand span {
    display: none;
  }

  .main-nav {
    gap: 12px;
    font-size: 0.82rem;
  }

  .quote-button {
    padding-inline: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 118px;
  }

  .hero-copy {
    max-width: 560px;
  }

  .service-row {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .why-item:nth-child(2) {
    border-right: 0;
  }

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

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

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

  .quote-layout,
  .split-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 108px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: var(--radius);
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 200ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .main-nav,
  .quote-button {
    display: none;
  }

  .main-nav.open {
    position: fixed;
    inset: 78px 16px auto;
    display: grid;
    justify-content: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(3, 19, 61, 0.96);
    box-shadow: var(--shadow-blue);
  }

  .main-nav.open a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-inline: 10px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-bottom: 16px;
  }

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero {
    min-height: 500px;
    padding-top: 126px;
  }

  .cta-line {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .cursor-glow {
    display: none;
  }

  .hero {
    padding-inline: 18px;
    min-height: 680px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 19, 61, 0.9) 0%, rgba(3, 19, 61, 0.64) 50%, rgba(3, 19, 61, 0.14) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
      linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: auto, 82px 82px, 82px 82px;
    mask-image: none;
  }

  .hero-banner video {
    object-position: 62% center;
  }

  .hero-kicker {
    font-size: 0.76rem;
  }

  .hero-actions,
  .btn,
  .contact-actions .btn {
    width: 100%;
  }


  .services-strip {
    padding-inline: 14px;
  }

  .service-row,
  .why-grid,
  .portfolio-row,
  .service-detail-grid,
  .showcase-grid,
  .contact-page-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .showcase-wide {
    grid-column: auto;
  }

  .page-hero {
    min-height: 560px;
    padding: 118px 18px 54px;
  }

  .page-hero::after {
    display: none;
  }

  .page-actions,
  .page-actions .btn,
  .quote-card .btn,
  .contact-method-strong .btn,
  .cta-line .btn {
    width: 100%;
  }

  .content-band {
    padding-block: 52px;
  }

  .quote-checklist,
  .quote-card,
  .cta-line {
    padding: 24px;
  }

  .why-item {
    border-right: 0;
    padding-right: 0;
  }

}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
