/* ============================================
   INNER PAGES — Works, About, Case
   ============================================ */

/* --- Text Accent (pink highlight) --- */
.text-accent {
  color: var(--accent-2);
}

/* --- Page Hero --- */
.page-hero {
  padding: 96px 0 32px;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.05;
}

/* ============================================
   WORKS FILTER
   ============================================ */
.works-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.works-filter__btn {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.works-filter__btn:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.works-filter__btn.active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.works-grid__card.filter-hidden {
  display: none;
}

/* ============================================
   WORKS PAGE — Asymmetric Grid
   ============================================ */
.works-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 20px;
}

.works-grid > :nth-child(even) {
  /* alternate: smaller left, bigger right is handled by specific spans */
}

.works-grid__card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text);
}

.works-grid__card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

/* Alternating sizes */
.works-grid__card:nth-child(4n+3) {
  grid-column: 1;
}

.works-grid__card:nth-child(4n+4) {
  grid-column: 2;
}

/* Wide card spans full row sometimes */
.works-grid__card--wide {
  grid-column: 1 / -1;
}

.works-grid__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.works-grid__image .placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.works-grid__card:hover .works-grid__image .placeholder {
  transform: scale(1.05);
}

.works-grid__meta {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.works-grid__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  transition: color var(--transition);
}

.works-grid__card:hover .works-grid__title {
  color: var(--accent);
}

.works-grid__type {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.works-grid__arrow {
  display: inline-block;
  font-size: 16px;
  transition: transform var(--transition);
}

.works-grid__card:hover .works-grid__arrow {
  transform: translateX(6px);
}

.works-grid__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-2);
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 2;
}

.works-page-actions {
  text-align: center;
  margin-top: 48px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-hero__photo {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.about-hero__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-hero__content .about-text {
  max-width: none;
}

.about-hero__name {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
}

.about-hero__role {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  color: var(--text-secondary);
}

.about-text {
  max-width: 720px;
}

.about-text p {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* --- Timeline --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--border);
  transition: background 0.4s ease;
}

.timeline__item {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s ease;
}

.timeline__item:last-child {
  border-bottom: none;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -29px;
  top: 32px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  transition: background 0.4s ease;
}

.timeline__dates {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  margin-bottom: 4px;
}

.timeline__grade {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.timeline__role {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline__company {
  font-size: 14px;
  color: var(--accent-2);
  font-weight: 500;
  margin-bottom: 12px;
}

.timeline__details {
  list-style: disc;
  padding-left: 20px;
}

.timeline__details li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 4px;
  list-style: disc;
}

/* --- Education Degree (higher) --- */
.edu-degree {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 16px;
  transition: var(--transition);
}

.edu-degree:hover {
  border-color: var(--border-hover);
}

.edu-degree__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--tag-bg);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.edu-degree__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}

.edu-degree__program {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.edu-degree__year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
}

/* --- Section Subtitle --- */
.section__subtitle {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
}

/* --- Education Table --- */
.edu-table {
  width: 100%;
  border-collapse: collapse;
}

.edu-table th,
.edu-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s ease;
}

.edu-table th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.edu-table td {
  font-size: 15px;
  color: var(--text);
}

.edu-table td:last-child {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  white-space: nowrap;
  text-align: right;
}

.edu-table th:last-child {
  text-align: right;
}

.edu-table td:nth-child(2) {
  color: var(--text-secondary);
}

.edu-table tbody tr {
  transition: background var(--transition);
}

.edu-table tbody tr:hover {
  background: var(--bg-card);
}

/* --- Courses List --- */
.edu-courses {
  display: flex;
  flex-direction: column;
  margin-bottom: -72px;
}

.edu-course {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s ease;
}

.edu-course:last-child {
  border-bottom: none;
}

.edu-course__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.edu-course__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.edu-course__place {
  font-size: 14px;
  color: var(--text-secondary);
}

