/* KAYAN premium services section */
.services{
  position:relative;
  padding:clamp(55px,7vw,40px) 0 clamp(55px,8vw,20px);
  isolation:isolate;
}
.services::before{
  content:"";
  position:absolute;
  z-index:-1;
  top:5%;
  left:50%;
  width:min(850px,90vw);
  height:380px;
  transform:translateX(-50%);
  background:radial-gradient(ellipse,rgba(201,169,106,.075) 0%,rgba(201,169,106,.025) 42%,transparent 74%);
  filter:blur(24px);
  pointer-events:none;
}
.services .section-head{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin:0 0 38px;
  padding:0 0 22px;
  border-bottom:1px solid rgba(201,169,106,.18);
}
.services .section-head::after{
  content:"";
  position:absolute;
  bottom:-1px;
  right:0;
  width:clamp(95px,13vw,170px);
  height:2px;
  background:linear-gradient(90deg,rgba(201,169,106,0),#d9b875);
  box-shadow:0 0 15px rgba(201,169,106,.35);
}
.services .section-head .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
  color:#d6b875;
  font-size:10px;
  letter-spacing:3px;
}
.services .section-head .eyebrow::before{
  content:"";
  width:27px;
  height:1px;
  background:linear-gradient(90deg,transparent,#d6b875);
}
.services .section-head h2{
  position:relative;
  display:table;
  margin:0;
  color:#f0d49b;
  font-size:clamp(32px,4vw,48px);
  line-height:1.25;
  letter-spacing:-.5px;
  text-shadow:0 3px 22px rgba(201,169,106,.13);
}
.services .section-head h2::after{
  content:"";
  display:block;
  width:54%;
  height:2px;
  margin:13px 0 0 auto;
  background:linear-gradient(90deg,transparent,#d8b36b);
  transform-origin:right;
  transition:width .45s ease;
}
.services .section-head:hover h2::after{width:100%}
.services .section-head > a{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:5px;
  color:#d8b36b;
  font-size:14px;
  transition:color .25s ease,transform .25s ease;
}
.services .section-head > a:hover{
  color:#fff0c8;
  transform:translateX(-4px);
}
.service-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}
.service-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
  background:linear-gradient(155deg,rgba(23,25,29,.98),rgba(12,14,18,.98));
  border:1px solid rgba(201,169,106,.18);
  border-radius:4px;
  box-shadow:0 12px 28px rgba(0,0,0,.22);
  transition:transform .4s cubic-bezier(.2,.7,.2,1),border-color .4s ease,box-shadow .4s ease;
}
.service-card::before{
  content:"";
  position:absolute;
  z-index:2;
  inset:0;
  border:1px solid transparent;
  pointer-events:none;
  transition:border-color .35s ease;
}
.service-card:hover{
  transform:translateY(-8px);
  border-color:rgba(221,185,112,.72);
  box-shadow:0 20px 42px rgba(0,0,0,.42),0 0 24px rgba(201,169,106,.09);
}
.service-card:hover::before{border-color:rgba(240,212,155,.22)}
.service-img{
  position:relative;
  height:clamp(155px,15vw,205px);
  overflow:hidden;
  background:#17191d;
}
.service-img::after{
  content:"";
  position:absolute;
  inset:35% 0 0;
  background:linear-gradient(180deg,transparent,rgba(8,10,13,.38));
  pointer-events:none;
}
.service-img img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.82) contrast(1.04);
  transition:transform .75s cubic-bezier(.2,.7,.2,1),filter .55s ease;
}
.service-card:hover .service-img img{
  transform:scale(1.075);
  filter:saturate(1.02) contrast(1.06);
}
.service-info{
  position:relative;
  flex:1;
  padding:22px 21px 25px;
  text-align:right;
  background:linear-gradient(180deg,rgba(20,23,28,.98),rgba(13,16,20,.98));
}
.service-info::before{
  content:"";
  position:absolute;
  top:0;
  right:21px;
  width:42px;
  height:1px;
  background:linear-gradient(90deg,transparent,#d8b36b);
  transition:width .35s ease;
}
.service-card:hover .service-info::before{width:calc(100% - 42px)}
.service-info h3{
  margin:0 0 10px;
  color:#f5ead4;
  font-size:clamp(16px,1.35vw,19px);
  line-height:1.65;
  transition:color .3s ease;
}
.service-card:hover .service-info h3{color:#f0d49b}
.service-info p{
  margin:0;
  color:#aaaeb5;
  font-size:13px;
  line-height:1.95;
}
@media(max-width:1050px){
  .service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .service-img{height:220px}
}
@media(max-width:650px){
  .services{padding:55px 0 75px}
  .services .section-head{
    align-items:flex-start;
    flex-direction:column;
    gap:13px;
    margin-bottom:25px;
    padding-bottom:17px;
  }
  .services .section-head h2{font-size:32px}
  .services .section-head > a{margin:0}
  .service-grid{grid-template-columns:1fr;gap:16px}
  .service-img{height:220px}
  .service-info{padding:19px 18px 22px}
  .service-info h3{font-size:18px}
  .service-info p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
  .service-card,.service-img img,.service-info h3,.services .section-head h2::after,.services .section-head > a{transition:none}
}
