.ate-case{
  width:100%;
  background:#E1D59F;
  padding:95px 24px;
  position:relative;
  overflow:hidden;
}

.ate-case::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 10% 10%, rgba(216,146,22,0.14), transparent 30%),
    radial-gradient(circle at 90% 60%, rgba(44,6,31,0.08), transparent 32%);
  z-index:1;
}

.ate-case-wrap{
  max-width:1200px;
  margin:0 auto;
  position:relative;
  z-index:2;
}

.ate-case-head{
  max-width:860px;
  margin:0 auto 60px;
  text-align:center;
}

.ate-case-head span{
  display:inline-flex;
  padding:10px 22px;
  border-radius:999px;
  background:#D89216;
  color:#2C061F;
  font-family:'Inter', sans-serif;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:20px;
}

.ate-case-head h2{
  margin:0 0 18px;
  font-family:'Cinzel', serif;
  font-size:42px;
  line-height:1.08;
  color:#2C061F;
}

.ate-case-head p{
  margin:0 auto;
  max-width:780px;
  font-family:'Inter', sans-serif;
  font-size:16px;
  line-height:1.7;
  color:#374045;
}

.ate-case-block{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:28px;
  align-items:stretch;
  margin-bottom:58px;
}

.ate-case-block:last-child{
  margin-bottom:0;
}

.ate-case-reverse .ate-case-image{
  order:2;
}

.ate-case-reverse .ate-case-card{
  order:1;
}

.ate-case-image,
.ate-case-card{
  min-height:620px;
}

.ate-case-image{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 24px 60px rgba(44,6,31,0.22);
}

.ate-case-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:0.5s ease;
}

.ate-case-image:hover img{
  transform:scale(1.04);
}

.ate-case-badge{
  position:absolute;
  left:22px;
  top:22px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#2C061F;
  color:#ffffff;
  padding:13px 18px;
  border-radius:8px;
  font-family:'Inter', sans-serif;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.5px;
  box-shadow:0 12px 28px rgba(0,0,0,0.24);
}

.ate-case-badge svg{
  width:21px;
  height:21px;
  color:#D89216;
  flex-shrink:0;
}

.ate-case-card{
  background:#FFFFFF;
  border-radius:22px;
  padding:38px 42px;
  box-shadow:0 24px 60px rgba(44,6,31,0.20);
  display:flex;
  flex-direction:column;
}

.ate-case-label{
  display:block;
  font-family:'Inter', sans-serif;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:0.7px;
  color:#D89216;
  margin-bottom:14px;
}

.ate-case-card h3{
  margin:0 0 28px;
  font-family:'Cinzel', serif;
  font-size:34px;
  line-height:1.1;
  color:#2C061F;
}

.ate-case-item{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:18px;
  padding:0 0 18px;
  margin-bottom:18px;
  border-bottom:1px solid rgba(55,64,69,0.18);
}

.ate-case-item:last-of-type{
  margin-bottom:0;
}

.ate-case-icon{
  width:52px;
  height:52px;
  border-radius:50%;
  background:#2C061F;
  color:#D89216;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.ate-case-icon svg{
  width:27px;
  height:27px;
}

.ate-case-item h4{
  margin:0 0 6px;
  font-family:'Inter', sans-serif;
  font-size:16px;
  font-weight:900;
  text-transform:uppercase;
  color:#D89216;
}

.ate-case-item p{
  margin:0;
  font-family:'Inter', sans-serif;
  font-size:14.5px;
  line-height:1.5;
  color:#1E293B;
}

.ate-case-stats{
  margin-top:auto;
  background:#2C061F;
  border-radius:12px;
  padding:17px 18px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

.ate-case-stats div{
  text-align:center;
  border-right:1px solid rgba(216,146,22,0.45);
  padding:0 6px;
}

.ate-case-stats div:last-child{
  border-right:0;
}

.ate-case-stats strong{
  display:block;
  font-family:'Inter', sans-serif;
  font-size:22px;
  font-weight:900;
  color:#FFFFFF;
  line-height:1;
  margin-bottom:5px;
}

.ate-case-stats span{
  display:block;
  font-family:'Inter', sans-serif;
  font-size:10.5px;
  font-weight:800;
  text-transform:uppercase;
  color:#D89216;
}

@media(max-width:991px){
  .ate-case{
    padding:85px 18px;
  }

  .ate-case-head h2{
    font-size:38px;
  }

  .ate-case-block,
  .ate-case-reverse{
    grid-template-columns:1fr;
  }

  .ate-case-reverse .ate-case-image,
  .ate-case-reverse .ate-case-card{
    order:initial;
  }

  .ate-case-image,
  .ate-case-card{
    min-height:auto;
  }

  .ate-case-image{
    height:480px;
  }

  .ate-case-card h3{
    font-size:32px;
  }
}

@media(max-width:767px){
  .ate-case{
    padding:70px 16px;
  }

  .ate-case-head{
    margin-bottom:48px;
  }

  .ate-case-head h2{
    font-size:32px;
  }

  .ate-case-head p{
    font-size:15px;
  }

  .ate-case-block{
    gap:22px;
    margin-bottom:45px;
  }

  .ate-case-image{
    height:390px;
    border-radius:18px;
  }

  .ate-case-card{
    padding:32px 22px;
    border-radius:18px;
  }

  .ate-case-card h3{
    font-size:28px;
  }

  .ate-case-item{
    grid-template-columns:1fr;
    gap:12px;
  }

  .ate-case-stats{
    grid-template-columns:1fr;
  }

  .ate-case-stats div{
    border-right:0;
    border-bottom:1px solid rgba(216,146,22,0.45);
    padding-bottom:12px;
  }

  .ate-case-stats div:last-child{
    border-bottom:0;
    padding-bottom:0;
  }
}