/* PropertysDeal — Careers page (redesign) */

:root {
  --cr-orange: #eb8944;
  --cr-orange-dark: #d97732;
  --cr-teal: #1e5f7a;
  --cr-teal-dark: #164a61;
  --cr-text: #1a2b3c;
  --cr-muted: #5c6b7a;
  --cr-light: #f0f4f8;
  --cr-radius: 16px;
  --cr-radius-lg: 24px;
  --cr-shadow: 0 12px 40px rgba(26, 43, 60, 0.1);
  --cr-shadow-sm: 0 4px 20px rgba(26, 43, 60, 0.06);
}

.careers-page {
  font-family: 'Inter', sans-serif;
  color: var(--cr-text);
  background: #fff;
  overflow-x: hidden;
}

/* Buttons */
.cr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.cr-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.cr-btn--primary {
  background: #0d6efd;
  color: #fff;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.cr-btn--primary:hover {
  background: #0b5ed7;
  color: #fff;
  box-shadow: 0 8px 26px rgba(13, 110, 253, 0.45);
}

.cr-btn--ghost {
  background: #fff;
  color: var(--cr-teal);
  border: 2px solid rgba(30, 95, 122, 0.2);
}

.cr-btn--ghost:hover {
  border-color: var(--cr-teal);
  color: var(--cr-teal);
  background: rgba(30, 95, 122, 0.05);
}

.cr-btn--outline-dark {
  background: transparent;
  color: var(--cr-text);
  border: 2px solid #e2e8f0;
}

.cr-btn--outline-dark:hover {
  border-color: var(--cr-teal);
  color: var(--cr-teal);
}

.cr-btn--white {
  background: #fff;
  color: var(--cr-teal);
}

.cr-btn--white:hover {
  color: var(--cr-teal-dark);
}

.cr-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.cr-btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cr-btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.cr-btn--lg {
  padding: 0.95rem 1.5rem;
  font-size: 1rem;
}

/* Hero */
.cr-hero {
  position: relative;
  padding: 1.5rem 0 4rem;
  background: linear-gradient(165deg, #f8fafc 0%, #eef4f8 45%, #fff5ee 100%);
  min-height: 520px;
}

.cr-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cr-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.cr-hero__orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(30, 95, 122, 0.12);
  top: -120px;
  right: -80px;
}

.cr-hero__orb--2 {
  width: 320px;
  height: 320px;
  background: rgba(235, 137, 68, 0.18);
  bottom: -80px;
  left: -60px;
}

.cr-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 95, 122, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 95, 122, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.cr-hero__container {
  position: relative;
  z-index: 1;
}

.cr-breadcrumb .breadcrumb-item a {
  color: var(--cr-muted);
  font-size: 0.875rem;
  text-decoration: none;
}

.cr-breadcrumb .breadcrumb-item a:hover {
  color: var(--cr-teal);
}

.cr-breadcrumb .breadcrumb-item.active {
  color: #9ca3af;
  font-size: 0.875rem;
}

.cr-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem 0.4rem 0.65rem;
  background: #fff;
  border: 1px solid rgba(30, 95, 122, 0.12);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cr-teal);
  box-shadow: var(--cr-shadow-sm);
  margin-bottom: 1.25rem;
}

.cr-status-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  animation: cr-pulse 2s ease infinite;
}

@keyframes cr-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.15);
  }
}

.cr-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--cr-text);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cr-hero__highlight {
  background: linear-gradient(135deg, var(--cr-teal) 0%, var(--cr-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cr-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--cr-muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.cr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual */
.cr-hero-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-hero-visual__main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: var(--cr-radius-lg);
  box-shadow: var(--cr-shadow);
  border: 1px solid rgba(30, 95, 122, 0.08);
  text-align: center;
}

.cr-hero-visual__logo {
  margin-bottom: 1rem;
}

.cr-hero-visual__tagline {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cr-orange);
  margin-bottom: 1.25rem;
}

.cr-hero-visual__chips {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cr-hero-visual__chips span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cr-muted);
  padding: 0.5rem 0.75rem;
  background: var(--cr-light);
  border-radius: 10px;
}

.cr-hero-visual__chips i {
  color: var(--cr-orange);
  width: 1rem;
}

.cr-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(26, 43, 60, 0.12);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cr-text);
  border: 1px solid rgba(30, 95, 122, 0.08);
  z-index: 3;
  animation: cr-float 5s ease-in-out infinite;
}

.cr-float-card i {
  color: var(--cr-teal);
}

.cr-float-card--1 {
  top: 8%;
  left: 0;
  animation-delay: 0s;
}

