/* ============================= EMBEDDED SYSTEM – CLEAN PAGE CSS ============================= */
:root {
  --primary: #1E3F5C;
  --primary-light: #37A2B5;
  --secondary: #263a63;
  --secondary-dark: #0b233e;
  --text-dark: #111827;
  --text-light: #f1f2f5;
  --bg-light: #f5f8fb;
  --border: #e9edf5;
  --shadow: 0 6px 18px rgba(16,24,40,.08);
  --transition: .3s ease;
  --radius: 12px;
  --nav-height: 80px;

  --cta-brand:#4896ad;
  --cta-accent:#5b6682;
  --cta-bg:#f7faff;
  --cta-text-dark:#10203a;
  --cta-sub:#41597d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  padding-top:0px; /* fixed navbar */
}

/* Unified Typography */
h1, h2, h3, h4, h5, h6,
.kicker, .kicker2, .cta-rdx__title,
.content h1, .svc h3 {
  font-family: 'Lato', sans-serif !important;
  font-weight: 900;
  letter-spacing: 0.4px;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h3 { font-size: clamp(1.3rem, 3.5vw, 1.8rem); }

p, li {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.15rem);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HERO ===== */
.bg-fixed {
  position: relative;
  overflow: hidden;
  color: #fff;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: left;
}
.bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,12,24,.6) 0%, rgba(8,12,24,.6) 100%);
}
.hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  margin-top: 80px;
}
.hero .content {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
  max-width: 900px;
}
.kicker {
  display: inline-block;
  padding: .4rem .8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  font-weight: 700;
  color: #a5f3fc;
  font-size: clamp(1rem, 3vw, 1.4rem);
}
.hero h1 {
  margin: 12px 0;
  line-height: 1.1;
}
.hero .accent { color: #37A2B5; text-shadow: 0 8px 34px rgba(55,162,181,0.4); }
.hero p {
  max-width: 750px;
  color: #e2e8f0;
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.section { padding: 80px 6vw; }
.kicker2 {
  display: inline-block;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid #e5e8ed;
  background: #fff;
  font-weight: 800;
  color: #334155;
  font-size: clamp(1.1rem, 4vw, 1.8rem);
}
.stack { display: grid; gap: 24px; margin-top: 40px; }
.svc {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 22px;
  align-items: center;
}
.svc.reverse { grid-template-columns: .9fr 1.1fr; }
.svc.reverse .img { order: 2; }
.svc.reverse .copy { order: 1; }
.svc .img img {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc h3 { margin: .3rem 0; }
.svc p { color: #5b6b83; }

/* CTA */
.cta-rdx{
  position:relative;
  margin:80px auto;
  padding:70px 0;
  background:linear-gradient(180deg, #f9fbfe 0%, #eef3ff 100%);
}
.cta-rdx__card{
  position:relative;
  z-index:1;
  max-width:900px;
  margin:0 auto;
  padding:50px 40px;
  border-radius:20px;
  background:#fff;
  box-shadow:0 25px 60px rgba(0,0,0,.15);
  text-align:center;
}
.cta-rdx__title{
  font-size:clamp(1.8rem, 3vw, 2.2rem);
  font-weight:900;
  color:var(--cta-text-dark);
  margin:10px 0 14px;
}
.cta-rdx__actions{ display:flex; justify-content:center; }
.cta-rdx__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  border:none;
  transition:all .25s ease;
}
.cta-rdx__btn--primary{
  color:#fff;
  background:linear-gradient(135deg, var(--cta-brand), var(--cta-accent));
  box-shadow:0 10px 25px rgba(208, 225, 231, 0.35);
}
.cta-rdx__btn--primary:hover{
  transform:translateY(-2px);
  filter:brightness(1.1);
}
@media (max-width:640px){
  .cta-rdx__card{padding:36px 20px;}
}

/* Reveal Animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .svc, .svc.reverse { grid-template-columns: 1fr; }
  .svc.reverse .img { order: 1; }
  .svc.reverse .copy { order: 2; }
}