/* ========================================
   Hire 2D Animators — professional-2d-animation-services.html
   ======================================== */
.inner-hero .section-header {
  max-width: 760px;
}

.inner-hero .portfolio-subtitle {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.section-workflow {
  background: var(--bg-white);
}

.process-card-text-only {
  padding-top: 28px;
}

.process-card-text-only .process-card-body {
  padding-top: 8px;
}

.section-industries-list {
  background: var(--bg-light);
}

.industry-name-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.1rem;
  box-shadow: 0 4px 18px rgba(15, 35, 70, 0.04);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.industry-name-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.industry-name-card .industry-chevron {
  color: var(--brand-blue);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.industry-name-card .industry-title {
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  min-width: 0;
}

.section-apart {
  background: var(--bg-white);
}

.section-regions {
  background: var(--bg-light);
}

.page-hire .section-workflow {
  background: #f7f9fc;
}

.page-hire .hse-timeline {
  position: relative;
}

.page-hire .hse-timeline::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.35), transparent);
  z-index: 0;
}

.page-hire .hse-step-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 24px rgba(15, 35, 70, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hire .hse-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.page-hire .hse-step-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-hire .hse-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hire .section-process .hse-step-card .process-step {
  position: absolute;
  top: 14px;
  left: 14px;
  transform: none;
  border-radius: 10px;
  z-index: 2;
}

.page-hire .hse-step-card .process-card-body {
  padding: 1.2rem 1.3rem 1.4rem;
}

.page-hire .hse-step-card .process-card-title {
  font-size: 1.08rem;
}

.page-2d .section-workflow .how-we-work-steps.hse-timeline::before {
  left: 6%;
  right: 6%;
}

.page-2d .section-workflow {
  overflow-x: clip;
}

.page-2d .section-workflow .how-we-work-steps .process-step {
  min-width: 56px;
  padding: 0 16px;
  letter-spacing: 0.04em;
}

.page-2d .section-workflow .how-we-work-steps .process-card-title {
  letter-spacing: -0.02em;
}

.page-2d .section-workflow .how-we-work-steps .hse-step-card {
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .page-2d .section-workflow .how-we-work-steps.hse-timeline::before {
    display: none;
  }
}

.page-hire .section-industries-list {
  background: #fff;
}

.page-hire .industry-name-card {
  border-radius: 14px;
  padding: 1.05rem 1rem;
  background: #f7f9fc;
  border-color: transparent;
}

.page-hire .industry-name-card:hover {
  background: #fff;
  border-color: var(--brand-blue-soft);
}

.page-hire .section-apart {
  background: #f7f9fc;
}

.page-hire .section-regions {
  background: #fff;
  overflow-x: clip;
}

.page-hire .section-cta {
  padding: 20px 0 20px;
  background: #f7f9fc;
}

.page-hire .cta-banner {
  border-radius: 28px;
}

.page-hire .cta-text {
  max-width: 480px;
}

.page-hire .section-testimonials {
  background: #fff;
}

.page-hire .testimonial-card {
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-hire .testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

@media (max-width: 991.98px) {
  .page-hire .hse-timeline::before {
    display: none;
  }
}

/* ---------- Showreel banner ---------- */
.page-2d .showreel-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) 0;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, #d7e8fb 0%, transparent 58%),
    radial-gradient(ellipse 50% 70% at 0% 100%, #edf4fc 0%, transparent 55%),
    #f7fbff;
}

.page-2d .showreel-banner::after {
  content: "";
  position: absolute;
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  top: -18%;
  right: -8%;
  border-radius: 50%;
  border: 28px solid rgba(0, 123, 255, 0.08);
  pointer-events: none;
}

.page-2d .showreel-banner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-2d .showreel-title {
  color: var(--text-dark);
  font-size: clamp(2.05rem, 4.4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0 0 1.15rem;
  max-width: 11ch;
}

.page-2d .showreel-title span {
  color: var(--brand-blue);
  display: inline-block;
}

.page-2d .showreel-text {
  margin: 0;
  max-width: 34rem;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-2d .showreel-frame {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: #fff;
  box-shadow:
    0 24px 50px rgba(16, 36, 63, 0.12),
    0 0 0 1px rgba(16, 36, 63, 0.04);
}

.page-2d .showreel-frame::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 36px;
  top: 18px;
  right: -8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #7eb8ff 0%, var(--brand-blue) 100%);
  transform: rotate(18deg);
  pointer-events: none;
}

.page-2d .showreel-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  background: #0a1d37;
  cursor: pointer;
}

.page-2d .showreel-play {
  position: absolute;
  inset: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 16px;
  background: transparent;
  cursor: pointer;
  appearance: none;
}

.page-2d .showreel-play-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(10, 29, 55, 0.35));
  transition: transform 0.25s ease;
}

