:root {
  --lime: #c9d719;
  --lime-dark: #a5b20e;
  --ink: #121212;
  --muted: #696969;
  --line: #e8e8e8;
  --paper: #ffffff;
  --soft: #f7f8f2;
  --blue: #55b4e2;
  --red: #ef2a2e;
  --radius: 28px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .12);
  --shadow-soft: 0 12px 40px rgba(0, 0, 0, .08);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 86px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.brand img {
  width: 178px;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2vw, 34px);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width .25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  justify-self: end;
}

.btn,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  border: 1px solid transparent;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(201, 215, 25, .25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(201, 215, 25, .32);
}

.btn.ghost,
.btn.outline {
  background: transparent;
  border-color: var(--ink);
  box-shadow: none;
}

.btn.dark {
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 28px rgba(0, 0, 0, .25);
}

.btn.primary {
  background: var(--lime);
}

.menu-toggle {
  display: none;
}

.section {
  padding: clamp(72px, 8vw, 124px) clamp(20px, 5vw, 72px);
}

.hero {
  min-height: calc(100svh - 86px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-top: clamp(40px, 5vw, 76px);
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  z-index: -1;
}

.hero::before {
  width: 45vw;
  height: 45vw;
  right: -16vw;
  top: 10vw;
  background: radial-gradient(circle, rgba(201, 215, 25, .35), rgba(201, 215, 25, 0) 65%);
}

.hero::after {
  width: 42vw;
  height: 42vw;
  left: -22vw;
  bottom: -18vw;
  border: 2px solid rgba(201, 215, 25, .35);
}

.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
  color: var(--lime-dark);
  margin: 0 0 14px;
  font-size: 13px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  line-height: .98;
  letter-spacing: -.06em;
  text-transform: uppercase;
  font-size: clamp(52px, 9vw, 126px);
}

.hero h1 span {
  color: var(--lime-dark);
}

.hero h1::after,
.section-kicker::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 22px;
  background: var(--lime);
  border-radius: 999px;
}

.hero-text {
  max-width: 540px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 22px);
  margin: 28px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-art {
  position: relative;
}

.hero-art img {
  width: 100%;
  border-radius: 36px;
  box-shadow: var(--shadow);
  aspect-ratio: 1.12/1;
  object-fit: cover;
  object-position: center top;
}

.floating-card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(360px, calc(100% - 44px));
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.floating-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

.floating-card span {
  color: var(--muted);
  font-size: 14px;
}

.trust-strip {
  width: min(1180px, calc(100% - 40px));
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
  overflow: hidden;
}