.cr-float-card--2 {
  top: 42%;
  right: -4%;
  animation-delay: 1.2s;
}

.cr-float-card--3 {
  bottom: 10%;
  left: 8%;
  animation-delay: 2.4s;
}

@keyframes cr-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Stats */
.cr-stats {
  margin-top: -2.5rem;
  position: relative;
  z-index: 5;
  padding-bottom: 3rem;
}

.cr-stats .container {
  background: linear-gradient(135deg, var(--cr-teal) 0%, var(--cr-teal-dark) 100%);
  border-radius: var(--cr-radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--cr-shadow);
}

.cr-stats__item {
  padding: 0.5rem;
  color: #fff;
}

.cr-stats__item strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.cr-stats__item span {
  font-size: 0.8125rem;
  opacity: 0.88;
  font-weight: 500;
}

@media (min-width: 768px) {
  .cr-stats__item {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .cr-stats .col-md-3:last-child .cr-stats__item {
    border-right: none;
  }
}

/* Section head */
.cr-section {
  padding: 4rem 0;
}

.cr-section--soft {
  background: var(--cr-light);
}

.cr-section-head {
  margin-bottom: 2.5rem;
  max-width: 36rem;
}

.cr-section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cr-section-head__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cr-orange);
  margin-bottom: 0.5rem;
}

.cr-section-head__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--cr-text);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.cr-section-head__desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cr-muted);
  margin-bottom: 0;
}

/* Bento grid */
.cr-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.cr-bento__card {
  grid-column: span 12;
  padding: 1.75rem;
  border-radius: var(--cr-radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cr-bento__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cr-shadow);
}

.cr-bento__card--large {
  grid-column: span 12;
}

@media (min-width: 768px) {
  .cr-bento__card {
    grid-column: span 4;
  }

  .cr-bento__card--large {
    grid-column: span 6;
  }
}

.cr-bento__card--teal {
  background: linear-gradient(145deg, var(--cr-teal) 0%, #2a7a9a 100%);
  color: #fff;
}

.cr-bento__card--orange {
  background: linear-gradient(145deg, var(--cr-orange) 0%, #f5a04a 100%);
  color: #fff;
}

.cr-bento__card--light {
  background: #fff;
  border: 1px solid #e8edf2;
  color: var(--cr-text);
}

.cr-bento__card--gradient {
  background: linear-gradient(135deg, #1a3d4f 0%, var(--cr-teal) 50%, var(--cr-orange) 100%);
  color: #fff;
}

.cr-bento__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.cr-bento__card--light .cr-bento__icon {
  background: rgba(235, 137, 68, 0.15);
  color: var(--cr-orange);
}

.cr-bento__card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cr-bento__card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.92;
}

.cr-bento__card--light p {
  color: var(--cr-muted);
  opacity: 1;
}

/* Value cards */
.cr-value-card {
  background: #fff;
  border-radius: var(--cr-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  border: 1px solid #e8edf2;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cr-value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cr-shadow-sm);
  border-color: rgba(30, 95, 122, 0.2);
}

.cr-value-card__num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(30, 95, 122, 0.06);
  line-height: 1;
}

.cr-value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(235, 137, 68, 0.12);
  color: var(--cr-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.cr-value-card__icon--teal {
  background: rgba(30, 95, 122, 0.1);
  color: var(--cr-teal);
}

.cr-value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--cr-text);
}

.cr-value-card p {
  font-size: 0.875rem;
  color: var(--cr-muted);
  line-height: 1.55;
  margin: 0;
}

/* Timeline */
.cr-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cr-timeline li {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  position: relative;
}

.cr-timeline li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cr-orange), rgba(235, 137, 68, 0.2));
}

.cr-timeline__step {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cr-orange), #f5a04a);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-timeline li strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--cr-text);
  margin-bottom: 0.15rem;
}

.cr-timeline li span {
  font-size: 0.8125rem;
  color: var(--cr-muted);
}

/* No jobs card */
.cr-no-jobs {
  height: 100%;
  min-height: 320px;
  padding: 2.5rem 2rem;
  background: linear-gradient(160deg, #fff 0%, #f8fafb 100%);
  border-radius: var(--cr-radius-lg);
  border: 1px solid #e8edf2;
  box-shadow: var(--cr-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.cr-no-jobs::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(235, 137, 68, 0.08);
}

.cr-no-jobs__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.cr-no-jobs__title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--cr-text);
  margin-bottom: 0.75rem;
  position: relative;
}

.cr-no-jobs__text {
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--cr-muted);
  margin-bottom: 1.5rem;
  max-width: 28rem;
  position: relative;
}

.cr-no-jobs__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
}