.page-2d .showreel-play:hover .showreel-play-icon,
.page-2d .showreel-play:focus-visible .showreel-play-icon {
  transform: scale(1.08);
}

.page-2d .showreel-play:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}

.page-2d .showreel-frame.is-playing .showreel-play,
.page-2d .showreel-frame.is-playing::before {
  display: none;
}

.page-2d .showreel-frame.is-playing .showreel-video {
  cursor: default;
}

@media (max-width: 991.98px) {
  .page-2d .showreel-banner {
    padding: 56px 0 64px;
  }

  .page-2d .showreel-banner-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-2d .showreel-title {
    max-width: none;
  }

  .page-2d .showreel-frame::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .page-2d .showreel-banner {
    padding: 44px 0 52px;
  }

  .page-2d .showreel-frame {
    padding: 8px;
    border-radius: 18px;
  }

  .page-2d .showreel-video,
  .page-2d .showreel-play {
    border-radius: 12px;
  }

  .page-2d .showreel-play {
    inset: 8px;
  }

  .page-2d .showreel-play-icon {
    width: 58px;
    height: 58px;
  }

  .page-2d .showreel-text {
    font-size: 1rem;
  }
}

/* ---------- What We Do ---------- */
.page-2d .section-what-we-do {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 100px) 0;
  background:
    linear-gradient(115deg, transparent 58%, rgba(255, 255, 255, 0.7) 58.2%, rgba(255, 255, 255, 0.7) 100%),
    #f3f8fd;
}

.page-2d .section-what-we-do .container {
  position: relative;
  z-index: 1;
}

.page-2d .wwd-header {
  max-width: 760px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.page-2d .wwd-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: #e7f1ff;
  color: var(--brand-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-2d .wwd-title {
  margin: 0 0 1rem;
  color: var(--text-dark);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.page-2d .wwd-title span {
  color: var(--brand-blue);
}

.page-2d .wwd-intro {
  margin: 0;
  max-width: 640px;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.75;
}

.page-2d .wwd-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.page-2d .wwd-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e6eef6;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 36, 63, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.page-2d .wwd-card:hover,
.page-2d .wwd-card:focus-visible {
  transform: translateY(-6px);
  border-color: #d5e4f4;
  box-shadow: 0 18px 40px rgba(16, 36, 63, 0.12);
  color: inherit;
}

.page-2d .wwd-card:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 3px;
}

.page-2d .wwd-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaf2fb;
}

.page-2d .wwd-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.page-2d .wwd-card:hover .wwd-card-media img {
  transform: scale(1.05);
}

.page-2d .wwd-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.25rem 1.3rem 1.3rem;
}

.page-2d .wwd-card-title {
  margin: 0 0 0.45rem;
  color: var(--text-dark);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.page-2d .wwd-card-text {
  margin: 0 0 1.15rem;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

.page-2d .wwd-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.page-2d .wwd-card-cta {
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.page-2d .wwd-card-arrow {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid #cfe0f3;
  border-radius: 50%;
  background: #f7fbff;
  position: relative;
}

.page-2d .wwd-card-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--brand-blue);
  border-top: 2px solid var(--brand-blue);
  transform: translate(-60%, -50%) rotate(45deg);
}

.page-2d .wwd-card:hover .wwd-card-arrow {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.page-2d .wwd-card:hover .wwd-card-arrow::before {
  border-color: #fff;
}

@media (max-width: 991.98px) {
  .page-2d .wwd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767.98px) {
  .page-2d .section-what-we-do {
    padding: 48px 0 56px;
  }

  .page-2d .wwd-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-2d .wwd-card-body {
    padding: 1.1rem 1.15rem 1.2rem;
  }
}

/* ---------- Why Work With a Professional 2D Animation Studio ---------- */
.page-2d .section-why-studio {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 7vw, 104px) 0;
  background: #f4f8fd;
}

.page-2d .why-studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.page-2d .why-studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-2d .why-studio-badge::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand-blue);
}