.trust-strip article {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.trust-strip article:last-child {
  border-right: 0;
}

.icon {
  display: inline-flex;
  font-size: 38px;
  line-height: 1;
  color: var(--lime-dark);
  margin-bottom: 18px;
}

.trust-strip h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.about {
  display: grid;
  grid-template-columns: .85fr 1fr .9fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

h2 {
  margin: 0 0 20px;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-size: clamp(34px, 4.8vw, 72px);
}

.section-copy p:not(.section-kicker),
.section-heading p:not(.section-kicker) {
  color: var(--muted);
}

.section-copy .btn {
  margin-top: 18px;
}

.about-image {
  isolation: isolate;
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 8% -4% -7% 8%;
  background: var(--lime);
  border-radius: 40% 60% 55% 45% / 55% 45% 55% 45%;
  z-index: -1;
  opacity: .78;
}

.about-image img {
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1.1/1;
  object-fit: cover;
}

.mission-card {
  display: grid;
  gap: 22px;
}

.mission-card article {
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: var(--soft);
}

.bubble {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.mission-card h3,
.service-cards h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.mission-card p,
.service-cards p {
  margin: 0;
  color: var(--muted);
}

.services-grid {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.section-heading {
  max-width: 850px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading.centered .section-kicker::after {
  margin-inline: auto;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.service-cards article {
  background: white;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 26px;
  padding: 30px;
  min-height: 220px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .04);
}

.service-cards article::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--lime);
  margin-bottom: 24px;
}

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px auto 40px;
}

.portfolio-filter button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
}

.portfolio-filter button.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.portfolio-filter::-webkit-scrollbar {
  display: none;
}

.portfolio-filter {
  scrollbar-width: none;
}

.clients {
  background: var(--ink);
  color: #c9d719;
}

.clients .section-heading p {
  color: var(--lime);
}

.client-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.client-pill-row span {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 12px 18px;
  color: white;
  font-weight: 800;
}

.cta {
  margin: clamp(72px, 9vw, 128px) clamp(20px, 5vw, 72px);
  border-radius: 40px;
  background: var(--lime) url('assets/lime-abstract-bg.jpg') center/cover;
  display: grid;
  grid-template-columns: 1.1fr .65fr;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(34px, 6vw, 76px);
  overflow: hidden;
}

.cta h2 {
  max-width: 760px;
}

.cta .section-kicker {
  color: var(--ink);
}

.cta .section-kicker::after {
  background: var(--ink);
}

.contact-card {
  align-self: center;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin: 0 0 18px;
  font-size: 28px;
}

.contact-card p {
  color: var(--muted);
}

.contact-card a {
  font-weight: 800;
  color: var(--ink);
}

.site-footer {
  background: #0c0c0c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
}

.site-footer img {
  max-width: 150px;
  background: white;
  border-radius: 12px;
  padding: 8px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: .12s;
}

.delay-2 {
  transition-delay: .22s;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 190px 1fr auto;
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .about {
    grid-template-columns: 1fr 1fr;
  }

  .mission-card {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 76px;
  }

  .brand img {
    width: 150px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 0;
    background: var(--ink);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: white;
    transition: .25s ease;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  main {
    overflow: hidden;
  }

  .main-nav {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: grid;
    gap: 0;
    padding: 14px;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: .2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .main-nav a:hover {
    background: var(--soft);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .hero-art {
    order: -1;
  }

  .hero-art img {
    aspect-ratio: 1.06/1;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 82px);
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .trust-strip article:nth-child(2) {
    border-right: 0;
  }

  .trust-strip article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .about {
    grid-template-columns: 1fr;
  }

  .mission-card {
    grid-template-columns: 1fr;
  }

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

  .cta {
    grid-template-columns: 1fr;
    margin-inline: 20px;
    border-radius: 30px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .section {
    padding-inline: 18px;
  }

  .hero {
    min-height: auto;
    gap: 28px;
  }

  .hero-art img {
    aspect-ratio: 4/3;
  }

  .floating-card {
    position: static;
    margin-top: -32px;
    margin-inline: 16px;
    width: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-strip {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px;
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  .service-cards,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .work-card img {
    min-height: 360px;
  }

  .portfolio-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .portfolio-filter button {
    white-space: nowrap;
  }

  .cta {
    padding: 28px;
  }

  .contact-card {
    padding: 24px;
  }
}

/* VIDEO CAROUSEL */
.video-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 50px;
}

.video-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0;
}

.video-track::-webkit-scrollbar {
  display: none;
}

.video-item {
  min-width: 420px;
  flex-shrink: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  background: #000;
}

.video-item iframe {
  width: 100%;
  height: 240px;
  border: 0;
}

.video-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
  transition: .2s ease;
}

.video-btn:hover {
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .video-item {
    min-width: 90%;
  }

  .video-item iframe {
    height: 220px;
  }

  .video-btn {
    display: none;
  }
}

/* ==========================================================================
   VIDEO CAROUSEL - DESKTOP BASE (Diatas 860px)
   ========================================================================== */
.video-carousel {
  margin: 50px auto 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.video-wrapper {
  width: 100%;
  max-width: 950px;
  position: relative;
}

.video-slide {
  display: none;
  align-items: center;
  gap: 30px;
  background: white;
  border-radius: 26px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity .4s ease;
}

.video-slide.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  position: relative;
}

.video-slide iframe {
  width: 55%;
  height: 320px;
  border: 0;
  border-radius: 18px;
  flex-shrink: 0;
  display: block;
}

.video-desc {
  flex: 1;
}

.video-desc span {
  color: var(--lime-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.video-desc h3 {
  margin: 10px 0;
  font-size: 28px;
  line-height: 1.2;
}

.video-desc p {
  color: var(--muted);
  margin: 0;
}

.video-nav {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 22px;
  cursor: pointer;
  flex-shrink: 0;
  transition: .2s ease;
}

.video-nav:hover {
  transform: scale(1.08);
}


/* ==========================================================================
   VIDEO CAROUSEL - MOBILE RESPONSIVE (Maksimal 860px)
   ========================================================================== */
@media (max-width: 860px) {

  .video-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 32px auto 56px;
    gap: 0;
    width: 100%;
  }

  .video-wrapper {
    width: 100%;
    position: relative;
    overflow: visible;
  }

  /* Memperbaiki bug tampilan hilang dengan memaksa display flex & position relative */
  .video-slide {
    display: none;
    position: absolute;
    inset: 0;
    width: 100%;
    padding: 16px;
    gap: 18px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    background: white;
  }

  /* Saat slide aktif, paksa susunan vertikal (column) agar tidak turun berantakan */
  .video-slide.active {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    visibility: visible;
    opacity: 1;
    height: auto;
  }

  /* Mengunci rasio video 16:9 agar stabil saat dimuat dan diputar */
  .video-slide iframe {
    display: block;
    width: 100%;

    /* Mengubah aspect-ratio menjadi sedikit lebih tinggi (4/3 atau 16/10) 
       khusus mobile agar pemutar Google Drive memiliki ruang yang cukup */
    aspect-ratio: 16 / 10;

    border: 0;
    border-radius: 16px;
    background: #000;
    align-self: center;
    flex-shrink: 0;
  }

  .video-desc {
    width: 100%;
    flex: none;
  }

  .video-desc span {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .08em;
    margin-bottom: 6px;
  }

  .video-desc h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
  }

  .video-desc p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
  }

  /* Cari bagian .video-nav di dalam @media (max-width: 860px) lalu ganti dengan ini: */
  .video-nav {
    position: absolute;
    z-index: 10;

    /* Menghitung posisi tengah vertikal khusus untuk area video */
    top: calc(50% - 24px);
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 0;

    font-size: 18px;
    color: #fff;

    cursor: pointer;

    background: rgba(0, 0, 0, .65);
    backdrop-filter: blur(8px);

    transition:
      transform .2s ease,
      background .2s ease;
  }

  .video-nav:hover {
    transform: translateY(-50%) scale(1.06);
    background: rgba(0, 0, 0, .85);
  }

  /* Menggeser panah agak masuk ke dalam kotak putih agar tidak terlalu mepet layar */
  .video-nav.prev {
    left: 24px;
  }

  .video-nav.next {
    right: 24px;
  }
}

/* =========================
   WORK GRID
========================= */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* =========================
   CARD
========================= */
.work-card {
  border-radius: 24px;
  overflow: hidden;

  background: #fff;

  box-shadow: 0 10px 30px rgba(0,0,0,.07);

  transition:
    transform .25s ease,
    box-shadow .25s ease;

  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card.is-hidden {
  display: none;
}

/* =========================
   SLIDER
========================= */
.work-slider {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
}

/* EACH SLIDE */
.slide-image {
  position: absolute;
  inset: 0;
  z-index: 1;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .4s ease,
    visibility .4s ease;
}

.slide-image.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* IMAGE */
.slide-image img {
  width: 100%;
  height: 100%;

  display: block;
  object-fit: cover;

  transition: transform .45s ease;
}

.work-card:hover .slide-image.active img {
  transform: scale(1.05);
}

/* =========================
   OVERLAY DESCRIPTION
========================= */
.slide-overlay {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  padding: 22px;

  min-height: 34%;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  background:
    linear-gradient(
      to top,
      rgba(0,0,0,.88) 0%,
      rgba(0,0,0,.42) 58%,
      transparent 100%
    );

  color: white;

  opacity: 0;
  transform: translateY(12px);

  transition:
    opacity .3s ease,
    transform .3s ease;

  z-index: 3;
}

.slide-image:hover .slide-overlay {
  opacity: 1;
  transform: translateY(0);
}

.slide-image:hover .slide-overlay {
  opacity: 1;
  transform: translateY(0);
}

.slide-overlay h4 {
  margin: 0 0 6px;

  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}

.slide-overlay p {
  margin: 0;

  font-size: 14px;
  line-height: 1.5;

  opacity: .92;
}

/* =========================
   ARROW BUTTON
========================= */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;

  border: 0;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);

  color: white;
  font-size: 18px;

  cursor: pointer;
  z-index: 10;

  transition:
    background .2s ease,
    transform .2s ease,
    opacity .2s ease;
}

.slide-btn:hover {
  background: rgba(0,0,0,.78);
  transform: translateY(-50%) scale(1.08);
}

.slide-btn.prev {
  left: 12px;
}

.slide-btn.next {
  right: 12px;
}

/* =========================
   CARD INFO
========================= */
.card-info {
  position: relative;

  padding: 20px 22px 24px;

  background: #fff;

  z-index: 5;
}

.card-info span {
  display: inline-block;

  color: var(--lime-dark);

  font-size: 12px;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: .08em;

  margin-bottom: 6px;
}

.card-info h3 {
  margin: 0;

  font-size: 22px;
  line-height: 1.25;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1120px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 560px) {

  .work-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .work-card {
    border-radius: 20px;
  }

  .work-slider {
    aspect-ratio: 4 / 4.5;
  }

  .slide-overlay {
    min-height: 38%;
    padding: 18px;
  }

  .slide-overlay h4 {
    font-size: 18px;
  }

  .slide-overlay p {
    font-size: 13px;
  }

  .slide-btn {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .slide-btn.prev {
    left: 10px;
  }

  .slide-btn.next {
    right: 10px;
  }

  .card-info {
    left: 12px;
    right: 12px;
    bottom: 12px;

    padding: 14px 16px;
    border-radius: 18px;
  }

  .card-info h3 {
    font-size: 17px;
  }
}