:root {
  --blue-950: #051c40;
  --blue-900: #072a5e;
  --blue-800: #0b3d85;
  --blue-700: #0b5fce;
  --blue-600: #1671e0;
  --blue-500: #3d8bf0;
  --blue-300: #8dbcf7;
  --blue-100: #e7f1ff;
  --blue-50: #f5f9ff;
  --white: #ffffff;
  --ink: #10233f;
  --ink-soft: #5a6c88;
  --border: #dfe9f9;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -25px rgba(7, 42, 94, 0.28);
  --shadow-sm: 0 14px 30px -14px rgba(7, 42, 94, 0.22);
  --shadow-btn: 0 12px 24px -10px rgba(11, 95, 206, 0.5);
  --container: 1160px;
  --font-display: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--blue-600) var(--blue-100); scrollbar-width: thin; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--blue-100); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue-600), var(--blue-800));
  border-radius: 999px;
  border: 2px solid var(--blue-100);
}
::-webkit-scrollbar-thumb:hover { background: var(--blue-700); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.18;
  margin: 0 0 16px;
  color: var(--blue-950);
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-100);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-600);
  display: inline-block;
}

.center { text-align: center; }
.section-title.center, .section-sub.center { display: block; margin-left: auto; margin-right: auto; }
.eyebrow.center { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }
.section-title { font-size: 34px; font-weight: 800; }
.section-sub { max-width: 620px; font-size: 17px; }
.section-sub.center { margin-bottom: 52px; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -12px rgba(11, 95, 206, 0.55); }
.btn-outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--blue-800);
}
.btn-outline:hover { border-color: var(--blue-600); background: var(--blue-50); transform: translateY(-3px); }
.btn-white {
  background: var(--white);
  color: var(--blue-700);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.25);
}
.btn-white:hover { background: var(--blue-50); transform: translateY(-3px); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
}
.header-topline {
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(90deg,
    var(--blue-300) 0, var(--blue-600) 40px, var(--blue-900) 80px, var(--blue-600) 120px, var(--blue-300) 160px);
  background-size: 160px 100%;
  animation: header-topline-scroll 4s linear infinite;
}
@keyframes header-topline-scroll {
  from { background-position-x: 0; }
  to { background-position-x: -160px; }
}
.site-header .container { max-width: 1440px; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  width: 100%;
}
.logo { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 10px; }
.logo-icon { display: flex; }
.logo-text { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--blue-950); }
.logo-text strong { color: var(--blue-700); font-weight: 800; }

.main-nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  gap: 34px;
}
.drawer-brand { display: none; }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 2px;
}
.main-nav a:hover { color: var(--blue-700); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 22px; }
.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-700);
  font-size: 15px;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 70;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.site-header.menu-open .burger { opacity: 0; pointer-events: none; }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 28, 64, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 55;
}
.site-header.menu-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 82% 8%, rgba(22, 113, 224, 0.14), transparent 60%),
    linear-gradient(180deg, var(--blue-50) 0%, var(--white) 78%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero-text .eyebrow { }
.hero-text h1 {
  font-size: 50px;
  font-weight: 800;
  color: var(--blue-950);
}
.hero-text .lead { font-size: 18px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-800);
}
.hero-trust li { display: flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--blue-600); flex-shrink: 0; }

.hero-visual {
  position: relative;
  min-height: 420px;
}
.hero-blob {
  position: absolute;
  inset: 6% 2%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-900));
  opacity: 0.9;
  border-radius: 42% 58% 63% 37% / 45% 40% 60% 55%;
  z-index: 0;
  filter: blur(0.3px);
}
.hero-blob::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.25), transparent 55%);
}
.hero-dots {
  position: absolute;
  top: -6%;
  right: -4%;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(var(--blue-300) 1.6px, transparent 1.6px);
  background-size: 16px 16px;
  opacity: 0.5;
  z-index: 0;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.hero-card p { margin: 0; color: var(--blue-950); font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.hero-card-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--blue-100);
  color: var(--blue-700);
}
.card-1 { top: 4%; left: 4%; }
.card-2 { top: 40%; right: 0%; }
.card-3 { bottom: 4%; left: 16%; }

/* Band */
.band { background: linear-gradient(120deg, var(--blue-950), var(--blue-800)); padding: 40px 0; }
.band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.band-item strong { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--white); }
.band-item span { font-size: 13.5px; color: var(--blue-100); letter-spacing: 0.01em; }

/* Services */
.services { padding: 110px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover .service-icon { background: linear-gradient(135deg, var(--blue-600), var(--blue-800)); color: var(--white); }
.service-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-700);
  background: var(--blue-100);
  border-radius: 16px;
  margin-bottom: 22px;
  transition: background 0.28s ease, color 0.28s ease;
}
.service-card h3 { font-size: 19px; font-weight: 700; }
.service-card p { margin: 0; font-size: 15px; }

/* Process */
.process { background: var(--blue-50); padding: 110px 0; position: relative; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--blue-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease;
}
.process-step:hover { transform: translateY(-6px); }
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 10px 20px -8px rgba(11, 95, 206, 0.5);
}
.process-step h3 { font-size: 17px; font-weight: 700; }
.process-step p { font-size: 14px; margin: 0; }

