.case-page {
  max-width: 1250px;
  margin: 0 auto;
  padding: 55px 35px 80px;
  color: #111;
}

.back-link {
  display: inline-block;
  margin-bottom: 45px;
  color: #c58d2d;
  text-decoration: none;
  font-weight: 700;
}

.case-hero {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.case-copy h1 {
  font-size: clamp(48px, 7vw, 82px);
  line-height: .95;
  margin: 20px 0 10px;
}

.case-copy h1 span {
  color: #c58d2d;
  display: block;
}

.case-copy h3 {
  font-size: 22px;
  margin-bottom: 25px;
}

.case-copy p {
  color: #444;
  line-height: 1.8;
  max-width: 540px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.case-tags span,
.tech-tags span {
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.case-device img,
.case-image-wide img {
  width: 100%;
  display: block;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

.case-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
  margin-bottom: 45px;
}

.case-overview h2,
.challenge-solution h2,
.modules-section h2,
.screenshots-section h2,
.tech-results h2 {
  font-size: 32px;
  margin-bottom: 22px;
}

.case-overview h2::after,
.challenge-solution h2::after,
.modules-section h2::after,
.screenshots-section h2::after,
.tech-results h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: #c58d2d;
  margin-top: 8px;
}

.case-overview p {
  color: #444;
  line-height: 1.8;
}

.overview-list {
  background: #fff;
  border-radius: 14px;
  padding: 12px 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.overview-list p {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  margin: 0;
}

.overview-list p:last-child {
  border-bottom: 0;
}

.challenge-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin: 80px 0;
}

.challenge-solution > div,
.tech-results > div {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.challenge-solution ul,
.tech-results ul {
  padding: 0;
  margin: 0;
}

.challenge-solution li,
.tech-results li {
  list-style: none;
  margin: 14px 0;
  color: #333;
  line-height: 1.6;
}

.challenge-solution li::before,
.tech-results li::before {
  content: "◎";
  color: #c58d2d;
  font-weight: 900;
  margin-right: 10px;
}

.modules-section {
  margin-bottom: 70px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.module-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 25px 18px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.module-card span {
  font-size: 34px;
  display: block;
  margin-bottom: 12px;
}

.module-card h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.module-card p {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
}

.screenshots-section {
  margin-bottom: 75px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

.screenshot-grid figure {
  margin: 0;
  text-align: center;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 10px;
  display: block;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.screenshot-grid figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.tech-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tech-tags span {
  color: #111;
}

@media (max-width: 950px) {
  .case-hero,
  .case-overview,
  .challenge-solution,
  .tech-results {
    grid-template-columns: 1fr;
  }

  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-list p {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
.timeline-section {
  margin: 80px 0;
}

.timeline-section h2,
.case-results-full h2 {
  font-size: 32px;
  margin-bottom: 35px;
}

.timeline-section h2::after,
.case-results-full h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: #c58d2d;
  margin-top: 8px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.timeline-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.timeline-card span {
  color: #c58d2d;
  font-size: 26px;
  font-weight: 900;
}

.timeline-card h3 {
  font-size: 19px;
  margin: 12px 0 18px;
}

.timeline-card ul {
  padding-left: 18px;
  color: #444;
  line-height: 1.8;
}

.coyne-grid {
  grid-template-columns: repeat(5, 1fr);
}

.coyne-showcase {
  grid-template-columns: repeat(6, 1fr);
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.brand-cloud span {
  background: #f8f8f8;
  border: 1px solid #eee;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.case-results-full {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 40px;
  margin-top: 45px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.case-results-full ul {
  columns: 2;
  padding: 0;
  margin: 0;
}

.case-results-full li {
  list-style: none;
  margin: 14px 0;
  color: #333;
  line-height: 1.6;
}

.case-results-full li::before {
  content: "◎";
  color: #c58d2d;
  margin-right: 10px;
  font-weight: 900;
}

@media (max-width: 950px) {
  .timeline-grid,
  .coyne-grid,
  .coyne-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-results-full ul {
    columns: 1;
  }
}

@media (max-width: 600px) {
  .timeline-grid,
  .coyne-grid,
  .coyne-showcase {
    grid-template-columns: 1fr;
  }
}
.case-actions {
  margin-top: 25px;
}

.request-demo-btn {
  display: inline-block;
  background: #c58d2d;
  color: #fff;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(197, 141, 45, .25);
}

.request-demo-btn:hover {
  transform: translateY(-2px);
}

.tireshop-grid {
  grid-template-columns: repeat(6, 1fr);
}

.tireshop-screens {
  grid-template-columns: repeat(2, 1fr);
}

.tireshop-flow {
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.tireshop-flow .timeline-card {
  padding: 24px 20px;
}

.tireshop-flow .timeline-card span {
  font-size: 22px;
}

.tireshop-gallery {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 950px) {
  .tireshop-grid,
  .tireshop-flow,
  .tireshop-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .tireshop-screens {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tireshop-grid,
  .tireshop-flow,
  .tireshop-gallery {
    grid-template-columns: 1fr;
  }
}
.fa-grid {
  grid-template-columns: repeat(6, 1fr);
}

.fa-before-showcase {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 55px;
  align-items: start;
  margin: 75px 0;
}

.before-after h2,
.ongoing-section h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

.before-after h2::after,
.ongoing-section h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: #c58d2d;
  margin-top: 8px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.ba-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.ba-card h3 {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.ba-card.after h3 {
  background: #c58d2d;
}

.ba-card ul {
  padding: 0;
  margin: 0;
}

.ba-card li {
  list-style: none;
  margin: 14px 0;
  color: #333;
  line-height: 1.5;
}

.ba-card li::before {
  content: "◎";
  margin-right: 9px;
  color: #c58d2d;
  font-weight: 900;
}

.fa-showcase-section {
  margin-bottom: 0;
}

.fa-showcase {
  grid-template-columns: repeat(4, 1fr);
}

.ongoing-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  align-items: center;
  margin: 75px 0 50px;
}

.ongoing-section > div:first-child {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.ongoing-section p {
  color: #444;
  line-height: 1.8;
}

.ongoing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.ongoing-grid div {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.ongoing-grid span {
  color: #c58d2d;
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.ongoing-grid h3 {
  font-size: 15px;
  margin: 0 0 10px;
}

.ongoing-grid p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 950px) {
  .fa-grid,
  .fa-showcase,
  .ongoing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fa-before-showcase,
  .ongoing-section {
    grid-template-columns: 1fr;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .fa-grid,
  .fa-showcase,
  .ongoing-grid {
    grid-template-columns: 1fr;
  }
}
.assaggio-grid{
  grid-template-columns: repeat(6,1fr);
}

.assaggio-showcase{
  grid-template-columns: repeat(5,1fr);
}

@media(max-width:950px){

  .assaggio-grid{
    grid-template-columns: repeat(2,1fr);
  }

  .assaggio-showcase{
    grid-template-columns: repeat(2,1fr);
  }

}

@media(max-width:600px){

  .assaggio-grid,
  .assaggio-showcase{
    grid-template-columns: 1fr;
  }

}
.newmedia-grid {
  grid-template-columns: repeat(6, 1fr);
}

.newmedia-social-section {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 45px;
  margin: 75px 0;
}

.newmedia-social-section h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

.newmedia-social-section h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: #c58d2d;
  margin-top: 8px;
}

.social-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.social-card,
.video-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.social-card img,
.video-card img {
  width: 100%;
  border-radius: 10px;
  display: block;
  margin-bottom: 14px;
}

.social-card h3,
.video-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.social-card p,
.video-card p {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.newmedia-showcase {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 950px) {
  .newmedia-grid,
  .newmedia-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .newmedia-social-section {
    grid-template-columns: 1fr;
  }

  .social-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .newmedia-grid,
  .newmedia-showcase,
  .social-showcase {
    grid-template-columns: 1fr;
  }
}
/* =========================
   PROJECT NAVIGATION
========================= */

.project-navigation{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:120px;
  padding:40px 0;
  border-top:1px solid #e5e5e5;
}

.project-nav{
  text-decoration:none;
  color:#111;
  transition:.3s ease;
}

.project-nav:hover{
  opacity:.6;
}

.nav-label{
  display:block;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:2px;
  color:#888;
  margin-bottom:8px;
}

.project-nav h3{
  font-size:1.8rem;
  font-weight:600;
  margin:0;
}

.project-nav.prev{
  text-align:left;
}

.project-nav.next{
  text-align:right;
}

.project-nav.prev h3::before{
  content:"← ";
}

.project-nav.next h3::after{
  content:" →";
}

@media (max-width:768px){

  .project-navigation{
    flex-direction:column;
    gap:40px;
    text-align:center;
  }

  .project-nav.prev,
  .project-nav.next{
    text-align:center;
  }

  .project-nav h3{
    font-size:1.4rem;
  }

}
.case-image-row{
  display: flex;
  gap: 30px;
  margin: 60px 0;
  justify-content: center;
}

.case-image-row img{
  width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
  transition: transform .3s ease;
}

.case-image-row img:hover{
  transform: translateY(-5px);
}

@media (max-width: 768px){

  .case-image-row{
    flex-direction: column;
    align-items: center;
  }

  .case-image-row img{
    width: 100%;
    max-width: 600px;
    height: auto;
  }

  .screenshot-grid{
    grid-template-columns: 1fr !important;
  }

  .screenshot-grid figure{
    width: 100%;
  }

  .screenshot-grid img{
    width: 100%;
    height: auto;
  }

}
/* =========================
   SHOWCASE HOVER EFFECT
========================= */

.screenshot-grid{
  overflow: visible;
}

.screenshot-grid figure{
  transition: all .25s ease;
  cursor: pointer;
  position: relative;
}

.screenshot-grid:hover figure{
  opacity: .55;
  transform: scale(.92);
}

.screenshot-grid figure:hover{
  opacity: 1;
  transform: scale(2.20) translateY(-25px);
  z-index: 999;
}

.screenshot-grid figure:hover img{
  box-shadow: 0 30px 60px rgba(0,0,0,.30);
}
@media (max-width: 768px){

  .screenshot-grid:hover figure{
    opacity: 1;
    transform: none;
  }

  .screenshot-grid figure:hover{
    opacity: 1;
    transform: none;
  }

  .screenshot-grid figure:hover img{
    box-shadow: none;
  }

}
.screenshot-grid img{
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}