.page-2d .why-studio-title {
  margin: 0 0 1rem;
  max-width: 14ch;
  color: var(--text-dark);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.page-2d .why-studio-title span {
  color: var(--brand-blue);
}

.page-2d .why-studio-lead {
  margin: 0 0 0.85rem;
  color: var(--text-dark);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.page-2d .why-studio-text {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.75;
}

.page-2d .why-studio-visual {
  max-width: 560px;
}

.page-2d .why-studio-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.page-2d .why-studio-points {
  display: grid;
  gap: 28px;
}

.page-2d .why-studio-point {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: flex-start;
  padding: 6px 8px 6px 0;
  transition: transform 0.25s ease;
}

.page-2d .why-studio-point:hover {
  transform: translateX(4px);
}

.page-2d .why-studio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e7f1ff;
  color: var(--brand-blue);
  font-size: 1.05rem;
  flex-shrink: 0;
}

.page-2d .why-studio-point-title {
  margin: 0.15rem 0 0.4rem;
  color: var(--text-dark);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.page-2d .why-studio-point-text {
  margin: 0;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .page-2d .why-studio-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .page-2d .why-studio-title {
    max-width: none;
  }

  .page-2d .why-studio-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .page-2d .why-studio-points {
    gap: 22px;
  }
}

/* ---------- Looking to Hire a 2D Animator ---------- */
.page-2d .section-hire-animator {
  padding: 20px 0 40px;
  background: #f7f9fc;
  overflow-x: clip;
}

.page-2d .hire-animator-card .row {
  margin-left: 0;
  margin-right: 0;
}

.page-2d .hire-animator-card [class*="col-"] {
  min-width: 0;
  max-width: 100%;
}

.page-2d .hire-animator-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(0, 123, 255, 0.28) 0%, transparent 52%),
    linear-gradient(135deg, var(--brand-navy) 0%, #0d2a4d 58%, var(--brand-navy-deep) 100%);
  border-radius: 28px;
  box-shadow: 0 16px 48px rgba(10, 29, 55, 0.25);
}

.page-2d .hire-animator-card::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(0, 123, 255, 0.16);
  pointer-events: none;
}

.page-2d .hire-animator-copy {
  position: relative;
  z-index: 2;
  padding: 3.5rem 3rem;
}

.page-2d .hire-animator-title {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-2d .hire-animator-lead {
  margin: 0 0 1rem;
  max-width: 480px;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.page-2d .hire-animator-text {
  margin: 0 0 1rem;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.7;
}

.page-2d .hire-animator-text:last-of-type {
  margin-bottom: 1.75rem;
}

.page-2d .hire-animator-btn {
  display: inline-flex;
  align-items: center;
  box-shadow: 0 10px 24px rgba(0, 123, 255, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color var(--transition), border-color var(--transition);
}

.page-2d .hire-animator-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 123, 255, 0.45);
}

.page-2d .hire-animator-visual {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

.page-2d .hire-animator-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-navy) 0%, transparent 38%);
  z-index: 1;
  pointer-events: none;
}

.page-2d .hire-animator-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.55s ease;
}

.page-2d .hire-animator-card:hover .hire-animator-visual img {
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .page-2d .hire-animator-copy {
    padding: 2.5rem 2rem 1.5rem;
  }

  .page-2d .hire-animator-visual {
    min-height: 260px;
  }

  .page-2d .hire-animator-visual::before {
    background: linear-gradient(180deg, var(--brand-navy) 0%, transparent 42%);
  }

  .page-2d .hire-animator-visual img {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .page-2d .section-hire-animator {
    padding: 12px 0 32px;
  }

  .page-2d .hire-animator-card {
    border-radius: 22px;
  }

  .page-2d .hire-animator-copy {
    padding: 2rem 1.35rem 1.25rem;
  }

  .page-2d .hire-animator-title {
    font-size: 1.65rem;
  }

  .page-2d .hire-animator-lead {
    font-size: 1.04rem;
  }

  .page-2d .hire-animator-btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .page-2d .hire-animator-visual,
  .page-2d .hire-animator-visual img {
    min-height: 220px;
  }
}

@media (max-width: 575.98px) {
  .page-2d .section-why-studio {
    padding: 48px 0 56px;
  }

  .page-2d .why-studio-point {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .page-2d .why-studio-icon {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }

  .page-2d .why-studio-lead {
    font-size: 1.04rem;
  }
}

@media (max-width: 767.98px) {
  .page-2d .hse-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
  }

  .page-2d .hse-hero-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: 210px;
    max-height: 210px;
    object-fit: cover;
    object-position: center 28%;
    z-index: 0;
  }

  .page-2d .hse-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1.5rem 0 1.75rem;
    background: #fff;
  }

  .page-2d .hse-hero-title {
    font-size: clamp(1.6rem, 7vw, 2.05rem);
    line-height: 1.22;
    margin-bottom: 0.85rem;
    color: var(--text-dark);
  }

  .page-2d .hse-hero-text {
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: none;
    color: var(--text-body);
  }

  .page-2d .hse-hero .btn-hero {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 374.98px) {
  .page-2d .hse-hero-img {
    height: 168px;
    max-height: 168px;
  }

  .page-2d .hse-hero-title {
    font-size: 1.5rem;
  }

  .page-2d .hse-hero-content {
    padding: 1.25rem 0 1.5rem;
  }
}
