:root{
  --brand:#ffb018;
  --ink:#101214;
  --muted:#5a5f66;
  --line:#e7e7e7;
  --bg:#ffffff;
  --shadow: 0 16px 38px rgba(0,0,0,.16);
}

/* base */
.companyBody{
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}


/* typography */
.coKicker{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.coH2{
  font-size: 36px;
  line-height: 1.15;
  margin: 0 0 14px;
  font-weight: 850;
  color: var(--brand)
}

.coLead{
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
  color: var(--bg)
}

/* shared wrapper */
.coWrap{
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

/* =========================
WELCOME
========================= */
.coWelcome__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}

.coBlock{
  border: 1px solid var(--line);
  padding: 26px;
  background: #fff;
}

.coList{
  margin-top: 18px;
  display:grid;
  gap: 10px;
}
.coList__item{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  line-height: 1.55;
}
.coDot{
  width: 8px;
  height: 8px;
  background: var(--brand);
  display:inline-block;
}

.coMiniCtas{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* photo block */
.coPhoto{
  position: relative;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  min-height: 360px;
  overflow:hidden;
}
.coPhoto::before{
  content:"";
  position:absolute;
  inset:0;
  transform: translateY(var(--py, 0px)) scale(1.05);
  transition: transform .7s ease;
}
.coPhoto::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.65));
}
.coPhoto__label{
  position:absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  color:#fff;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.15);
  padding: 12px 12px;
}
.coPhoto__label strong{ display:block; font-weight: 900; }
.coPhoto__label span{ color: rgba(255,255,255,.85); font-size: 13px; }

/* =========================
HIGHLIGHTS
========================= */
.coHighlights__head{
  max-width: 820px;
  margin-bottom: 18px;
}

.coMetrics{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.coMetric{
  border: 1px solid var(--line);
  padding: 18px;
  background: #fff;
}
.coMetric strong{
  display:block;
  font-weight: 900;
  margin-bottom: 8px;
}
.coMetric p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================
PILLARS (cards)
========================= */
.coCards3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.coCard{
  position: relative;
  border: 1px solid var(--line);
  min-height: 260px;
  overflow: hidden;
  background: #ddd;
}

/* ✅ THIS is what actually draws the image */
.coCard::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform .7s ease;
  z-index: 0;
}

/* ✅ Make overlay lighter so image shows */
.coCard__shade{
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.55) 100%
  );
  z-index: 1;
}

/* ✅ Text stays above */
.coCard__body{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  color:#fff;
  z-index: 2;
}

.coCard__body h3{
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 18px;
}

.coCard__body p{
  margin: 0;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
}

.coCard:hover::before{
  transform: scale(1.12);
}

/* responsive */
@media (max-width: 980px){
  .coCards3{ grid-template-columns: 1fr; }
}


/* =========================
VALUES (split)
========================= */
.coValues__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: stretch;
}

.coValues__left{
  border: 1px solid var(--line);
  padding: 26px;
  background: #fff;
}

.coValueList{
  margin-top: 14px;
  display:grid;
  gap: 12px;
}

.coValue{
  display:flex;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 14px;
  background: #fff;
}
.coIcon{
  width: 42px;
  height: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 1px solid var(--line);
  font-weight: 900;
  color: var(--brand);
  flex: 0 0 auto;
}
.coValue strong{ display:block; margin-bottom: 4px; font-weight: 900; }
.coValue p{ margin: 0; color: var(--muted); line-height: 1.55; }

.coValues__photo{
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

/* =========================
SERVICES (tiles)
========================= */
.coServices__head{
  max-width: 820px;
  margin-bottom: 18px;
}

.coTiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.coTile{
  position: relative;
  border: 1px solid var(--line);
  min-height: 240px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  display:flex;
  align-items:flex-end;
}
.coTile::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform .7s ease;
}
.coTile__shade{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(234, 177, 22, 0.816), rgba(0,0,0,.82));
}
.coTile__body{
  position: relative;
  padding: 18px;
}
.coTile__body h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.coTile__body p{
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
  font-size: 13.5px;
}
.coTile__go{
  display:inline-block;
  margin-top: 10px;
  font-weight: 900;
  color: var(--brand);
}
.coTile:hover::before{ transform: scale(1.12); }


/* =========================
CTA band (image)
========================= */
.coCtaBand{
  position: relative;
  padding: 96px 0;
  overflow:hidden;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.coCtaBand::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: translateY(var(--py, 0px)) scale(1.05);
  filter: saturate(1.05) contrast(1.05);
  will-change: transform;
}
.coCtaBand::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.55));
}
.coCtaBand > .itk-container{ position: relative; z-index: 1; }

.coCtaBox{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.45);
  padding: 26px;
  box-shadow: var(--shadow);
}
.coCtaBox .coKicker{ color: rgba(255,255,255,.75); }
.coCtaBox .coH2{ color:#fff; }
.coCtaBox .coLead{ color: rgba(255,255,255,.85); }

.coCtaBtns{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

/* buttons */
.coBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 16px;
  text-decoration:none;
  font-weight: 900;
  font-size: 14px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}
.coBtn--brand{
  background: var(--brand);
  border-color: var(--brand);
  color: #111;
}
.coBtn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.coBtn--ghost:hover{
  border-color: var(--brand);
  color: var(--brand);
}

/* =========================
REVEAL
========================= */
.is-reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
}
.is-reveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* =========================
RESPONSIVE
========================= */
@media (max-width: 980px){
  .coWelcome__grid{ grid-template-columns: 1fr; }
  .coMetrics{ grid-template-columns: repeat(2, 1fr); }
  .coCards3{ grid-template-columns: 1fr; }
  .coValues__grid{ grid-template-columns: 1fr; }
  .coTiles{ grid-template-columns: repeat(2, 1fr); }
  .coCtaBox{ flex-direction: column; align-items:flex-start; }
}