/* Team cards */
.cr-team-card {
  background: #fff;
  border-radius: var(--cr-radius);
  overflow: hidden;
  border: 1px solid #e8edf2;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cr-team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cr-shadow-sm);
}

.cr-team-card__head {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff;
}

.cr-team-card__head--blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.cr-team-card__head--green {
  background: linear-gradient(135deg, #10b981, #059669);
}

.cr-team-card__head--orange {
  background: linear-gradient(135deg, var(--cr-orange), #f5a04a);
}

.cr-team-card__head--purple {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.cr-team-card__head--teal {
  background: linear-gradient(135deg, var(--cr-teal), #2a8fb8);
}

.cr-team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 1.15rem 1.25rem 0.35rem;
  margin: 0;
  color: var(--cr-text);
}

.cr-team-card p {
  font-size: 0.875rem;
  color: var(--cr-muted);
  padding: 0 1.25rem 1.25rem;
  margin: 0;
  line-height: 1.5;
}

.cr-team-card--cta {
  border: 2px dashed rgba(30, 95, 122, 0.2);
  background: var(--cr-light);
}

.cr-team-card__cta-inner {
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cr-team-card__cta-inner > i {
  font-size: 2rem;
  color: var(--cr-teal);
  margin-bottom: 1rem;
}

.cr-team-card__cta-inner h3 {
  padding: 0;
}

.cr-team-card__cta-inner p {
  padding: 0 0 1rem;
}

/* Apply panel */
.cr-apply {
  padding: 4rem 0;
}

.cr-apply__panel {
  border-radius: var(--cr-radius-lg);
  overflow: hidden;
  box-shadow: var(--cr-shadow);
  border: 1px solid rgba(30, 95, 122, 0.1);
}

.cr-apply__aside {
  height: 100%;
  padding: 2.5rem 2rem;
  background: linear-gradient(160deg, var(--cr-teal) 0%, var(--cr-teal-dark) 100%);
  color: #fff;
}

.cr-apply__title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cr-apply__text {
  font-size: 0.95rem;
  line-height: 1.65;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

.cr-apply__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cr-apply__checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  opacity: 0.95;
}

.cr-apply__checklist i {
  color: var(--cr-orange);
}

.cr-apply__main {
  height: 100%;
  padding: 2.5rem 2rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.cr-apply__email-box {
  padding: 1.25rem 1.5rem;
  background: var(--cr-light);
  border-radius: 14px;
  border: 1px solid #e8edf2;
}

.cr-apply__email-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cr-muted);
  margin-bottom: 0.35rem;
}

.cr-apply__email-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cr-teal);
  text-decoration: none;
  word-break: break-all;
}

.cr-apply__email-link:hover {
  color: var(--cr-orange);
}

.cr-apply__note {
  color: var(--cr-muted);
  text-align: center;
}

/* Banner */
.cr-banner {
  padding: 0 0 4rem;
}

.cr-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 2.5rem;
  background: linear-gradient(120deg, var(--cr-teal) 0%, #2a7a9a 40%, var(--cr-orange) 100%);
  border-radius: var(--cr-radius-lg);
  color: #fff;
  box-shadow: var(--cr-shadow);
}

.cr-banner__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cr-banner__text {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 28rem;
}

.cr-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Reveal */
.careers-page [data-cr-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.careers-page [data-cr-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.careers-page [data-cr-reveal].is-visible .cr-bento__card,
.careers-page [data-cr-reveal].is-visible .cr-value-card,
.careers-page [data-cr-reveal].is-visible .cr-team-card {
  animation: cr-card-in 0.5s ease backwards;
}

@keyframes cr-card-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .cr-hero-visual {
    min-height: 300px;
    margin-top: 1rem;
  }

  .cr-float-card--2 {
    right: 2%;
  }

  .cr-stats {
    margin-top: -1.5rem;
  }

  .cr-banner__inner {
    text-align: center;
    justify-content: center;
  }

  .cr-banner__actions {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .cr-hero {
    padding-bottom: 3rem;
    min-height: auto;
  }

  .cr-float-card {
    display: none;
  }

  .cr-section {
    padding: 3rem 0;
  }

  .cr-stats .col-6:nth-child(2) .cr-stats__item {
    border-right: none;
  }

  .cr-stats__item {
    border-right: none !important;
    padding: 0.75rem 0;
  }

  .cr-no-jobs {
    min-height: auto;
    padding: 2rem 1.5rem;
  }

  .cr-apply__aside,
  .cr-apply__main {
    padding: 2rem 1.5rem;
  }

  .cr-banner__inner {
    padding: 2rem 1.5rem;
  }
}