.edu-course__year {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-2);
  white-space: nowrap;
}

/* --- Skills Grid --- */
.skills-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.skills-group__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Achievements --- */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.achievement-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.achievement-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.achievement-card__icon {
  margin-bottom: 12px;
  color: var(--accent);
}

.achievement-card__icon svg {
  width: 28px;
  height: 28px;
}

.achievement-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.4;
}

.achievement-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================
   SHOWREEL (full-bleed)
   ============================================ */
.showreel-section {
  width: 100%;
  overflow: hidden;
  margin-top: 72px;
}

.showreel-section--fullscreen {
  position: relative;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showreel-section--fullscreen .showreel-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Fullscreen showreel at 1920px and above */
@media (min-width: 1920px) {
  .showreel-section--fullscreen {
    height: 100vh;
  }

  .showreel-section--fullscreen .showreel-video {
    height: 100%;
    object-fit: cover;
  }
}

.showreel-section .placeholder {
  width: 100%;
  height: auto;
}

.showreel-video {
  width: 100%;
  display: block;
}

/* Showreel loading preview */
.showreel-loader {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--bg);
  transition: opacity 0.6s ease;
}

.showreel-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.showreel-loader__icon {
  width: 64px;
  height: auto;
  animation: showreelSpin 2s linear infinite;
}