/* Testimonials */
.testimonials { padding: 110px 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial-card {
  background: var(--blue-50);
  border-radius: var(--radius);
  padding: 32px 30px;
  border: 1px solid var(--border);
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 14px;
  right: 24px;
  font-family: Georgia, serif;
  font-size: 64px;
  color: var(--blue-300);
  opacity: 0.6;
  line-height: 1;
}
.stars { color: var(--blue-600); font-size: 15px; margin-bottom: 14px; letter-spacing: 3px; }
.testimonial-card p { color: var(--ink); font-size: 15px; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-author strong { display: block; color: var(--blue-950); font-family: var(--font-display); font-size: 14.5px; }
.testimonial-author span { font-size: 13px; color: var(--ink-soft); }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-900));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* CTA band */
.cta-band { position: relative; padding: 80px 0; overflow: hidden; isolation: isolate; }
.cta-band-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(125deg, var(--blue-700), var(--blue-950));
}
.cta-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 90% 100%, rgba(255,255,255,0.14), transparent 60%);
}
.cta-band-inner { text-align: center; }
.cta-band-inner h2 { color: var(--white); font-size: 32px; }
.cta-band-inner p { color: var(--blue-100); font-size: 17px; margin-bottom: 30px; }

/* Portfolio / Realisations */
.portfolio { padding: 110px 0; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.showcase-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.showcase-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.showcase-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.showcase-img {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.showcase-img.before {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 10px, transparent 10px 20px),
    linear-gradient(135deg, #a7afbe, #6b7688);
}
.showcase-img.after {
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.35), transparent 55%),
    linear-gradient(135deg, var(--blue-500), var(--blue-800));
}
.showcase-tag {
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
}
.showcase-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.showcase-card p { font-size: 14.5px; margin: 0; }

/* Footer */
.site-footer { background: linear-gradient(160deg, var(--blue-950), var(--blue-900)); padding: 70px 0 26px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px 72px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { flex: 1 1 260px; max-width: 320px; }
.footer-col { flex: 0 1 160px; }
.footer-brand .logo-text { color: var(--white); font-size: 21px; }
.footer-brand .logo-text strong { color: var(--blue-300); }
.footer-brand p { color: var(--blue-100); font-size: 14px; margin-top: 12px; }
.footer-col h4 { color: var(--white); font-family: var(--font-display); font-size: 15px; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--blue-100); font-size: 14px; margin-bottom: 11px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-top: 22px; }
.footer-bottom p { color: var(--blue-100); font-size: 13px; margin: 0; text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 280px; order: -1; }
  .hero-dots { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .band-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .header-inner { display: flex; justify-content: space-between; }
  .burger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    max-width: 82vw;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--white);
    padding: 110px 28px 28px;
    gap: 24px;
    box-shadow: -24px 0 48px -20px rgba(7, 42, 94, 0.35);
    z-index: 60;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.22,.61,.36,1);
  }
  .main-nav a { font-size: 17px; }

  .drawer-brand {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 62px;
    line-height: 62px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-950);
  }
  .drawer-brand strong { color: var(--blue-700); font-weight: 800; }

  .header-cta {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 224px;
    max-width: calc(82vw - 56px);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    z-index: 61;
    transform: translateX(120%);
    transition: transform 0.32s cubic-bezier(.22,.61,.36,1);
  }
  .header-cta .btn { width: 100%; }
  .phone-link { justify-content: center; }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-cta {
    transform: translateX(0);
  }

  .hero-text h1 { font-size: 34px; }
  .section-title { font-size: 27px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card { padding: 20px 16px; }
  .service-icon { width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; }
  .service-icon svg { width: 20px; height: 20px; }
  .service-card h3 { font-size: 16px; margin-bottom: 8px; }
  .service-card p { font-size: 13px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .testimonial-card { padding: 18px 16px; }
  .quote-mark { font-size: 40px; top: 8px; right: 14px; }
  .stars { font-size: 12px; margin-bottom: 10px; letter-spacing: 2px; }
  .testimonial-card p { font-size: 12.5px; }
  .testimonial-author { gap: 8px; margin-top: 14px; }
  .avatar { width: 32px; height: 32px; font-size: 11px; }
  .testimonial-author strong { font-size: 12.5px; }
  .testimonial-author span { font-size: 11px; }
  .showcase-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; gap: 32px; }
  .footer-brand, .footer-col { flex: 0 0 auto; max-width: none; }
  .hero-card p { font-size: 13px; }
}

/* Cookie banner */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 28, 64, 0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.cookie-backdrop.visible { opacity: 1; pointer-events: auto; }
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 480px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 26px;
  z-index: 200;
  transform: translateY(150%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.22,.61,.36,1), opacity 0.4s ease;
  pointer-events: none;
}
.cookie-banner.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cookie-banner-text { font-size: 14px; margin: 0 0 18px; color: var(--ink-soft); }
.cookie-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner-actions .btn { padding: 10px 18px; font-size: 14px; flex: 1 1 auto; }

@media (max-width: 560px) {
  .cookie-banner { left: 14px; right: 14px; bottom: 14px; padding: 20px; }
  .cookie-banner-actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .header-topline { animation: none; }
  .cookie-banner { transition: none; }
}
