/* -------------------------------------------------------------
   Dog Walk Careers / Jobs Page Styles
   ------------------------------------------------------------- */

.jobs-hero-section {
  padding: 50px 0 70px;
}

/* Badges with prominent contrast and soft shadows */
.jobs-hero-section .hero-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.jobs-hero-section .hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: #1D1917;
  border: 1.5px solid #EADBCE;
  box-shadow: 0 4px 18px rgba(45, 30, 20, 0.1);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.jobs-hero-section .hero-pill-dot {
  width: 9px;
  height: 9px;
  background-color: #1FB355;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(31, 179, 85, 0.6);
}

.jobs-hero-section .hero-pill-accent {
  background: #FFF2E8;
  border-color: rgba(238, 119, 34, 0.45);
  color: #D96412;
  box-shadow: 0 4px 18px rgba(238, 119, 34, 0.14);
}

.jobs-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.jobs-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.jobs-hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 620px;
}

.jobs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.jobs-highlights-row {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.j-highlight-item {
  display: flex;
  flex-direction: column;
}

.j-high-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
}

.j-high-lbl {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Walkers Photos in Hero - Side-by-side elegant cards with ZERO overlap */
.jobs-hero-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.walker-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 36px -8px rgba(45, 30, 20, 0.12);
  border: 3px solid #FFFFFF;
  background: #FFFFFF;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.walker-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -10px rgba(238, 119, 34, 0.22);
}

.main-walker-card {
  height: 380px;
  width: 100%;
}

.main-walker-card .walker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* Anna's face, smile and golden retriever are completely visible */
  transition: transform 0.5s ease;
}

.second-walker-card {
  height: 380px;
  width: 100%;
  margin-top: 32px; /* Gentle vertical stagger with NO overlap */
}

.second-walker-card .walker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* David's face and beagle are completely visible */
  transition: transform 0.5s ease;
}

.walker-card:hover .walker-img {
  transform: scale(1.05);
}

.walker-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(234, 219, 206, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.caption-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.25;
}

.caption-role {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 2px;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.step-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 40px 30px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(238, 119, 34, 0.4);
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFA35C;
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Final CTA Box */
.jobs-cta-box {
  background: linear-gradient(135deg, #2A2421 0%, #1D1917 100%);
  color: #FFFFFF;
  border-radius: var(--radius-card);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-soft);
}

.cta-inner-text h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.cta-inner-text p {
  font-size: 1rem;
  color: #C8BFB5;
}

@media (max-width: 992px) {
  .jobs-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .jobs-hero-visuals {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .main-walker-card,
  .second-walker-card {
    height: 300px;
    margin-top: 0;
  }

  .jobs-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
}

@media (max-width: 640px) {
  .jobs-hero-section {
    padding: 24px 0 36px;
  }

  .jobs-hero-title {
    font-size: clamp(1.7rem, 6.8vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }

  .jobs-hero-subtitle {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .jobs-hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 24px;
  }

  .jobs-hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.96rem;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  .jobs-hero-actions .btn svg {
    flex-shrink: 0;
  }

  .jobs-highlights-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 18px;
    text-align: center;
  }

  .j-high-num {
    font-size: 1.45rem;
  }

  .j-high-lbl {
    font-size: 0.74rem;
  }

  /* Two walker cards neatly side by side on mobile */
  .jobs-hero-visuals {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
  }

  .main-walker-card,
  .second-walker-card {
    height: 230px;
    margin-top: 0;
    border-radius: 18px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }

  .step-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .step-number {
    font-size: 1.6rem;
    margin-bottom: 10px;
  }

  .jobs-cta-box {
    padding: 26px 18px;
    border-radius: 20px;
    text-align: center;
  }

  .cta-inner-text h3 {
    font-size: 1.45rem;
  }

  .cta-inner-text p {
    font-size: 0.9rem;
  }

  .cta-inner-actions,
  .cta-inner-actions .btn {
    width: 100%;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
    padding: 14px 18px;
    font-size: 0.94rem;
  }

  .cta-inner-actions .btn svg {
    flex-shrink: 0;
  }
}

/* -------------------------------------------------------------
   What We Offer Section - Single-line layout on desktop
   ------------------------------------------------------------- */
.section-offer .container {
  max-width: 1380px;
}

.section-offer .benefits-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.section-offer .benefit-card {
  padding: 28px 18px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
}

.section-offer .benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 16px;
}

.section-offer .benefit-icon-box svg {
  width: 22px;
  height: 22px;
}

.section-offer .benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-offer .benefit-card p {
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Laptops / smaller desktop screens: 3 x 2 balanced grid */
@media (max-width: 1140px) {
  .section-offer .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* Tablets: 2 x 3 balanced grid */
@media (max-width: 768px) {
  .section-offer .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .section-offer .benefit-card {
    padding: 20px 16px;
  }
}

/* Phones: single column */
@media (max-width: 520px) {
  .section-offer .benefits-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* -------------------------------------------------------------
   Dark Theme Explicit Overrides for Jobs Page
   ------------------------------------------------------------- */
[data-theme="dark"] .jobs-hero-section .hero-pill {
  background: #1E1B18;
  color: #F6F1EA;
  border-color: #38302A;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .jobs-hero-section .hero-pill-accent {
  background: rgba(255, 138, 61, 0.15);
  border-color: rgba(255, 138, 61, 0.45);
  color: #FFA35C;
}

[data-theme="dark"] .walker-card {
  border-color: #38302A;
  background: #1E1B18;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .walker-caption {
  background: rgba(28, 24, 21, 0.94);
  border-color: rgba(65, 55, 48, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .step-card {
  background: #1E1B18;
  border-color: #38302A;
}

[data-theme="dark"] .step-card:hover {
  border-color: rgba(255, 138, 61, 0.4);
}

[data-theme="dark"] .jobs-cta-box {
  background: linear-gradient(135deg, #221D1A 0%, #161311 100%);
  border: 1px solid #38302A;
}
