/* ==========================================================================
   TechRastra — design tokens
   Palette pulled from the mark: signal blue + flag red, on a clean white
   field, with deep ink for long-form text.
   ========================================================================== */
:root{
  --blue-900:#0e2359;
  --blue-700:#1c3f8f;
  --blue-600:#2a52b8;
  --red-600:#e0203a;
  --red-700:#b91630;
  --ink:#0c1526;
  --ink-soft:#4a5468;
  --paper:#ffffff;
  --mist:#f3f5fa;
  --line:#e2e6f0;

  --font-display:'Sora', sans-serif;
  --font-body:'Source Sans 3', sans-serif;

  --container:1180px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--blue-900);
  line-height:1.15;
  margin:0;
}
p{color:var(--ink-soft); margin:0 0 1rem;}
a{color:var(--blue-700); text-decoration:none;}
a:hover{color:var(--red-600);}
.container-tr{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
:focus-visible{outline:3px solid var(--red-600); outline-offset:2px;}

/* ---------- Navbar ---------- */
.tr-navbar{
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding:14px 0;
  position:sticky;
  top:0;
  z-index:999;
}
.tr-navbar .navbar-brand img{height:38px;}
.tr-navbar .nav-link{
  font-family:var(--font-display);
  font-weight:600;
  color:var(--ink);
  padding:8px 16px !important;
  font-size:15px;
}
.tr-navbar .nav-link.active,
.tr-navbar .nav-link:hover{color:var(--red-600);}
.btn-tr-primary{
  background:var(--red-600);
  color:#fff;
  border:none;
  font-family:var(--font-display);
  font-weight:600;
  padding:10px 22px;
  border-radius:2px;
  transition:background .15s ease;
}
.btn-tr-primary:hover{background:var(--red-700); color:#fff;}
.btn-tr-outline{
  background:transparent;
  color:var(--blue-900);
  border:1.5px solid var(--blue-900);
  font-family:var(--font-display);
  font-weight:600;
  padding:9px 20px;
  border-radius:2px;
  transition:all .15s ease;
}
.btn-tr-outline:hover{background:var(--blue-900); color:#fff;}

/* ---------- Hero ---------- */
.tr-hero{
  padding:88px 0 64px;
  overflow:hidden;
  position:relative;
}
.tr-hero .eyebrow-mark{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:22px;
}
.tr-hero .eyebrow-mark .flag-dot{
  width:10px;height:10px;border-radius:50%;
  background:var(--red-600);
  box-shadow: 14px 0 0 var(--blue-700);
}
.tr-hero .eyebrow-mark span.txt{
  font-family:var(--font-display);
  font-size:14px;
  font-weight:600;
  color:var(--ink-soft);
  margin-left:14px;
}
.tr-hero h1{
  font-size:clamp(2.4rem, 4.6vw, 3.6rem);
  font-weight:700;
  max-width:14ch;
}
.tr-hero h1 .accent{color:var(--red-600);}
.tr-hero .lede{
  font-size:19px;
  max-width:46ch;
  margin:22px 0 30px;
}
.tr-hero .stat-row{
  display:flex;
  gap:40px;
  margin-top:48px;
  flex-wrap:wrap;
}
.tr-hero .stat-row .stat b{
  display:block;
  font-family:var(--font-display);
  font-size:2rem;
  color:var(--blue-900);
}
.tr-hero .stat-row .stat span{
  font-size:13px;
  color:var(--ink-soft);
}

/* swoosh graphic echoing the mark */
.tr-swoosh{
  position:relative;
  height:100%;
  min-height:380px;
}
.tr-swoosh svg{width:100%; height:auto; display:block;}

/* curved section divider */
.tr-divider{
  display:block;
  width:100%;
  line-height:0;
}
.tr-divider svg{width:100%; height:70px; display:block;}

/* ---------- Sections ---------- */
.tr-section{padding:80px 0;}
.tr-section.mist{background:var(--mist);}
.tr-section.ink{background:var(--blue-900); color:#fff;}
.tr-section.ink h2, .tr-section.ink h3{color:#fff;}
.tr-section.ink p{color:#c4cee6;}

.section-head{
  max-width:640px;
  margin-bottom:48px;
}
.section-head .kicker{
  font-family:var(--font-display);
  font-size:13px;
  font-weight:700;
  color:var(--red-600);
  letter-spacing:.02em;
  margin-bottom:10px;
  display:block;
}
.section-head h2{
  font-size:clamp(1.7rem, 3vw, 2.3rem);
}

/* ---------- Service / value cards ---------- */
.tr-card{
  border:1px solid var(--line);
  padding:32px 26px;
  height:100%;
  background:#fff;
  border-top:3px solid var(--blue-700);
  transition:transform .15s ease, box-shadow .15s ease;
}
.tr-card:hover{transform:translateY(-4px); box-shadow:0 14px 30px rgba(14,35,89,.08);}
.tr-card .num{
  font-family:var(--font-display);
  font-size:13px;
  color:var(--red-600);
  font-weight:700;
  margin-bottom:14px;
}
.tr-card h3{font-size:1.15rem; margin-bottom:10px;}
.tr-card p{margin-bottom:0; font-size:15px;}

/* ---------- Process steps ---------- */
.tr-step{
  display:flex;
  gap:20px;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.tr-step:last-child{border-bottom:none;}
.tr-step .step-index{
  font-family:var(--font-display);
  font-size:2rem;
  font-weight:700;
  color:var(--line);
  min-width:60px;
}
.tr-step h4{font-size:1.05rem; margin-bottom:6px;}
.tr-step p{margin:0; font-size:15px;}

/* ---------- Team ---------- */
.tr-person{text-align:left;}
.tr-person .avatar{
  width:100%;
  aspect-ratio:1/1;
  background:var(--mist);
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--font-display);
  font-weight:700;
  font-size:2.2rem;
  color:var(--blue-700);
  margin-bottom:16px;
}
.tr-person h4{font-size:1.05rem; margin-bottom:2px;}
.tr-person .role{font-size:13px; color:var(--red-600); font-weight:600; font-family:var(--font-display);}

/* ---------- Values / list w/ marker ---------- */
.tr-value{display:flex; gap:16px; margin-bottom:26px;}
.tr-value .mark{
  width:34px;height:34px;flex:none;
  background:var(--red-600);
  clip-path:polygon(0 0,100% 0,100% 70%,50% 100%,0 70%);
}
.tr-value h4{font-size:1.05rem; margin-bottom:4px;}
.tr-value p{margin:0; font-size:15px;}

/* ---------- CTA band ---------- */
.tr-cta{
  background:var(--blue-900);
  color:#fff;
  padding:56px 0;
  text-align:left;
}
.tr-cta h2{color:#fff; font-size:clamp(1.6rem,3vw,2.1rem); max-width:20ch;}
.tr-cta p{color:#c4cee6;}

/* ---------- Contact ---------- */
.tr-contact-info .item{
  display:flex;
  gap:16px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.tr-contact-info .item:last-child{border-bottom:none;}
.tr-contact-info .item .lbl{
  font-family:var(--font-display);
  font-weight:700;
  font-size:13px;
  color:var(--red-600);
  min-width:90px;
}
.tr-form label{
  font-family:var(--font-display);
  font-size:13px;
  font-weight:600;
  color:var(--blue-900);
  margin-bottom:6px;
}
.tr-form .form-control{
  border-radius:2px;
  border:1px solid var(--line);
  padding:11px 14px;
  font-size:15px;
}
.tr-form .form-control:focus{
  border-color:var(--blue-700);
  box-shadow:0 0 0 3px rgba(28,63,143,.12);
}
.alert-tr-success{
  background:#eaf7ee;
  border:1px solid #b7e4c3;
  color:#1c6b34;
  padding:14px 18px;
  font-size:14px;
  margin-bottom:20px;
}
.alert-tr-error{
  background:#fdecee;
  border:1px solid #f3b7c0;
  color:var(--red-700);
  padding:14px 18px;
  font-size:14px;
  margin-bottom:20px;
}

/* ---------- Footer ---------- */
.tr-footer{
  background:var(--ink);
  color:#aab3c5;
  padding:56px 0 24px;
  font-size:14px;
}
.tr-footer h5{
  font-family:var(--font-display);
  color:#fff;
  font-size:14px;
  margin-bottom:16px;
}
.tr-footer a{color:#aab3c5;}
.tr-footer a:hover{color:#fff;}
.tr-footer .foot-bottom{
  border-top:1px solid #232b3d;
  margin-top:36px;
  padding-top:20px;
  font-size:13px;
  color:#6b7488;
}
.tr-footer .logo-white{height:32px; margin-bottom:16px; filter:brightness(0) invert(1);}

/* ---------- Utilities ---------- */
.text-blue{color:var(--blue-700);}
.text-red{color:var(--red-600);}
.bg-mist{background:var(--mist);}

@media (max-width: 767px){
  .tr-hero{padding:56px 0 36px; text-align:left;}
  .tr-section{padding:56px 0;}
  .tr-cta{text-align:left;}
}
