/* ══════════════════════════════════════
   AURA AESTHETIC — Cases Page
   Mobile-first → Desktop @1024px
   ══════════════════════════════════════ */


/* ══════════════════════════════════
   PAGE HERO
   ══════════════════════════════════ */
.cases-hero {
  background: var(--c-bg-dark);
}

.cases-hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  padding: 0 24px 20px;
  gap: 10px;
}

.cases-hero__title {
  font-family: var(--ff-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--c-white);
}

.cases-hero__desc {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
}

.cases-hero__desc--desktop {
  display: none;
}

@media (min-width: 1024px) {
  .cases-hero__inner {
    min-height: 320px;
    padding: 0 64px 32px;
    gap: 12px;
  }

  .cases-hero__title {
    font-size: 56px;
  }

  .cases-hero__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.47);
  }

  .cases-hero__desc--desktop {
    display: block;
  }

  .cases-hero__desc--mobile {
    display: none;
  }
}


/* ══════════════════════════════════
   FEATURED CASE CARD
   ══════════════════════════════════ */

/* Backgrounds */
.case--cream { background: var(--c-bg-warm); }
.case--white { background: var(--c-white); }

/* ── Mobile: vertical stack ── */

/* Images row: side by side, 2px gap */
.case__images {
  display: flex;
  gap: 2px;
  height: 240px;
}

.case__img-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.case__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Before / After pills */
.case__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: 9px;
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: 2px;
}

.case__label--before {
  background: rgba(26, 26, 26, 0.8);
}

.case__label--after {
  background: rgba(196, 150, 122, 0.8);
}

/* Content body */
.case__content {
  padding: 20px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case__tag {
  font-family: var(--ff-body);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--c-accent);
  text-transform: uppercase;
}

.case__name {
  font-family: var(--ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
}

.case__quote {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 300;
  font-style: italic;
  color: var(--c-text-secondary);
  line-height: 1.7;
}

.case__quote--desktop {
  display: none;
}

/* Details row: hidden on mobile */
.case__details {
  display: none;
}

/* ── Desktop: horizontal layout ── */
@media (min-width: 1024px) {
  .case {
    display: flex;
    height: 520px;
  }

  /* Images side by side, each 420px */
  .case__images {
    display: flex;
    gap: 0;
    height: 100%;
    flex-shrink: 0;
  }

  .case__img-wrap {
    width: 420px;
    flex: none;
  }

  .case__label {
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    font-size: 10px;
  }

  /* Content takes remaining space */
  .case__content {
    flex: 1;
    padding: 48px;
    justify-content: center;
    gap: 16px;
  }

  .case__tag {
    font-size: 10px;
    letter-spacing: 4px;
  }

  .case__name {
    font-size: 28px;
  }

  .case__quote {
    font-size: 14px;
    line-height: 1.8;
  }

  .case__quote--desktop {
    display: block;
  }

  .case__quote--mobile {
    display: none;
  }

  /* Details visible on desktop */
  .case__details {
    display: flex;
    gap: 24px;
    margin-top: 4px;
  }

  .case__detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .case__detail-label {
    font-family: var(--ff-body);
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(75, 85, 99, 0.4);
    text-transform: uppercase;
  }

  .case__detail-value {
    font-family: var(--ff-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text);
  }

  /* Reversed layout: text LEFT, images RIGHT */
  .case--reversed {
    flex-direction: row-reverse;
  }
}


/* ══════════════════════════════════
   GALLERY SECTION
   ══════════════════════════════════ */
.gallery {
  background: var(--c-bg-warm);
  padding: 48px 0;
}

.gallery__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.gallery__title {
  font-family: var(--ff-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-text);
}

/* Filter tabs */
.gallery__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.gallery__tab {
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--ff-body);
  font-size: 10px;
  color: var(--c-text-secondary);
  background: none;
  border: 1px solid rgba(26, 26, 26, 0.13);
  cursor: pointer;
  transition: all var(--t-fast);
}

.gallery__tab--active {
  background: var(--c-text);
  color: var(--c-white);
  border-color: var(--c-text);
  font-weight: 500;
}

/* Card grid: 2 columns mobile */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Card */
.gallery__card {
  background: var(--c-white);
  border-radius: 12px;
  overflow: hidden;
}

.gallery__card-imgs {
  display: flex;
  height: 160px;
}

.gallery__card-img {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.gallery__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__card-img .case__label {
  top: 6px;
  left: 6px;
  padding: 3px 8px;
  font-size: 8px;
}

.gallery__card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
}

.gallery__card-name {
  font-family: var(--ff-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--c-text);
}

.gallery__card-tag {
  font-family: var(--ff-body);
  font-size: 9px;
  color: var(--c-accent);
  background: rgba(196, 150, 122, 0.1);
  padding: 3px 8px;
  border-radius: 100px;
}

/* Load more button */
.gallery__more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.gallery__more-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: none;
  font-family: var(--ff-body);
  font-size: 12px;
  color: var(--c-text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.gallery__more-btn:hover {
  border-color: var(--c-text);
  color: var(--c-text);
}

@media (min-width: 1024px) {
  .gallery {
    padding: 80px 0;
  }

  .gallery__header {
    gap: 14px;
    margin-bottom: 24px;
  }

  .gallery__title {
    font-size: 48px;
  }

  .gallery__tabs {
    gap: 12px;
    margin-bottom: 40px;
  }

  .gallery__tab {
    padding: 10px 24px;
    font-size: 12px;
  }

  /* 3 columns desktop */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .gallery__card {
    border-radius: 16px;
  }

  .gallery__card-imgs {
    height: 260px;
  }

  .gallery__card-img .case__label {
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 9px;
  }

  .gallery__card-info {
    padding: 14px 16px;
  }

  .gallery__card-name {
    font-size: 13px;
  }

  .gallery__card-tag {
    font-size: 10px;
    padding: 4px 12px;
  }

  .gallery__more {
    margin-top: 40px;
  }

  .gallery__more-btn {
    padding: 12px 32px;
    font-size: 13px;
  }
}


/* ══════════════════════════════════
   CTA
   ══════════════════════════════════ */
.cases-cta {
  background: var(--c-bg-dark);
}

.cases-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 14px;
}

.cases-cta__title {
  font-family: var(--ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-white);
}

.cases-cta__desc {
  display: none;
}

.cases-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--c-accent);
  border-radius: var(--r-pill);
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-white);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
}

.cases-cta__btn:active {
  transform: scale(0.97);
}

.cases-cta__btn span {
  font-size: 16px;
}

@media (min-width: 1024px) {
  .cases-cta__inner {
    padding: 80px 64px;
    gap: 20px;
  }

  .cases-cta__title {
    font-size: 36px;
  }

  .cases-cta__desc {
    display: block;
    font-family: var(--ff-body);
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.4);
  }

  .cases-cta__btn {
    margin-top: 8px;
    padding: 16px 40px;
    font-size: 14px;
    gap: 10px;
  }

  .cases-cta__btn span {
    font-size: 18px;
  }

  .cases-cta__btn:hover {
    background: #b88568;
    transform: translateY(-1px);
  }
}
