/* ============================= 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: var(--site-nav-h-px, 80px);
}

/* 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: 0;
}
.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;
  overflow:hidden;
  margin:12px auto 8px;
  padding:12px 20px 10px;
  background:
    radial-gradient(circle at 10% 18%, rgba(34, 211, 238, 0.18), transparent 22%),
    radial-gradient(circle at 88% 78%, rgba(99, 102, 241, 0.16), transparent 24%),
    linear-gradient(135deg, #071827 0%, #0c2e4d 46%, #134f66 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cta-rdx__card{
  position:relative;
  z-index:1;
  max-width:980px;
  margin:0 auto;
  padding:42px 38px;
  border-radius:28px;
  background:
    linear-gradient(180deg, rgba(7,24,39,.72), rgba(16,38,63,.82));
  border:1px solid rgba(147, 197, 253, .18);
  box-shadow:0 24px 70px rgba(4, 15, 28, .28);
  backdrop-filter: blur(10px);
  text-align:center;
}
.cta-rdx__card::before{
  content:"";
  position:absolute;
  inset:14px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  pointer-events:none;
}
.cta-rdx__card::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  top:-70px;
  right:-40px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(34,211,238,.24), transparent 68%);
  pointer-events:none;
}
.cta-rdx__title{
  font-size:clamp(1.9rem, 3vw, 2.5rem);
  font-weight:900;
  color:#f8fbff;
  margin:0 0 10px;
}
.cta-rdx__title::after{
  content:"";
  display:block;
  width:96px;
  height:4px;
  margin:18px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg, #22d3ee, #60a5fa, #818cf8);
}
.cta-rdx__actions{
  display:flex;
  justify-content:center;
}
.cta-rdx__card p{
  max-width:620px;
  margin:0 auto 28px;
  color:rgba(226, 232, 240, .88);
  font-size:clamp(1rem, 2.2vw, 1.1rem);
}
.cta-rdx__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 32px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  border:none;
  transition:all .25s ease;
}
.cta-rdx__btn--primary{
  color:#081522;
  background:linear-gradient(135deg, #ecfeff, #dbeafe);
  box-shadow:0 16px 32px rgba(8, 21, 34, .24);
}
.cta-rdx__btn--primary::after{
  content:"->";
  font-size:.92rem;
}
.cta-rdx__btn--primary:hover{
  transform:translateY(-3px) scale(1.02);
  filter:brightness(1.02);
  box-shadow:0 20px 38px rgba(8, 21, 34, .3);
}
@media (max-width:640px){
  .cta-rdx{
    margin:8px auto 4px;
    padding:8px 14px 6px;
  }
  .cta-rdx__card{padding:30px 18px;}
}

/* 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; }
}

@media (max-width: 768px) {
  .hero {
    min-height: calc(100svh - var(--site-nav-h-px, 80px));
    padding: 28px 0;
  }

  .hero .content {
    padding: 0 16px;
  }

  .kicker2 {
    font-size: clamp(1rem, 5vw, 1.25rem);
  }

  .stack {
    gap: 18px;
    margin-top: 24px;
  }

  .svc {
    padding: 16px;
    gap: 16px;
  }
}