@media (max-width: 560px){
  .coWrap{ padding: 66px 0; }
  .coH2{ font-size: 28px; }
  .coMetrics{ grid-template-columns: 1fr; }
  .coTiles{ grid-template-columns: 1fr; }
}
.coCardsSimple{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.coCardSimple{
  border: 1px solid #e7e7e7;
  background: #fff;
  overflow: hidden;
}

.coCardSimple img{
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.coCardSimple__body{
  padding: 16px;
}

.coCardSimple__body h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
}

.coCardSimple__body p{
  margin: 0;
  color: #5a5f66;
  line-height: 1.6;
}

@media (max-width: 980px){
  .coCardsSimple{ grid-template-columns: 1fr; }
  .coCardSimple img{ height: 220px; }
}


/* =========================
COMPANY PROFILE + VIDEO (NEW)
========================= */
.coProfile__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}

.coProfile__p{
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.75;
  color:var(--bg)
}

.coProfile__badges{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coTag{
  display:inline-flex;
  align-items:center;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
}

.coProfile__miniGrid{
  margin-top: 16px;
  display:grid;
  gap: 12px;
}

.coMiniCard{
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
}
.coMiniCard h3{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
}
.coMiniCard p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Video card */
.coVideoCard{
  border: 1px solid var(--line);
  background: #fff;
  overflow:hidden;
}

.coVideoTop{
  padding: 18px 18px 0;
}
.coVideoTitle{
  margin: 6px 0 8px;
  font-size: 18px;
  font-weight: 900;
}
.coVideoSub{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13.5px;
}

.coVideoFrame{
  margin-top: 14px;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.coVideoFrame iframe,
.coVideoFrame video{
  width: 100%;
  height: 100%;
  display:block;
  border: 0;
}

.coVideoFoot{
  padding: 14px 18px 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
SCOPE GRID (NEW)
========================= */
.coScope__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.coScope__item{
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.coScope__item h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 900;
}

.coScope__item p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.coScope__item ul{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 980px){
  .coProfile__grid{ grid-template-columns: 1fr; }
  .coScope__grid{ grid-template-columns: 1fr; }
}
/* =========================
CORE VALUES (PREMIUM)
========================= */

.coValuesBox{
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.coValuesBox__head{
  margin-bottom: 14px;
}

.coValuesGrid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.coValueItem{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fff;
  transition: all .25s ease;
}

.coValueItem:hover{
  border-color: var(--brand);
  background: rgba(255,176,24,.04);
  transform: translateY(-2px);
}

.coValueIcon{
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 900;
  color: var(--brand);
}

.coValueItem strong{
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 3px;
}

.coValueItem p{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.coWrap.coProfile{
  background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)),
                    url('../assets/img/RIS\ Logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* =========================
RIS VIDEO SLIDER
========================= */
.risServiceVideos{
  padding:100px 0;
  background:#ffb018;
  color: #fff;
}

.risServiceVideos__head{
  text-align:center;
  margin-bottom:26px;
}

.risServiceVideos__head h2{
  font-size:36px;
  margin-bottom:8px;
}

.risServiceVideos__head p{
  color:#fff;
}

/* Top controls */
.risVideoSlider__top{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0 14px;
}

.risVideoSlider__btn{
  width:44px;
  height:44px;
  border:1px solid #e3e7eb;
  background:#fff;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:.2s;
}
.risVideoSlider__btn:hover{
  border-color:#ffb018;
}

/* progress bar */
.risVideoSlider__bar{
  flex:1;
  height:6px;
  background:#e9edf1;
  position:relative;
  overflow:hidden;
}
.risVideoSlider__fill{
  position:absolute;
  left:0; top:0; bottom:0;
  width:0%;
  background:#ffb018;
  transition:width .2s ease;
}

/* Track */
.risVideoSlider__track{
  display:flex;
  gap:18px;
  overflow:auto;
  padding:6px 2px 12px;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;

  /* hide scrollbar cleanly */
  scrollbar-width:none;
}
.risVideoSlider__track::-webkit-scrollbar{ display:none; }

/* Card size for inline slider */
.risVideoCard{
  flex:0 0 360px;                 /* card width */
  background:#fff;
  border:1px solid #e3e7eb;
  scroll-snap-align:start;
  transition:box-shadow .25s ease, transform .25s ease;

  /* reveal animation base */
  opacity:0;
  transform:translateY(14px);
}

.risVideoCard.is-in{
  opacity:1;
  transform:translateY(0);
  transition:opacity .5s ease, transform .5s ease, box-shadow .25s ease;
}

.risVideoCard:hover{
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  transform:translateY(-2px);
}

/* media */
.risVideoCard__media{
  position:relative;
  aspect-ratio:16/9;
  background:#000;
}
.risVideoCard video{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* placeholder overlay */
.risVideoCard__placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:500;
  background:rgba(0,0,0,.35);
  pointer-events:none;
}

/* title */
.risVideoCard h3{
  padding:18px;
  font-size:16px;
  line-height:1.35;
}

/* responsive sizing */
@media(max-width:1024px){
  .risVideoCard{ flex-basis:320px; }
}
@media(max-width:640px){
  .risServiceVideos{ padding:80px 0; }
  .risVideoCard{ flex-basis:86vw; } /* big on phone */
}
