:root{
  --oe-blue:#141947;
  --oe-yellow:#ffcc0a;
  --oe-purple:#a54a97;

  --oe-bg:#ffffff;
  --oe-text:#0f1224;
  --oe-muted:rgba(20,25,71,.72);
  --oe-border:rgba(20,25,71,.12);

  --oe-radius:18px;
  --oe-shadow:0 18px 55px rgba(20,25,71,.12);
  --oe-shadow-soft:0 12px 28px rgba(20,25,71,.10);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--oe-bg);color:var(--oe-text)}

.oe-container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

.oe-services{padding-bottom:70px}

/* HERO */
.oe-hero{
  padding:56px 0 26px;
  position:relative;
  overflow:hidden;
}
.oe-hero:before{
  content:"";
  position:absolute;
  inset:-160px -140px auto -140px;
  height:340px;
  background:
    radial-gradient(closest-side, rgba(255,204,10,.18), transparent 65%),
    radial-gradient(closest-side, rgba(165,74,151,.14), transparent 65%),
    radial-gradient(closest-side, rgba(20,25,71,.10), transparent 65%);
  filter:blur(2px);
  pointer-events:none;
}
.oe-kicker{
  margin:0 0 10px;
  color:var(--oe-muted);
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
}
.oe-title{
  margin:0;
  font-size:clamp(28px, 3.2vw, 44px);
  line-height:1.08;
  color:var(--oe-blue);
}
.oe-subtitle{
  margin:12px 0 0;
  max-width:74ch;
  color:var(--oe-muted);
  font-size:15.5px;
  line-height:1.55;
}

/* GRID */
.oe-grid-wrap{padding:18px 0 10px}
.oe-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}
@media (max-width: 980px){
  .oe-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width: 620px){
  .oe-grid{grid-template-columns:1fr}
}

.oe-card{
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  border:1px solid var(--oe-border);
  border-radius:var(--oe-radius);
  background:#fff;
  box-shadow:var(--oe-shadow-soft);
  overflow:hidden;
  transform:translateY(0);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  will-change:transform;
}
.oe-card:hover{
  transform:translateY(-6px);
  border-color:rgba(20,25,71,.22);
  box-shadow:var(--oe-shadow);
}
.oe-card:focus-visible{
  outline:3px solid rgba(255,204,10,.55);
  outline-offset:3px;
}
.oe-card__top{position:relative}
.oe-card__badge{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,204,10,.22);
  border:1px solid rgba(255,204,10,.35);
  color:var(--oe-blue);
  font-size:12px;
  font-weight:800;
}

.oe-media{
  height:190px;
  background:
    linear-gradient(135deg, rgba(20,25,71,.92), rgba(20,25,71,.84)),
    radial-gradient(closest-side, rgba(255,204,10,.26), transparent 62%),
    radial-gradient(closest-side, rgba(165,74,151,.22), transparent 58%);
  position:relative;
  overflow:hidden;
}
.oe-media__video,
.oe-media__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  z-index:0;
}
.oe-media__video{pointer-events:none}
.oe-media__video::-webkit-media-controls,
.oe-media__video::-webkit-media-controls-enclosure,
.oe-media__video::-webkit-media-controls-panel{
  display:none !important;
}
.oe-media__overlay{
  position:absolute;
  inset:0;
  background:rgba(255,255,255,.38);
  z-index:1;
  pointer-events:none;
}
.oe-media__placeholder{
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side, rgba(255,204,10,.20), transparent 62%),
    radial-gradient(closest-side, rgba(165,74,151,.18), transparent 62%);
  opacity:.9;
  transform:scale(1);
  transition:transform .6s ease, opacity .6s ease;
}
.oe-card:hover .oe-media__placeholder{
  transform:scale(1.06);
  opacity:1;
}

.oe-card__body{padding:16px 16px 18px}
.oe-card__title{
  margin:0 0 8px;
  font-size:18px;
  line-height:1.2;
  color:var(--oe-blue);
}
.oe-card__text{
  margin:0 0 12px;
  color:var(--oe-muted);
  line-height:1.55;
  font-size:14.5px;
}
.oe-card__cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:var(--oe-blue);
}
.oe-arrow{
  display:inline-block;
  transform:translateX(0);
  transition:transform .35s ease;
}
.oe-card:hover .oe-arrow{transform:translateX(4px)}

.oe-note{
  margin-top:16px;
  border:1px solid rgba(20,25,71,.12);
  border-radius:var(--oe-radius);
  padding:14px 16px;
  background:linear-gradient(135deg, rgba(255,204,10,.10), rgba(165,74,151,.08));
  box-shadow:var(--oe-shadow-soft);
}
.oe-note p{margin:0; color:var(--oe-muted); line-height:1.55}
.oe-code{
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:13px;
  padding:2px 7px;
  border-radius:10px;
  border:1px solid rgba(20,25,71,.12);
  background:rgba(255,255,255,.7);
  color:var(--oe-blue);
}

/* CTA */
.oe-cta{padding:22px 0 0}
.oe-cta__inner{
  border:1px solid rgba(20,25,71,.14);
  border-radius:calc(var(--oe-radius) + 6px);
  padding:20px;
  background:linear-gradient(135deg, rgba(255,204,10,.12), rgba(165,74,151,.09));
  box-shadow:var(--oe-shadow-soft);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.oe-cta__copy h2{
  margin:0 0 8px;
  color:var(--oe-blue);
  font-size:20px;
}
.oe-cta__copy p{
  margin:0;
  color:var(--oe-muted);
  line-height:1.55;
  max-width:70ch;
}
@media (max-width: 820px){
  .oe-cta__inner{flex-direction:column; align-items:flex-start}
}

.oe-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  border:1px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.oe-btn:active{transform:translateY(1px)}
.oe-btn--primary{
  background:var(--oe-blue);
  color:#fff;
  border-color:rgba(255,204,10,.55);
  box-shadow:0 14px 30px rgba(20,25,71,.18);
}
.oe-btn--primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(20,25,71,.22);
}
.oe-btn--ghost{
  background:rgba(255,255,255,.75);
  color:var(--oe-blue);
  border-color:rgba(20,25,71,.18);
}
.oe-btn--ghost:hover{transform:translateY(-2px); border-color:rgba(20,25,71,.28)}

/* REVEAL */
.oe-reveal{
  opacity:0;
  transform:translateY(14px);
  transition:opacity .55s ease, transform .55s ease;
}
.oe-reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .oe-card, .oe-media__placeholder, .oe-reveal, .oe-arrow, .oe-btn{
    transition:none !important;
  }
  .oe-reveal{opacity:1; transform:none}
}