.showreel-loader__text {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

@keyframes showreelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* "Смотреть кейсы" button */
.showreel-cta {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 16px 36px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-sans);
  color: #fff;
  background: transparent;
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease, border-color 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.showreel-cta.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.showreel-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.showreel-nav {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  display: flex;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  z-index: 10;
  pointer-events: none;
}

.showreel-nav.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.showreel-nav__link {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  letter-spacing: 0.02em;
}

.showreel-nav__link:hover,
.showreel-nav__link.active {
  color: #fff;
}

/* Header on works page — transparent over showreel, solid after scroll */
.header--hidden-initial {
  transform: translateY(-100%);
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.header--hidden-initial.header--visible {
  transform: translateY(0);
  background: var(--header-bg);
  border-bottom-color: var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

/* ============================================
   CASE BLOCKS (works page)
   ============================================ */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.case-block {
  border-bottom: 1px solid var(--border);
  padding-bottom: 48px;
  transition: border-color 0.4s ease;
}

.case-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.case-block--hidden {
  display: none;
}

.case-block--hidden.case-block--visible {
  display: block;
}

.case-block__header {
  margin-bottom: 24px;
}

.case-block__header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
}

.case-block__header-row > div:first-child {
  max-width: 600px;
}

.case-block__client {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.case-block__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}

.case-block__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.case-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-block__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

/* --- Carousel --- */
.carousel {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.carousel__track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel__track > * {
  flex: 0 0 42%;
  aspect-ratio: 16/9;
  margin-right: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.carousel__track > img,
.carousel__track > video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  opacity: 0.85;
}

.carousel__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  opacity: 1;
}

.carousel__btn--prev {
  left: 12px;
}

.carousel__btn--next {
  right: 12px;
}

.carousel__counter {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}

.case-block.filter-hidden {
  display: none;
}

/* ============================================
   CASE PAGE
   ============================================ */
.case-hero__image {
  width: 100%;
  aspect-ratio: 2/1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.case-hero__image .placeholder {
  font-size: 96px;
}

.case-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 8px;
}

.case-hero__year {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}

/* --- Case Summary --- */
.case-summary {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.4s ease;
}

.case-summary__task-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.case-summary__task-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-meta__item-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-meta__item-value {
  font-size: 15px;
  color: var(--text);
}

.case-meta__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* --- Case Content --- */
.case-content {
  padding: 32px 0;
}

.case-content__image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.case-content__image .placeholder {
  aspect-ratio: 16/9;
}

.case-content__image--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.case-content__image--duo .placeholder {
  border-radius: var(--radius);
  aspect-ratio: 16/9;
}

.case-content__text {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Case Results --- */
.case-results {
  padding: 24px 0;
}

.case-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.case-results__item {
  text-align: center;
}

.case-results__number {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 4px;
}

.case-results__label {
  font-size: 14px;
  color: var(--text-secondary);
}

/* --- Case Navigation --- */
.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.4s ease;
}

.case-nav__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.case-nav__link:hover {
  color: var(--accent);
}

/* Reduce section gaps on case pages */
.page-hero + .section {
  padding: 0 0 32px;
}

.case-content + .section {
  padding: 0;
}

.case-results + .section {
  padding: 0;
}

.footer-contact {
  padding-top: 48px;
}

/* ============================================
   INNER PAGES RESPONSIVE
   ============================================ */
@media (max-width: 1440px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-hero__photo {
    width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .page-hero {
    padding: 72px 0 24px;
  }

  .showreel-section--fullscreen {
    height: auto;
  }

  .showreel-section--fullscreen .showreel-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

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

  .works-grid__card:nth-child(4n+3),
  .works-grid__card:nth-child(4n+4) {
    grid-column: auto;
  }

  .case-summary {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-hero__image {
    margin-bottom: 24px;
  }

  .case-content {
    padding: 24px 0;
  }

  .case-content__image {
    margin-bottom: 24px;
  }

  .case-content__image--duo {
    margin-bottom: 24px;
  }

  .case-content__text {
    margin-bottom: 24px;
  }

  .case-summary {
    padding: 24px 0;
    gap: 24px;
  }

  .case-nav {
    padding: 24px 0;
  }

  .page-hero + .section {
    padding: 0;
  }

  .case-content + .section {
    padding: 0;
  }

  .case-results + .section {
    padding: 0;
  }

  .footer-contact {
    padding-top: 40px;
  }

  .skills-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .header--hidden-initial {
    transform: translateY(0);
    background: var(--header-bg);
    border-bottom-color: var(--border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }

  .showreel-cta {
    display: none;
  }

  .showreel-nav {
    display: none;
  }

  .showreel-section--fullscreen {
    margin-top: 72px;
    height: auto;
  }

  .page-hero {
    padding: 72px 0 24px;
  }

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

  .works-grid__card--wide {
    grid-column: auto;
  }

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

  .about-hero__photo {
    width: 100%;
    margin: 0;
  }

  .edu-table th:last-child,
  .edu-table td:last-child {
    display: none;
  }

  .carousel__track > * {
    flex: 0 0 85%;
    margin-right: 8px;
  }

  .carousel__btn {
    display: none;
  }

  .case-block__header {
    max-width: none;
  }

  .case-block__header-row {
    flex-direction: column;
    gap: 8px;
  }

  .case-block__client {
    display: none;
  }

  .case-block__gallery {
    grid-template-columns: 1fr;
  }

  .case-block__title {
    font-size: 22px;
  }

  .case-block__tags {
    display: none;
  }

  .case-block__footer {
    justify-content: center;
  }

  .showreel-section--fullscreen {
    height: auto;
  }

  .showreel-section--fullscreen .showreel-video {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
  }

  .case-content__image--duo {
    grid-template-columns: 1fr;
  }

  .case-results__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-hero__image {
    margin-bottom: 24px;
  }

  .case-content {
    padding: 24px 0;
  }

  .case-content__image {
    margin-bottom: 24px;
  }

  .case-content__image--duo {
    margin-bottom: 24px;
  }

  .case-content__text {
    margin-bottom: 24px;
  }

  .case-summary {
    padding: 24px 0;
    gap: 24px;
  }

  .page-hero + .section {
    padding: 0;
  }

  .case-content + .section {
    padding: 0;
  }

  .case-results + .section {
    padding: 0;
  }

  .footer-contact {
    padding-top: 40px;
  }

  .case-nav {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 0;
  }
}
