/* ============ Reset & base ============ */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Manrope', sans-serif;
  color:#0B1F3A;
  background:#fff;
  -webkit-font-smoothing:antialiased;
}
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }
h1,h2,h3,h4{ font-family:'Space Grotesk', sans-serif; margin:0; }
.container{ max-width:1180px; margin:0 auto; padding:0 48px; }

/* ============ Nav ============ */
.nav{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 48px;
  background:rgba(6,17,33,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(127,168,217,.16);
}
.brand{ display:flex; align-items:baseline; gap:10px; font-family:'Space Grotesk',sans-serif; }
.brand-jrs{ font-size:24px; font-weight:700; letter-spacing:.04em; color:#fff; }
.brand-sub{ font-size:15px; font-weight:500; letter-spacing:.14em; text-transform:uppercase; color:#8FB0DC; }
.navlinks{ display:flex; align-items:center; gap:34px; }
.navlink{ font-size:15px; font-weight:500; color:#C6D5EA; transition:color .2s ease; }
.navlink:hover, .navlink.is-active{ color:#fff; }
.btn-pill{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px;
  color:#0B1F3A; background:#9FC4F0; padding:11px 22px; border-radius:999px;
  display:inline-block; border:none; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease;
}
.btn-pill:hover{ transform:translateY(-1px); box-shadow:0 12px 24px -12px rgba(159,196,240,.7); }
.btn-pill-lg{ font-size:17px; padding:15px 30px; }
.btn-outline{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px;
  color:#fff; background:transparent; border:1px solid rgba(255,255,255,.35);
  padding:10px 21px; border-radius:999px; display:inline-block;
}

.nav-toggle{
  display:none; background:none; border:1px solid rgba(255,255,255,.25); border-radius:10px;
  width:44px; height:44px; align-items:center; justify-content:center; flex-direction:column; gap:5px;
}
.nav-toggle span{ display:block; width:20px; height:1.5px; background:#fff; transition:transform .25s ease, opacity .25s ease; }
.nav-toggle.is-open span:nth-child(1){ transform:translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-6.5px) rotate(-45deg); }

.mobile-panel{ display:none; }

/* ============ Page hero (non-home pages) ============ */
.page-hero{
  padding:96px 48px 72px;
  background:linear-gradient(135deg,#0C2244 0%,#081527 60%,#050F1E 100%);
  color:#fff;
  text-align:center;
}
.page-hero .eyebrow{ color:#8FB0DC; }
.page-hero h1{ font-size:44px; font-weight:600; letter-spacing:-.01em; margin:16px auto 18px; max-width:760px; line-height:1.2; }
.page-hero p{ font-size:18px; color:#B9CBE4; max-width:640px; margin:0 auto; line-height:1.7; }

/* ============ Generic section rhythm ============ */
.section{ padding:104px 48px; }
.section--tight{ padding:80px 48px; }
.section--light{ background:#fff; }
.section--panel{ background:#F4F7FB; }
.section--dark{ background:linear-gradient(135deg,#0C2244,#081527); color:#fff; }
.eyebrow{
  font-family:'Space Grotesk',sans-serif; font-size:14px; font-weight:600; letter-spacing:.3em;
  text-transform:uppercase; color:#5B7196; margin-bottom:16px;
}
.section--dark .eyebrow{ color:#8FB0DC; }
.section-head{ max-width:720px; margin-bottom:48px; }
.section-head.center{ max-width:720px; margin-left:auto; margin-right:auto; text-align:center; }
.h-lg{ font-size:38px; font-weight:600; letter-spacing:-.01em; }
.muted{ color:#4A566B; }
.muted-on-dark{ color:#B9CBE4; }

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

.price-card{
  background:#fff; border:1px solid #E4EAF2; border-radius:18px; padding:36px 30px;
  display:flex; flex-direction:column;
}
.price-card.is-featured{
  background:#0B1F3A; border-color:#0B1F3A; color:#fff;
  box-shadow:0 30px 60px -30px rgba(11,31,58,.6); position:relative;
}
.price-card h3{ font-size:22px; font-weight:600; margin-bottom:6px; }
.price-card .tag{ font-family:'Space Grotesk',sans-serif; font-size:12px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#54607A; margin-bottom:16px; }
.price-card.is-featured .tag{ color:#8FB0DC; }
.price-card .desc{ font-size:15px; line-height:1.6; color:#5B6A82; margin-bottom:22px; }
.price-card.is-featured .desc{ color:#B9CBE4; }
.price-card .checks{ display:flex; flex-direction:column; gap:12px; }
.price-card .checks > div{ display:flex; gap:10px; align-items:flex-start; }
.price-card .checks .tick{ color:#2C4C7C; }
.price-card.is-featured .checks .tick{ color:#9FC4F0; }
.price-card .checks span:last-child{ font-size:14px; line-height:1.5; color:#41506A; }
.price-card.is-featured .checks span:last-child{ color:#D6E3F5; }
.price-badge{
  position:absolute; top:-13px; left:30px; font-family:'Space Grotesk',sans-serif; font-size:12px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:#0B1F3A; background:#9FC4F0; padding:6px 14px; border-radius:999px;
}

.audit-block{
  background:linear-gradient(135deg,#0C2244,#081527); border-radius:22px; padding:48px;
  display:grid; grid-template-columns:1.1fr 1fr; gap:44px; align-items:center; margin-bottom:32px;
}
.audit-block .kicker{
  display:inline-block; font-family:'Space Grotesk',sans-serif; font-size:12px; font-weight:600; letter-spacing:.2em;
  text-transform:uppercase; color:#0B1F3A; background:#9FC4F0; padding:6px 14px; border-radius:999px; margin-bottom:20px;
}
.audit-block h3{ font-size:30px; font-weight:600; color:#fff; margin-bottom:14px; }
.audit-block p{ font-size:16px; line-height:1.65; color:#B9CBE4; margin-bottom:22px; }
.audit-checks{ display:flex; flex-direction:column; gap:14px; }
.audit-checks > div{ display:flex; gap:12px; align-items:flex-start; }
.audit-checks .tick{ color:#9FC4F0; }
.tick{ display:inline-flex; flex-shrink:0; }
.tick svg{ display:block; }
.audit-checks span:last-child{ font-size:15px; line-height:1.5; color:#D6E3F5; }

.step-card{ border-top:2px solid rgba(159,196,240,.4); padding-top:22px; }
.step-card .n{ font-family:'Space Grotesk',sans-serif; font-size:15px; font-weight:600; color:#9FC4F0; margin-bottom:14px; }
.step-card h4{ font-size:19px; font-weight:600; color:#fff; margin-bottom:8px; }
.step-card p{ font-size:15px; line-height:1.6; color:#A9BCD6; margin:0; }

.team-copy{ max-width:760px; margin:0 auto; text-align:center; font-size:18px; line-height:1.85; color:#4A566B; }
.team-copy strong{ color:#0B1F3A; }
.team-copy a{ color:#0B1F3A; text-decoration:underline; }

.work-card{
  display:block; border-radius:18px; overflow:hidden; border:1px solid #E4EAF2;
  box-shadow:0 20px 50px -28px rgba(11,31,58,.35); background:#fff; transition:transform .2s ease, box-shadow .2s ease;
}
.work-card:hover{ transform:translateY(-4px); box-shadow:0 30px 60px -24px rgba(11,31,58,.45); }
.work-card .browser-bar{ display:flex; align-items:center; gap:8px; padding:12px 16px; background:#EDEFF3; }
.work-card .dot{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.work-card .url-pill{ margin-left:10px; font-family:'Manrope',sans-serif; font-size:12px; color:#54607A; background:#fff; padding:4px 12px; border-radius:999px; }
.work-card img{ width:100%; height:220px; object-fit:cover; }
.work-card .body{ padding:24px 26px 28px; }
.work-card h3{ font-size:19px; font-weight:600; color:#0B1F3A; margin-bottom:8px; }
.work-card p{ font-size:14.5px; line-height:1.6; color:#4A566B; margin:0 0 14px; }
.work-card .visit{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; color:#0B1F3A; }

.tag-cloud{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.tag-pill{ font-size:14px; color:#0B1F3A; background:#fff; border:1px solid #E4EAF2; padding:9px 18px; border-radius:999px; }

/* ============ Founder / team avatar (about page) ============ */
.founders{ display:grid; grid-template-columns:repeat(3,1fr); gap:36px; max-width:900px; margin:0 auto 56px; }
.founder{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; }
.founder img, .founder .avatar-fallback{
  width:140px; height:140px; border-radius:50%; object-fit:cover; margin-bottom:12px;
  box-shadow:0 14px 34px -16px rgba(11,31,58,.55);
}
.founder .avatar-fallback{
  display:flex; align-items:center; justify-content:center; background:linear-gradient(160deg,#12305A,#0A1A30);
  font-family:'Space Grotesk',sans-serif; font-size:40px; font-weight:600; color:#9FC4F0;
}
.founder h3{ font-size:19px; font-weight:600; }
.founder .role{ font-family:'Space Grotesk',sans-serif; font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#5B7196; }
.founder .spec{ font-size:14px; line-height:1.55; color:#4A566B; max-width:210px; margin-top:6px; }

/* ============ Contact / form ============ */
.contact-form{
  width:100%; max-width:560px; margin:0 auto; background:#F7F9FC; border:1px solid #E4EAF2; border-radius:20px;
  padding:34px; display:flex; flex-direction:column; gap:16px; text-align:left;
}
.contact-form .field{ display:flex; flex-direction:column; gap:7px; }
.contact-form label{ font-family:'Space Grotesk',sans-serif; font-size:13px; font-weight:600; color:#41506A; }
.contact-form input, .contact-form textarea{
  font-family:'Manrope',sans-serif; font-size:16px; color:#0B1F3A; padding:13px 16px; border:1px solid #D3DCE8;
  border-radius:10px; background:#fff; width:100%; transition:border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible{
  border-color:#0B1F3A; box-shadow:0 0 0 3px rgba(11,31,58,.18); outline:none;
}
.contact-form textarea{ resize:vertical; min-height:110px; }
.contact-form .row{ display:flex; gap:14px; flex-wrap:wrap; }
.contact-form .row .field{ flex:1; min-width:180px; }
.contact-form button{
  margin-top:6px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:17px; color:#fff;
  background:#0B1F3A; padding:15px 28px; border:none; border-radius:999px; cursor:pointer;
}
.contact-form .note{ font-size:13px; color:#54607A; text-align:center; }

.social-row{ display:flex; align-items:center; gap:14px; justify-content:center; }
.social-row a{
  width:46px; height:46px; border-radius:50%; background:#0B1F3A; display:flex; align-items:center; justify-content:center;
}

/* ============ Footer ============ */
.site-footer{ padding:40px 48px 28px; background:#050F1E; color:#8FA3C2; }
.site-footer .container{ padding:0; }
.footer-main{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px; padding-bottom:24px; margin-bottom:24px; border-bottom:1px solid rgba(127,168,217,.14); }
.site-footer .brand-jrs{ font-size:19px; }
.site-footer .brand-sub{ font-size:13px; }
.footer-links{ display:flex; flex-wrap:wrap; gap:22px; }
.footer-links a{ font-size:14px; color:#8FA3C2; }
.footer-links a:hover{ color:#fff; }
.footer-bottom{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:13px; }
.footer-bottom a{ color:#8FA3C2; text-decoration:underline; }
.footer-bottom a:hover{ color:#fff; }

/* ============ Breadcrumbs ============ */
.breadcrumbs{ padding:16px 48px; font-size:13px; color:#54607A; background:#F4F7FB; display:flex; gap:8px; flex-wrap:wrap; }
.breadcrumbs a{ color:#41506A; }
.breadcrumbs a:hover{ text-decoration:underline; }
.breadcrumbs span[aria-current]{ color:#54607A; }
.breadcrumbs.on-dark{ background:#081527; color:#8FA3C2; }
.breadcrumbs.on-dark a{ color:#C6D5EA; }

/* ============ Sticky mobile CTA ============ */
.sticky-cta{ display:none; }
@media (max-width:760px){
  body{ padding-bottom:70px; }
  .sticky-cta{
    display:flex; position:fixed; left:0; right:0; bottom:0; z-index:80; gap:10px;
    padding:10px 14px; background:rgba(6,17,33,.97); backdrop-filter:blur(10px);
    border-top:1px solid rgba(127,168,217,.18);
  }
  .sticky-cta a{
    flex:1; text-align:center; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14.5px;
    padding:13px 10px; border-radius:999px;
  }
  .sticky-cta a.call{ color:#fff; border:1px solid rgba(255,255,255,.3); }
  .sticky-cta a.book{ color:#0B1F3A; background:#9FC4F0; }
}

/* ============ FAQ ============ */
.faq-item{ border-bottom:1px solid #E4EAF2; padding:6px 0; }
.faq-item summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:18px 4px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:16.5px; color:#0B1F3A;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{ font-size:22px; color:#5B7196; transition:transform .2s ease; flex-shrink:0; }
.faq-item[open] summary .plus{ transform:rotate(45deg); }
.faq-item p{ margin:0 4px 18px; font-size:15px; line-height:1.65; color:#4A566B; }

/* ============ Cookie consent ============ */
.cookie-banner{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:90; background:#0B1F3A; color:#D6E3F5;
  padding:16px 24px; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  box-shadow:0 -10px 30px rgba(0,0,0,.25);
}
.cookie-banner p{ margin:0; font-size:13.5px; line-height:1.5; max-width:640px; }
.cookie-banner a{ color:#9FC4F0; text-decoration:underline; }
.cookie-actions{ display:flex; gap:10px; flex-shrink:0; }
.cookie-actions button{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:13.5px; padding:9px 18px;
  border-radius:999px; border:none; cursor:pointer;
}
.cookie-actions .cookie-reject{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,.35); }
.cookie-actions .cookie-accept{ background:#9FC4F0; color:#0B1F3A; }
@media (max-width:760px){ .cookie-banner{ bottom:70px; } }

/* ============ Case studies ============ */
.case-study{ display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:center; border:1px solid #E4EAF2; border-radius:20px; overflow:hidden; margin-bottom:32px; padding:36px; }
.case-study .cs-body{ padding:0; display:flex; flex-direction:column; justify-content:center; }

/* ---- Laptop mockup ---- */
.laptop-mock{ max-width:460px; margin:0 auto; width:100%; }
.laptop-mock .screen{
  background:#161616; border-radius:10px 10px 2px 2px; padding:9px 9px 4px;
  box-shadow:0 30px 60px -26px rgba(11,31,58,.5);
}
.laptop-mock .cam{ width:5px; height:5px; border-radius:50%; background:#3a3a3a; margin:0 auto 7px; }
.laptop-mock .screen-inner{ border-radius:2px; overflow:hidden; aspect-ratio:16/10; background:#0d0d0d; }
.laptop-mock .screen-inner img{ width:100%; height:100%; object-fit:cover; object-position:top; display:block; }
.laptop-mock .base{
  height:11px; width:108%; margin-left:-4%; background:linear-gradient(180deg,#dcdce0,#b6b6ba);
  border-radius:0 0 7px 7px; position:relative; box-shadow:0 10px 16px -10px rgba(0,0,0,.4);
}
.laptop-mock .base::after{
  content:''; position:absolute; left:50%; top:0; transform:translateX(-50%);
  width:16%; height:5px; background:#a7a7ab; border-radius:0 0 6px 6px;
}
.case-study .cs-tag{ font-family:'Space Grotesk',sans-serif; font-size:12px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#5B7196; margin-bottom:10px; }
.case-study h3{ font-size:24px; font-weight:600; margin-bottom:14px; }
.case-study .cs-row{ display:flex; gap:10px; align-items:flex-start; margin-bottom:10px; }
.case-study .cs-row .tick{ color:#2C4C7C; flex-shrink:0; margin-top:2px; }
.case-study .cs-row span:last-child{ font-size:14.5px; line-height:1.6; color:#4A566B; }
.case-study .visit{ margin-top:14px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; color:#0B1F3A; }

/* ============ Keyframes ============ */
@keyframes gDrift{ to{ transform:translate(60px,60px); } }
@keyframes fadeUpOnce{ 0%{ opacity:0; transform:translateY(26px); } 100%{ opacity:1; transform:translateY(0); } }

/* ============ Responsive ============ */
@media (max-width:900px){
  .grid-3{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:1fr 1fr; }
  .audit-block{ grid-template-columns:1fr; padding:32px; }
  .founders{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .case-study{ grid-template-columns:1fr; padding:24px; gap:24px; }
}
@media (max-width:760px){
  .nav{ padding:14px 18px; }
  .navlinks{ gap:12px; }
  .navlink, .navlinks .btn-outline{ display:none; }
  .nav > .navlinks > .btn-pill{ display:none; }
  .nav-toggle{ display:flex; }
  .container{ padding:0 20px; }
  .section, .section--tight{ padding:64px 20px; }
  .page-hero{ padding:72px 20px 56px; }
  .page-hero h1{ font-size:31px; }
  .h-lg{ font-size:28px; }
  .grid-4{ grid-template-columns:1fr; gap:28px; }

  .mobile-panel{
    display:block; position:fixed; inset:0; top:70px; background:#081527; z-index:999;
    transform:translateX(100%); transition:transform .3s ease; padding:20px 28px 40px; overflow-y:auto;
  }
  .mobile-panel.is-open{ transform:translateX(0); }
  .mobile-panel a:not(.btn-pill){
    display:block; padding:16px 0; border-bottom:1px solid rgba(127,168,217,.16);
    font-family:'Space Grotesk',sans-serif; font-size:20px; color:#E4EDF9;
  }
  .mobile-panel .btn-pill{ display:inline-block; margin-top:24px; }
}
