:root{
    --teal: #0E8F6F;
    --teal-deep: #096B54;
    --blue: #0B4EA2;
    --navy: #0A1F3D;
    --navy-ink: #0A1830;
    --orange: #F5A623;
    --bg: #F7F8FA;
    --bg-warm: #FBFAF7;
    --paper: #FFFFFF;
    --ink: #0A1F3D;
    --ink-soft: #4B5768;
    --ink-faint: #8891A0;
    --line: #E4E7EC;
  }

  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--bg);
    color:var(--ink);
    font-family:'Inter', sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{font-family:'Sora', sans-serif; letter-spacing:-0.02em;}
  .mono{font-family:'IBM Plex Mono', monospace; letter-spacing:0.06em; text-transform:uppercase;}
  a{color:inherit; text-decoration:none;}
  img,svg{display:block; max-width:100%;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
  }

  /* ---------- Brand mark ---------- */
  .bars{display:flex; flex-direction:column; gap:3px; width:26px;}
  .bars span{display:block; height:5px; border-radius:1px;}
  .bars span:nth-child(1){background:var(--teal); width:26px;}
  .bars span:nth-child(2){background:var(--blue); width:19px;}
  .bars span:nth-child(3){background:var(--navy); width:26px;}

  .brand{display:flex; align-items:center; gap:10px;}
  .brand-word{font-family:'Sora',sans-serif; font-weight:700; font-size:19px; color:var(--navy);}
  .brand-word b{color:var(--blue); font-weight:800;}

  /* ---------- Nav ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(247,248,250,0.86);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);

  }
  nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 32px; max-width:1180px; margin:0 auto;
  }
  .nav-links{display:flex; gap:36px; align-items:center;}
  .nav-links a{
    font-size:14.5px; font-weight:700; color:var(--ink-soft);
    position:relative; padding-bottom:3px;
  }
  .nav-links a:hover{color:var(--navy);}

.active{
    color: #0B4EA2 !important;
}

  .btn{
    display:inline-flex; align-items:center; gap:8px;
    font-weight:600; font-size:14.5px; font-family:'Inter',sans-serif;
    padding:11px 22px; border-radius:100px;
    border:1px solid transparent; cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  }
  .btn-primary{background:var(--navy); color:#fff;}
  .btn-primary:hover{background:var(--blue); transform:translateY(-1px); box-shadow:0 8px 20px -8px rgba(11,78,162,0.55);}
  .btn-ghost{border-color:var(--line); color:var(--navy); background:transparent;}
  .btn-ghost:hover{border-color:var(--navy);}
  .btn-light{background:#fff; color:var(--navy);}
  .btn-light:hover{transform:translateY(-1px); box-shadow:0 10px 24px -10px rgba(0,0,0,0.25);}
  @media (max-width:820px){ .nav-links{display:none;} }

  /* ---------- Hero ---------- */
  /* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
  /* Background image with a soft gradient overlay for readability */
  background: 
    linear-gradient(135deg, rgba(247, 248, 250, 0.641) 0%, rgba(247, 248, 250, 0.80) 100%),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
}
  .hero-grid{
    display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
  }
  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-size:12px; color:var(--teal-deep); margin-bottom:22px;
  }
  .eyebrow::before{content:''; width:16px; height:2px; background:var(--orange); display:block;}

  h1.headline{
    font-size:clamp(34px, 4.6vw, 58px);
    line-height:1.06;
    font-weight:700;
    color:var(--navy);
  }
  h1.headline em{
    font-style:normal; color:var(--teal);
  }
  .sub{
    margin-top:22px; font-size:17.5px; line-height:1.6; color:var(--ink-soft);
    max-width:480px;
  }
  .hero-ctas{display:flex; gap:14px; margin-top:34px; flex-wrap:wrap;}

  .reach-line{
    margin-top:44px; padding-top:26px; border-top:1px solid var(--line);
    display:flex; align-items:center; gap:18px; flex-wrap:wrap;
  }
  .reach-line .mono{font-size:11px; color:var(--ink-faint); white-space:nowrap;}
  .reach-tags{display:flex; gap:10px; flex-wrap:wrap;}
  .reach-tags span{
    font-size:12.5px; color:var(--ink-soft); padding:5px 12px;
    border:1px solid var(--line); border-radius:100px; background:var(--paper);
  }

  /* ---------- Horizon signature graphic ---------- */
  .horizon{
    position:relative; aspect-ratio:1/0.92; border-radius:28px;
    background:linear-gradient(180deg, #EAF3FF 0%, #F7FBFA 55%, #FFFFFF 100%);
    border:1px solid var(--line);
    overflow:hidden;
    box-shadow:0 30px 60px -30px rgba(10,31,61,0.25);
  }
  .horizon svg{position:absolute; inset:0; width:100%; height:100%;}
  .sun{
    animation:rise 5s ease-in-out infinite alternate;
    transform-origin:center;
  }
  @keyframes rise{
    0%{ transform:translateY(6px); opacity:0.9; }
    100%{ transform:translateY(-4px); opacity:1; }
  }
  .band{ transition:opacity .3s; }
  .horizon-caption{
    position:absolute; left:87px; bottom:20px;
    font-size:11px; color:var(--ink-faint);
  }
  .horizon-caption b{color:var(--navy);}

  @media (max-width:900px){
    .hero-grid{grid-template-columns:1fr;}
    .horizon{order:-1; max-width:420px; margin:0 auto;}
  }

  /* ---------- Section shell ---------- */
  section{padding:96px 0;}
  .section-head{max-width:620px; margin-bottom:56px;}
  .section-tag{font-size:11.5px; color:var(--blue); margin-bottom:14px; display:flex; align-items:center; gap:10px;}
  .section-tag .bars span{height:3px;}
  .section-tag .bars span:nth-child(1){width:14px;}
  .section-tag .bars span:nth-child(2){width:10px;}
  .section-tag .bars span:nth-child(3){width:14px;}
  h2.h2{font-size:clamp(26px,3vw,38px); font-weight:700; color:var(--navy); line-height:1.15;}
  .section-head p{margin-top:14px; color:var(--ink-soft); font-size:16px; line-height:1.6;}

  /* ---------- Reach / regions ---------- */
  .reach-section{background:var(--navy); color:#fff; border-radius:32px; margin:0 24px; padding:88px 0;}
  .reach-section .wrap{max-width:1130px;}
  .reach-section .section-head p{color:#B7C3D6;}
  .reach-section h2.h2{color:#fff;}
  .region-bars{display:flex; flex-direction:column; gap:14px;}
  .region-row{
    display:grid; grid-template-columns:180px 1fr 60px; align-items:center; gap:18px;
  }
  .region-name{font-size:14.5px; font-weight:600; color:#EAF0FA;}
  .region-track{height:10px; background:rgba(255,255,255,0.08); border-radius:100px; overflow:hidden;}
  .region-fill{height:100%; border-radius:100px;}
  .region-pct{font-family:'IBM Plex Mono',monospace; font-size:12px; color:#B7C3D6; text-align:right;}

  /* ---------- Why grid ---------- */
  .why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:20px; overflow:hidden;}
  .why-card{background:var(--paper); padding:34px 30px; min-height:210px; display:flex; flex-direction:column; gap:14px;}
  .why-card .mark{width:34px; height:34px; border-radius:9px; display:flex; align-items:center; justify-content:center;}
  .why-card h3{font-size:17px; color:var(--navy); font-weight:700;}
  .why-card p{font-size:14.5px; color:var(--ink-soft); line-height:1.55;}
  @media (max-width:900px){ .why-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:600px){ .why-grid{grid-template-columns:1fr;} }

  /* ---------- Ways to work ---------- */
  .ways-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:22px;}
  .way-card{
    padding:30px 24px; background:var(--paper); border:1px solid var(--line); border-radius:18px;
    display:flex; flex-direction:column; gap:16px; min-height:230px;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .way-card:hover{transform:translateY(-4px); box-shadow:0 22px 40px -22px rgba(10,31,61,0.25);}
  .way-tag{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-faint);}
  .way-card h3{font-size:16.5px; color:var(--navy); font-weight:700; line-height:1.3;}
  .way-card p{font-size:13.8px; color:var(--ink-soft); line-height:1.55;}
  .way-bar{height:4px; width:34px; border-radius:2px;}
  @media (max-width:900px){ .ways-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .ways-grid{grid-template-columns:1fr;} }

  /* ---------- Industries ---------- */
  .industry-pills{display:flex; flex-wrap:wrap; gap:12px;}
  .industry-pills span{
    font-size:14px; padding:10px 18px; border-radius:100px;
    border:1px solid var(--line); background:var(--paper); color:var(--ink-soft); font-weight:500;
  }

  /* ---------- Contact ---------- */
  .contact-section{background:var(--bg-warm); border-radius:32px; margin:0 24px; padding:88px 40px; position:relative; overflow:hidden;}
  .contact-grid{display:grid; grid-template-columns:1.1fr 0.9fr; gap:60px;}
  .contact-grid h2.h2{max-width:420px;}
  .offices{display:flex; flex-direction:column; gap:26px; margin-top:8px;}
  .office{display:flex; gap:16px; align-items:flex-start;}
  .office .dot{width:9px; height:9px; border-radius:50%; margin-top:7px; flex-shrink:0;}
  .office h4{font-size:15px; color:var(--navy); font-weight:700;}
  .office p{font-size:14px; color:var(--ink-soft); margin-top:2px;}
  .email-block{
    background:var(--navy); border-radius:20px; padding:36px 32px; color:#fff;
    display:flex; flex-direction:column; gap:20px; justify-content:center;
  }
  .email-block .mono{color:#8FB6E8; font-size:11px;}
  .email-block .email{font-family:'Sora',sans-serif; font-size:20px; font-weight:600; word-break:break-word;}
  @media (max-width:900px){ .contact-grid{grid-template-columns:1fr;} .contact-section{padding:64px 24px;} }

  /* ---------- Footer ---------- */
  footer{padding:48px 32px 60px;}
  .footer-inner{
    max-width:1180px; margin:0 auto; display:flex; justify-content:space-between;
    align-items:center; flex-wrap:wrap; gap:16px; padding-top:28px; border-top:1px solid var(--line);
  }
  .footer-inner p{font-size:13px; color:var(--ink-faint);}

  /* fade-in on scroll */
  .fade-up{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
  .fade-up.in{opacity:1; transform:translateY(0);}




  
/* ============================================================
   SERVICES PAGE
   ============================================================ */
 
body.services-page header{
  position:fixed; top:0; left:0; width:100%; z-index:1000;
  background:rgba(255,255,255,0.06); backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:background .3s ease, box-shadow .3s ease;
}
body.services-page header.scrolled{
  background:#ffffff; box-shadow:0 4px 20px rgba(10,31,61,0.08);
  border-bottom:1px solid rgba(10,31,61,0.06);
}
body.services-page header .nav-links a{color:rgba(255,255,255,0.9); transition:color .3s ease;}
body.services-page header.scrolled .nav-links a{color:var(--ink-soft);}
body.services-page header.scrolled .nav-links a:hover{color:var(--navy);}
body.services-page header .brand-word{color:#fff; transition:color .3s ease;}
body.services-page header.scrolled .brand-word{color:var(--navy);}
body.services-page header .bars span{background:#fff;}
body.services-page header.scrolled .bars span:nth-child(1){background:var(--teal);}
body.services-page header.scrolled .bars span:nth-child(2){background:var(--blue);}
body.services-page header.scrolled .bars span:nth-child(3){background:var(--navy);}
body.services-page header .btn-primary{background:#fff; color:var(--navy);}
body.services-page header .btn-primary:hover{background:var(--orange); color:#fff;}
body.services-page header.scrolled .btn-primary{background:var(--navy); color:#fff;}
.nav-links a.active{color:var(--blue) !important; font-weight:600;}
 
/* ---------- Services hero ---------- */
.svc-hero{
  position:relative; min-height:92vh;
  background:
    linear-gradient(180deg, rgba(9,18,36,0.55) 0%, rgba(9,18,36,0.82) 68%, var(--bg) 100%),
    url('https://images.unsplash.com/photo-1762801157510-56e2bcd798e4?fm=jpg&q=70&w=2400&auto=format&fit=crop')
    center/cover no-repeat;
  display:flex; align-items:flex-end; color:#fff; overflow:hidden;
}
.svc-hero .wrap{position:relative; z-index:2; width:100%; padding-bottom:88px;}
.svc-hero .kicker{
  font-family:'IBM Plex Mono',monospace; font-size:12px; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--orange); margin-bottom:22px; display:inline-flex; align-items:center; gap:12px;
}
.svc-hero .kicker::before{content:''; width:40px; height:1px; background:var(--orange);}
.svc-hero h1{
  font-family:'Sora',sans-serif; font-size:clamp(38px,6vw,76px); font-weight:700;
  line-height:1.04; letter-spacing:-0.03em; max-width:820px; color:#fff;
}
.svc-hero h1 em{font-style:normal; color:var(--orange);}
.svc-hero .sub{margin-top:24px; font-size:17px; line-height:1.6; color:rgba(255,255,255,0.82); max-width:520px;}
 
.svc-hero-strip{
  display:flex; gap:3px; margin-top:48px; max-width:640px;
}
.svc-hero-strip .seg{
  flex:1; height:6px; border-radius:3px; opacity:0.9;
  animation:seg-in .8s ease backwards;
}
.svc-hero-strip .seg:nth-child(1){background:var(--teal); animation-delay:.1s;}
.svc-hero-strip .seg:nth-child(2){background:var(--blue); animation-delay:.25s;}
.svc-hero-strip .seg:nth-child(3){background:var(--orange); animation-delay:.4s;}
.svc-hero-strip .seg:nth-child(4){background:#5B6472; animation-delay:.55s;}
@keyframes seg-in{ from{ transform:scaleX(0); transform-origin:left;} to{ transform:scaleX(1); transform-origin:left;} }
.svc-hero-labels{display:flex; gap:3px; max-width:640px; margin-top:10px;}
.svc-hero-labels span{flex:1; font-size:11px; color:rgba(255,255,255,0.55); font-family:'IBM Plex Mono',monospace;}
 
/* ---------- Switcher ---------- */
.switcher-wrap{margin-top:-64px; position:relative; z-index:3;}
.switcher-tabs{
  display:grid; grid-template-columns:repeat(4,1fr); gap:2px;
  background:var(--line); border:1px solid var(--line); border-radius:18px 18px 0 0; overflow:hidden;
}
.switcher-tab{
  background:var(--paper); padding:22px 18px; cursor:pointer; text-align:left;
  border:none; font-family:'Inter',sans-serif; transition:background .2s ease;
}
.switcher-tab:hover{background:var(--bg-warm);}
.switcher-tab .t-num{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-faint); margin-bottom:8px; display:block;}
.switcher-tab .t-name{font-family:'Sora',sans-serif; font-weight:700; font-size:15.5px; color:var(--navy); display:block;}
.switcher-tab .t-bar{height:3px; width:26px; border-radius:2px; margin-top:12px;}
.switcher-tab.active{background:var(--navy);}
.switcher-tab.active .t-num{color:rgba(255,255,255,0.5);}
.switcher-tab.active .t-name{color:#fff;}
@media (max-width:760px){ .switcher-tabs{grid-template-columns:1fr 1fr;} }
 
.switcher-panel{
  background:var(--paper); border:1px solid var(--line); border-top:none; border-radius:0 0 18px 18px;
  padding:48px 44px; display:grid; grid-template-columns:1fr 1fr; gap:48px;
  box-shadow:0 30px 60px -34px rgba(10,31,61,0.22);
}
.switcher-panel .p-left h3{font-size:26px; font-weight:700; color:var(--navy); margin-bottom:14px; line-height:1.2;}
.switcher-panel .p-left p{font-size:15.5px; color:var(--ink-soft); line-height:1.65;}
.switcher-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:20px;}
.switcher-tags span{
  font-size:12px; padding:5px 12px; border-radius:100px; border:1px solid var(--line); color:var(--ink-soft);
}
.p-timeline{display:flex; flex-direction:column; gap:0;}
.p-timeline .step{display:flex; gap:16px; padding:14px 0; position:relative;}
.p-timeline .step:not(:last-child)::before{
  content:''; position:absolute; left:9px; top:34px; bottom:-14px; width:1px; background:var(--line);
}
.p-timeline .dot{width:19px; height:19px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:10px; color:#fff; margin-top:2px;}
.p-timeline .step-title{font-size:14.5px; font-weight:600; color:var(--navy);}
.p-timeline .step-desc{font-size:13px; color:var(--ink-soft); margin-top:2px; line-height:1.5;}
@media (max-width:760px){ .switcher-panel{grid-template-columns:1fr; padding:32px 24px;} }
 
/* ---------- Comparison table ---------- */
.compare-wrap{overflow-x:auto; margin-top:8px;}
table.compare{width:100%; border-collapse:collapse; min-width:640px;}
table.compare th{
  text-align:left; font-family:'IBM Plex Mono',monospace; font-size:11px; text-transform:uppercase; letter-spacing:0.04em;
  color:#fff; padding:16px 20px; font-weight:500;
}
/* table.compare th:nth-child(1){background:var(--teal-deep);} */
table.compare th:nth-child(2){background:var(--teal-deep);}
table.compare th:nth-child(3){background:var(--orange); color:var(--navy);}
table.compare th:nth-child(4){background:var(--navy);}
table.compare th:nth-child(5){background:var(--blue);}
table.compare td{padding:16px 20px; font-size:14px; color:var(--ink-soft); border-bottom:1px solid var(--line); vertical-align:top;}
table.compare tr:last-child td{border-bottom:none;}
table.compare td:first-child, table.compare th:first-child{
  position:sticky; left:0;
}
table.compare tr td:not(:first-child){border-left:1px solid var(--line);}
 
/* ---------- Quiz ---------- */
.quiz-card{
  background:var(--navy); border-radius:24px; padding:52px 48px; color:#fff;
}
.quiz-card .q-label{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--orange); margin-bottom:14px;}
.quiz-card h3{font-size:22px; font-weight:700; margin-bottom:26px;}
.quiz-options{display:grid; grid-template-columns:repeat(3,1fr); gap:12px;}
.quiz-opt{
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:12px;
  padding:16px 14px; color:#EAF0FA; font-size:13.5px; text-align:left; cursor:pointer; font-family:'Inter',sans-serif;
  transition:background .2s ease, border-color .2s ease;
}
.quiz-opt:hover{background:rgba(255,255,255,0.12); border-color:rgba(255,255,255,0.3);}
.quiz-progress{display:flex; gap:6px; margin-top:34px;}
.quiz-progress .pip{height:3px; flex:1; background:rgba(255,255,255,0.15); border-radius:2px;}
.quiz-progress .pip.done{background:var(--orange);}
.quiz-result{display:none;}
.quiz-result.show{display:block;}
.quiz-result .r-label{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--orange); margin-bottom:10px;}
.quiz-result h3{font-size:28px; margin-bottom:12px;}
.quiz-result p{font-size:15px; color:#B7C3D6; line-height:1.6; max-width:480px;}
.quiz-restart{margin-top:22px; font-size:13px; color:rgba(255,255,255,0.6); cursor:pointer; text-decoration:underline; background:none; border:none; font-family:'Inter',sans-serif;}
@media (max-width:760px){ .quiz-card{padding:36px 24px;} .quiz-options{grid-template-columns:1fr;} }
 
/* ---------- FAQ ---------- */
.faq-list{border-top:1px solid var(--line);}
.faq-item{border-bottom:1px solid var(--line);}
.faq-item summary{
  list-style:none; cursor:pointer; padding:24px 4px; display:flex; justify-content:space-between; align-items:center;
  font-family:'Sora',sans-serif; font-weight:600; font-size:16px; color:var(--navy);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{
  content:'+'; font-family:'Inter',sans-serif; font-size:22px; font-weight:400; color:var(--ink-faint); flex-shrink:0; margin-left:16px;
}
.faq-item[open] summary::after{content:'–';}
.faq-item .faq-a{padding:0 4px 24px; font-size:14.5px; color:var(--ink-soft); line-height:1.65; max-width:680px;}
 


/* ============================================================
   CONTACT PAGE
   ============================================================ */
 
.contact-hero{
  padding:130px 0 60px; background:var(--bg);
}
.contact-hero .eyebrow{margin-bottom:20px;}
.contact-hero h1.headline{max-width:680px;}
.contact-hero .sub{max-width:560px;}
 
.contact-layout{
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:start;
}
@media (max-width:900px){ .contact-layout{grid-template-columns:1fr;} }
 
/* ---------- Form ---------- */
.contact-form{
  background:var(--paper); border:1px solid var(--line); border-radius:22px; padding:40px;
}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px;}
.form-row.single{grid-template-columns:1fr;}
@media (max-width:560px){ .form-row{grid-template-columns:1fr;} }
 
.field label{
  display:block; font-size:12.5px; font-weight:600; color:var(--navy); margin-bottom:8px;
  font-family:'Inter',sans-serif;
}
.field input,
.field select,
.field textarea{
  width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 14px;
  font-family:'Inter',sans-serif; font-size:14.5px; color:var(--ink); background:var(--bg);
  transition:border-color .18s ease, background .18s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none; border-color:var(--blue); background:var(--paper);
}
.field textarea{resize:vertical; min-height:120px; font-family:'Inter',sans-serif;}
.field .err{display:none; font-size:12px; color:#C0392B; margin-top:6px;}
.field.invalid input,
.field.invalid select,
.field.invalid textarea{border-color:#C0392B;}
.field.invalid .err{display:block;}
 
.form-submit{
  width:100%; margin-top:8px; padding:15px 24px; border-radius:100px; border:none;
  background:var(--navy); color:#fff; font-family:'Inter',sans-serif; font-weight:600; font-size:15px;
  cursor:pointer; transition:background .18s ease, transform .18s ease;
}
.form-submit:hover{background:var(--blue); transform:translateY(-1px);}
.form-note{margin-top:14px; font-size:12.5px; color:var(--ink-faint); text-align:center;}
.form-success{
  display:none; text-align:center; padding:40px 20px;
}
.form-success.show{display:block;}
.form-success .icon-dot{
  width:52px; height:52px; border-radius:50%; background:var(--teal); margin:0 auto 20px;
  display:flex; align-items:center; justify-content:center; color:#fff; font-size:22px; font-weight:700;
}
.form-success h3{font-size:20px; color:var(--navy); margin-bottom:10px;}
.form-success p{font-size:14.5px; color:var(--ink-soft); max-width:360px; margin:0 auto;}
 
/* ---------- Side rail ---------- */
.contact-rail{display:flex; flex-direction:column; gap:16px;}
.rail-card{
  background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:26px 24px;
}
.rail-card .rail-label{font-family:'IBM Plex Mono',monospace; font-size:11px; color:var(--ink-faint); margin-bottom:14px;}
.rail-office{display:flex; gap:14px; align-items:flex-start; margin-bottom:18px;}
.rail-office:last-child{margin-bottom:0;}
.rail-office .dot{width:9px; height:9px; border-radius:50%; margin-top:6px; flex-shrink:0;}
.rail-office h4{font-size:14.5px; color:var(--navy); font-weight:700;}
.rail-office p{font-size:13px; color:var(--ink-soft); margin-top:2px;}
 
.rail-card.dark{background:var(--navy); border-color:var(--navy);}
.rail-card.dark .rail-label{color:#8FB6E8;}
.rail-card.dark .email{font-family:'Sora',sans-serif; font-size:17px; font-weight:600; color:#fff; word-break:break-word; margin-bottom:16px;}
 
.rail-response{display:flex; align-items:center; gap:12px;}
.rail-response .num{font-family:'Sora',sans-serif; font-weight:800; font-size:26px; color:var(--teal);}
.rail-response .lbl{font-size:12.5px; color:var(--ink-soft); line-height:1.4;}
 
/* ---------- What happens next (horizontal mini timeline) ---------- */
.next-steps{
  display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin-top:12px;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.next-step{padding:32px 28px; position:relative;}
.next-step:not(:last-child){border-right:1px solid var(--line);}
.next-step .ns-num{
  font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--ink-faint); margin-bottom:12px; display:block;
}
.next-step .ns-bar{height:3px; width:28px; border-radius:2px; margin-bottom:16px;}
.next-step h4{font-size:16px; color:var(--navy); font-weight:700; margin-bottom:8px;}
.next-step p{font-size:13.8px; color:var(--ink-soft); line-height:1.55;}
@media (max-width:760px){
  .next-steps{grid-template-columns:1fr;}
  .next-step:not(:last-child){border-right:none; border-bottom:1px solid var(--line);}
}

/* ============================================================
   MOBILE NAVIGATION — hamburger + slide-in drawer
   ============================================================ */

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:40px; height:40px;
  border:none; background:transparent; cursor:pointer;
  padding:0; position:relative; z-index:1100;
  flex-shrink:0;
}
.nav-toggle span{
  display:block; width:22px; height:2px; border-radius:2px;
  background:var(--navy);
  transition:transform .3s ease, opacity .3s ease, background .3s ease;
}
body.services-page .nav-toggle span,
body.about-page .nav-toggle span{ background:#fff; }
body.services-page header.scrolled .nav-toggle span,
body.about-page header.scrolled .nav-toggle span{ background:var(--navy); }

body.nav-open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
body.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
body.nav-open .nav-toggle span{ background:var(--navy) !important; }

@media (max-width:820px){
  .nav-toggle{ display:flex; }
}

/* Dim overlay behind the drawer */
.mobile-nav-overlay{
  position:fixed; inset:0; background:rgba(10,31,61,0.5);
  opacity:0; pointer-events:none; transition:opacity .35s ease;
  z-index:1080;
}
body.nav-open .mobile-nav-overlay{ opacity:1; pointer-events:auto; }

/* Slide-in drawer panel */
.mobile-nav{
  position:fixed; top:0; right:0; height:100%;
  width:min(80vw, 320px);
  background:var(--paper);
  box-shadow:-24px 0 60px -24px rgba(10,31,61,0.4);
  transform:translateX(100%);
  transition:transform .38s cubic-bezier(.4,0,.2,1);
  z-index:1090;
  display:flex; flex-direction:column;
  padding:26px 26px 32px;
  overflow-y:auto;
}
body.nav-open .mobile-nav{ transform:translateX(0); }
body.nav-open{ overflow:hidden; }

.mobile-nav-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:40px;
}
.mobile-nav-head .brand-word{ font-size:17px; }
.mobile-nav-close{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line);
  background:var(--bg); display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:17px; color:var(--navy); line-height:1; flex-shrink:0;
  transition:background .18s ease, transform .18s ease;
}
.mobile-nav-close:hover{ background:var(--line); transform:rotate(90deg); }

.mobile-nav-links{
  display:flex; flex-direction:column; gap:0;
}
.mobile-nav-links a{
  font-family:'Sora',sans-serif; font-weight:600; font-size:19px; color:var(--navy);
  padding:16px 2px; border-bottom:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  transition:color .18s ease;
}
.mobile-nav-links a.active{ color:var(--blue); }
.mobile-nav-links a .arrow{ opacity:0.35; font-size:16px; transition:transform .18s ease, opacity .18s ease; }
.mobile-nav-links a:active .arrow{ transform:translateX(3px); opacity:0.8; }

.mobile-nav .btn-primary{
  margin-top:26px; text-align:center; justify-content:center; width:100%;
}
.mobile-nav-foot{
  margin-top:auto; padding-top:22px; font-size:11.5px; color:var(--ink-faint); line-height:1.5;
}

/* ============================================================
   MOBILE SPACING — tighten vertical rhythm on small screens
   ============================================================ */
@media (max-width:760px){
  section{ padding:44px 0; }
  .section-head{ margin-bottom:36px; }

  .hero{ padding:64px 0 40px; }
  .reach-section{ padding:52px 0; }
  .contact-section{ padding:48px 24px; }

  /* About page */
  .about-hero{ padding-bottom:56px; }
  .editorial{ padding:72px 0 48px; }
  .split{ min-height:0; }
  .split-copy{ padding:48px 24px; }
  .values-editorial{ padding:72px 0; }
  .values-editorial .head{ margin-bottom:44px; }
  .quote-block{ padding:72px 0; }
  .cta-strip{ padding:56px 0; }

  /* Services page */
  .svc-hero{ min-height:auto; padding-top:110px; }
  .svc-hero .wrap{ padding-bottom:48px; }
  .switcher-wrap{ margin-top:-40px; }

  /* Contact page */
  .contact-hero{ padding:100px 0 36px; }
}

@media (max-width:480px){
  section{ padding:36px 0; }
  .section-head{ margin-bottom:28px; }
  .hero{ padding:52px 0 32px; }
  .reach-section{ padding:40px 0; }
  .contact-section{ padding:36px 18px; }
  .editorial{ padding:56px 0 36px; }
  .split-copy{ padding:36px 20px; }
  .values-editorial{ padding:56px 0; }
  .quote-block{ padding:56px 0; }
  .cta-strip{ padding:44px 0; }
}