/* ===== ClarityVet Landing Page Styles ===== */

/* --- Custom Properties --- */
:root {
  --hunter-green: #355e3b;
  --bright-sage: #8fbc8f;
  --bright-copper: #cc4a19;
  --copper-hover: #b3410f;
  --deep-turquoise: #00a4b1;
  --turquoise-text: #007d88;
  --arctic-blue: #d1e9f6;
  --ivory: #fffdf0;
  --white: #ffffff;

  --font-heading: 'DM Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --content-max: 1200px;
  --page-pad: 120px;
  --page-pad-mobile: 20px;
  --card-radius: 12px;
  --btn-radius: 12px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; min-width: 1440px; }
body {
  font-family: var(--font-body);
  color: var(--hunter-green);
  background-color: var(--ivory);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hunter-green);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 11px 16px;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn--cta {
  background-color: var(--bright-copper);
  color: var(--white);
  border-color: var(--bright-copper);
}
.btn--cta:hover {
  background-color: var(--copper-hover);
  border-color: var(--copper-hover);
}

.btn--outline {
  background: transparent;
  border-color: var(--bright-copper);
  color: var(--bright-copper);
}
.btn--outline:hover {
  background-color: var(--bright-copper);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  border-color: var(--hunter-green);
  color: var(--hunter-green);
}
.btn--secondary:hover {
  background-color: var(--hunter-green);
  color: var(--ivory);
}

/* --- Layout Helpers --- */
.page-wrap {
  max-width: 1440px;
  margin: 0 auto;
}
/* Full-bleed sections break out of the page-wrap */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.container {
  width: 100%;
  max-width: calc(var(--content-max) + var(--page-pad) * 2);
  margin: 0 auto;
  padding-left: var(--page-pad);
  padding-right: var(--page-pad);
}

/* ================================================================
   TOP BAR — thin sage accent stripe
   ================================================================ */
.top-bar {
  height: 18px;
  background-color: var(--bright-sage);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* ================================================================
   HEADER
   ================================================================ */
.header {
  height: 100px;
  background: var(--ivory);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo img {
  width: 205px;
  height: auto;
}

/* ================================================================
   DIVIDER — thin sage line between sections
   ================================================================ */
.divider {
  height: 4px;
  background: var(--bright-sage);
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

/* ================================================================
   HERO
   Full-bleed background with a centered composition. The hero grows
   taller on wide screens, the inner frame widens modestly past the
   1440px page grid, and then caps while the color fields keep bleeding.
   ================================================================ */
.hero {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  background: linear-gradient(to right, var(--hunter-green) 50%, var(--arctic-blue) 50%);
  /* Hero height & frame */
  --hero-height: clamp(600px, calc(600px + (100vw - 1440px) * 0.4167), 840px);
  --hero-frame-width: min(100vw, clamp(1440px, calc(1440px + (100vw - 1440px) * 0.382), 1660px));
  --hero-pad-y: clamp(56px, calc(60px + (100vw - 1440px) * 0.0348), 80px);
  /* At 1440: 120px (aligns with logo/container). At 2560: 0px (spreads left) */
  --hero-pad-left: clamp(0px, calc(120px - (100vw - 1440px) * 0.1071), 120px);
  --hero-pad-right: clamp(32px, calc(40px + (100vw - 1440px) * 0.0208), 52px);
  --hero-copy-width: clamp(560px, calc(560px + (100vw - 1440px) * 0.1563), 650px);
  /* Typography */
  --hero-title-size: clamp(40px, calc(40px + (100vw - 1440px) * 0.0208), 52px);
  --hero-body-size: clamp(18px, calc(18px + (100vw - 1440px) * 0.0052), 21px);
  --hero-body-line: clamp(28px, calc(28px + (100vw - 1440px) * 0.0104), 34px);
  --hero-tagline-gap: clamp(32px, calc(32px + (100vw - 1440px) * 0.0139), 40px);
  --hero-btn-font: clamp(15px, calc(15px + (100vw - 1440px) * 0.0035), 17px);
  --hero-btn-pad-y: clamp(11px, calc(11px + (100vw - 1440px) * 0.0035), 13px);
  --hero-btn-pad-x: clamp(16px, calc(16px + (100vw - 1440px) * 0.0104), 22px);
  /* Arc — Figma: 892x850 container at 1440, scales proportionally with hero height */
  /* Arc caps at ~2000px viewport — before hero caps (~2016) — so corners stay hidden */
  --hero-arc-width: clamp(892px, calc(892px + (100vw - 1440px) * 0.637), 1249px);
  --hero-arc-height: clamp(850px, calc(850px + (100vw - 1440px) * 0.607), 1190px);
  /* Dog — Figma: 1130x633 at 600px hero, right: -58px. Scales to maintain height/hero ratio */
  --hero-dog-width: clamp(1130px, calc(1130px + (100vw - 1440px) * 0.744), 1580px);
  /* At 1440: -70px (pulled in). At 2560: -290px (spread right) */
  --hero-dog-right: clamp(-290px, calc(-70px - (100vw - 1440px) * 0.1964), -70px);
  /* Green rect extends past 50% to cover area outside the circle curve */
  --hero-arc-crop-x: calc(50% + var(--hero-arc-width) * 0.25);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: var(--hero-frame-width);
  min-height: var(--hero-height);
  margin: 0 auto;
  position: relative;
}

.hero__content,
.hero__image {
  min-height: var(--hero-height);
}

.hero__content {
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--hero-pad-y) var(--hero-pad-right) var(--hero-pad-y) var(--hero-pad-left);
  position: relative;
  z-index: 3;
}

.hero__content h1 {
  font-size: var(--hero-title-size);
  line-height: 1.18;
  margin-bottom: 16px;
  max-width: var(--hero-copy-width);
  color: var(--ivory);
  font-variation-settings: 'opsz' 14;
}

.hero__body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--hero-body-size);
  line-height: var(--hero-body-line);
  margin-bottom: 12px;
  max-width: var(--hero-copy-width);
  color: var(--ivory);
  opacity: 0.85;
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--hero-body-size);
  line-height: var(--hero-body-line);
  margin-bottom: var(--hero-tagline-gap);
  max-width: var(--hero-copy-width);
  color: var(--ivory);
}

.hero__content .btn {
  font-size: var(--hero-btn-font);
  padding: var(--hero-btn-pad-y) var(--hero-btn-pad-x);
}

.hero__image {
  position: relative;
}

/* Green cover: solid green left half, sits above gradient to prevent sub-pixel seams */
.hero__inner::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(var(--hero-arc-crop-x) - 1px);
  background: var(--hunter-green);
  z-index: 1;
  pointer-events: none;
}

/* Arc slice: ivory-stroked blue ellipse, clipped to show only the left ~20%
   TODO: fine-tune ellipse curvature — Figma path is slightly elliptical
   (rx=476 ry=455), our SVG matches but rendered aspect ratio may need
   tweaking at extreme viewport sizes */
.hero__inner::after {
  content: '';
  position: absolute;
  width: var(--hero-arc-width);
  height: var(--hero-arc-height);
  background: url('../img/hero-ellipse.svg') center / 100% 100% no-repeat;
  left: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
  clip-path: inset(0 75% 0 0);
}

.hero__image img {
  position: absolute;
  width: var(--hero-dog-width);
  max-width: none;
  height: auto;
  bottom: 0;
  right: var(--hero-dog-right);
  z-index: 4;
}

/* ================================================================
   BRIDGE SECTION — hiring pitch
   ================================================================ */
.bridge {
  padding: 100px 0 60px;
}
.bridge__inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.bridge__image {
  flex: 0 0 49%;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 590 / 500;
  background: var(--arctic-blue);
}
.bridge__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bridge__text {
  flex: 1;
  padding-top: 26px;
}
.bridge__text h2 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.2;
  margin-bottom: 24px;
}
.bridge__text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ================================================================
   JOB CARDS
   ================================================================ */
.jobs {
  padding: 60px 0 120px;
}
.jobs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  border: 1px solid rgba(53, 94, 59, 0.15);
  border-radius: var(--card-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--ivory);
  transition: box-shadow 0.2s ease;
}
.job-card:hover {
  box-shadow: 0 4px 20px rgba(53, 94, 59, 0.1);
}

.job-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 16px;
  min-height: 58px;
}

.job-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.job-card__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--hunter-green);
}
.job-card__meta-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--hunter-green);
  opacity: 0.6;
}

.job-card__divider {
  height: 1px;
  background: rgba(53, 94, 59, 0.12);
  margin-bottom: 20px;
}

.job-card__desc {
  font-size: 16px;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 24px;
}

.job-card .btn {
  align-self: flex-start;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--hunter-green);
  color: var(--ivory);
  padding: 40px 0;
  border-radius: 24px;
  margin: 0 20px 20px;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__left {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.footer__logo img {
  width: 93px;
  height: auto;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
}
.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__contact-row a {
  transition: opacity 0.2s;
}
.footer__contact-row a:hover {
  opacity: 0.8;
}
.footer__contact-row .sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 253, 240, 0.3);
}
.footer__address {
  font-size: 14px;
  line-height: 1.5;
}
.footer__social {
  display: flex;
  gap: 16px;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer__social a:hover { opacity: 1; }
.footer__social svg { width: 20px; height: 20px; fill: var(--ivory); }

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 80px;
}
.footer__links {
  display: flex;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
}
.footer__links a {
  transition: opacity 0.2s;
}
.footer__links a:hover { opacity: 0.8; }
.footer__copy {
  font-size: 14px;
  opacity: 0.7;
}


/* ================================================================
   DETAIL BANNER — green title area (job detail + legal pages)
   ================================================================ */
.detail-banner {
  background: var(--hunter-green);
  color: var(--ivory);
  padding: 60px 100px;
  text-align: center;
  border-radius: 24px;
  margin: 0 20px;
}
.detail-banner h1 {
  color: var(--ivory);
  font-size: 48px;
  line-height: 56px;
  font-variation-settings: 'opsz' 14;
  margin-bottom: 0;
}
.detail-banner__sub {
  margin-top: 12px;
  font-size: 15px;
  opacity: 0.7;
  color: var(--ivory);
}
.detail-banner__meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.detail-banner__meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  font-variation-settings: 'opsz' 14;
  color: var(--ivory);
}
.detail-banner__meta-item svg {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

/* Mobile-only utility */
.mobile-only { display: none; }

/* ================================================================
   JOB DETAIL PAGE
   ================================================================ */
.job-detail-back {
  padding: 14px 0;
}
.job-detail-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--hunter-green);
  transition: opacity 0.2s;
}
.job-detail-back a:hover { opacity: 0.7; }
.job-detail-back svg {
  width: 20px;
  height: 20px;
}

.job-detail-header {
  text-align: center;
  padding: 60px 0 40px;
  border-bottom: 4px solid var(--bright-sage);
}
.job-detail-header h1 {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 20px;
}
.job-detail-header__meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.job-detail-header__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}
.job-detail-header__meta-item svg {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.job-detail-callout {
  background: var(--arctic-blue);
  border-radius: 18px;
  padding: 18px 100px;
  margin: 40px 0 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  font-variation-settings: 'opsz' 14;
  text-align: center;
  color: #000;
}

.job-detail-content {
  padding-top: 30px;
  padding-bottom: 60px;
}
.job-detail-content section {
  margin-bottom: 30px;
}
.job-detail-content h2 {
  font-size: 32px;
  line-height: 40px;
  font-variation-settings: 'opsz' 14;
  margin-bottom: 12px;
}
.job-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  font-variation-settings: 'opsz' 14;
  margin-bottom: 12px;
  margin-top: 24px;
}
.job-detail-content > h3 {
  margin-top: 30px;
  margin-bottom: 12px;
}
.job-detail-content p {
  margin-bottom: 16px;
  line-height: 1.56;
}
.job-detail-content ul {
  list-style: disc;
  padding-left: 27px;
  margin-bottom: 16px;
}
.job-detail-content li {
  margin-bottom: 4px;
  line-height: 1.56;
}

.job-detail-offer {
  border: 1px solid var(--bright-sage);
  border-radius: 24px;
  padding: 30px;
  margin-bottom: 30px;
}
.job-detail-offer h2 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 8px;
}
.job-detail-offer__comp {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  font-variation-settings: 'opsz' 14;
  color: var(--hunter-green);
  margin-bottom: 8px;
}
.job-detail-offer__comp-note {
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 24px;
}
.job-detail-offer ul {
  list-style: disc;
  padding-left: 27px;
  margin-bottom: 24px;
}
.job-detail-offer li {
  margin-bottom: 4px;
  line-height: 1.56;
}
.job-detail-offer .job-detail-actions {
  padding-bottom: 0;
}

.job-detail-why {
  background: var(--arctic-blue);
  color: #000;
  border-radius: 24px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin-bottom: 0;
}
.job-detail-why__text {
  flex: 1;
  padding: 40px 20px 40px 40px;
}
.job-detail-why__text h2 {
  font-size: 32px;
  line-height: 40px;
  font-variation-settings: 'opsz' 14;
  color: #000;
  margin-bottom: 8px;
}
.job-detail-why__text p {
  font-size: 18px;
  line-height: 28px;
  color: #141c25;
}
.job-detail-why__illustration {
  flex-shrink: 0;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-detail-why__illustration img {
  width: 306px;
  height: auto;
}

.job-detail-actions {
  display: flex;
  gap: 16px;
  padding-bottom: 0;
}

/* ================================================================
   RESPONSIVE — Mobile (375px) and Tablet
   ================================================================ */
@media (max-width: 1024px) {
  :root {
    --page-pad: 40px;
  }
  .hero {
    background: none;
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
  }
  .hero__content,
  .hero__image {
    min-height: 0;
    width: 100%;
  }
  .hero__content {
    padding: 40px var(--page-pad);
    background: var(--hunter-green);
  }
  .hero__content h1,
  .hero__body,
  .hero__tagline {
    max-width: none;
  }
  .hero__content .btn {
    font-size: 15px;
    padding: 11px 16px;
  }
  .hero__image {
    min-height: 400px;
    background: var(--arctic-blue);
  }
  .hero__inner::before,
  .hero__inner::after {
    display: none;
  }
  .hero__image img {
    width: 200%;
    max-width: none;
    height: auto;
    right: -20%;
    bottom: 0;
  }
  .bridge__inner {
    flex-direction: column;
  }
  .bridge__image {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .jobs__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }
  .footer__right {
    align-items: flex-start;
    gap: 24px;
  }
  .detail-banner { padding: 48px 40px; }
  .detail-banner h1 { font-size: 36px; line-height: 44px; }
  .detail-banner__meta-item { font-size: 18px; }
  .job-detail-callout { padding: 18px 40px; }
  .job-detail-why__illustration { width: 280px; }
  .job-detail-why__illustration img { width: 220px; }
}

@media (max-width: 600px) {
  :root {
    --page-pad: 20px;
  }
  .mobile-only { display: block; }
  .top-bar { height: 10px; }
  .header { height: 70px; }
  .header__logo img { width: 130px; }

  .hero__content h1 { font-size: 24px; line-height: 1.25; }
  .hero__body { font-size: 16px; line-height: 24px; }
  .hero__tagline { font-size: 16px; line-height: 24px; }

  .hero__image { min-height: 300px; }

  .bridge { padding: 60px 0 40px; }
  .bridge__text h2 { font-size: 24px; }
  .bridge__text p { font-size: 16px; }

  .jobs { padding: 40px 0 80px; }
  .job-card__title { font-size: 20px; min-height: auto; }

  .footer__left {
    flex-direction: column;
    gap: 24px;
  }
  .footer__logo img { width: 113px; }
  .footer__contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .footer__contact-row .sep { display: none; }
  .footer__links { gap: 20px; }
  .footer__copy { font-size: 13px; }

  .detail-banner { padding: 30px 20px; }
  .detail-banner h1 { font-size: 28px; line-height: 34px; }
  .detail-banner__meta { flex-direction: column; gap: 8px; margin-top: 16px; }
  .detail-banner__meta-item { font-size: 16px; justify-content: center; }

  .job-detail-callout { font-size: 16px; padding: 16px 20px; }
  .job-detail-content h2 { font-size: 24px; line-height: 32px; }
  .job-detail-content h3 { font-size: 20px; line-height: 28px; }

  .job-detail-why { flex-direction: column; }
  .job-detail-why__illustration { width: 100%; padding: 20px; }
  .job-detail-why__illustration img { width: 200px; }
  .job-detail-why__text { padding: 30px 20px; }

  .job-detail-actions { flex-direction: column; }
}

@media (max-width: 1439px) {
  :root {
    --page-pad: 120px;
  }

  html,
  body {
    min-width: 1440px;
    overflow-x: auto;
  }

  .page-wrap {
    width: 1440px;
    max-width: none;
  }

  .full-bleed,
  .top-bar,
  .divider,
  .hero {
    width: 1440px;
    left: 0;
    transform: none;
  }

  .top-bar {
    height: 18px;
  }

  .header {
    height: 100px;
  }

  .header__logo img {
    width: 205px;
  }

  .hero {
    background: linear-gradient(to right, var(--hunter-green) 50%, var(--arctic-blue) 50%);
    --hero-height: 600px;
    --hero-frame-width: 1440px;
    --hero-pad-y: 60px;
    --hero-pad-left: 120px;
    --hero-pad-right: 40px;
    --hero-copy-width: 560px;
    --hero-title-size: 40px;
    --hero-body-size: 18px;
    --hero-body-line: 28px;
    --hero-tagline-gap: 32px;
    --hero-btn-font: 15px;
    --hero-btn-pad-y: 11px;
    --hero-btn-pad-x: 16px;
    --hero-arc-width: 892px;
    --hero-arc-height: 850px;
    --hero-dog-width: 1130px;
    --hero-dog-right: -70px;
    --hero-arc-crop-x: calc(50% + var(--hero-arc-width) * 0.25);
  }

  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 1440px;
    min-height: 600px;
  }

  .hero__content,
  .hero__image {
    width: auto;
    min-height: 600px;
  }

  .hero__content {
    padding: 60px 40px 60px 120px;
    background: transparent;
  }

  .hero__content h1,
  .hero__body,
  .hero__tagline {
    max-width: 560px;
  }

  .hero__content h1 {
    font-size: 40px;
    line-height: 1.18;
  }

  .hero__body,
  .hero__tagline {
    font-size: 18px;
    line-height: 28px;
  }

  .hero__content .btn {
    font-size: 15px;
    padding: 11px 16px;
  }

  .hero__image {
    background: transparent;
  }

  .hero__inner::before,
  .hero__inner::after {
    display: block;
  }

  .hero__image img {
    width: 1130px;
    max-width: none;
    height: auto;
    right: -70px;
    bottom: 0;
  }

  .bridge__inner {
    flex-direction: row;
  }

  .bridge__image {
    flex: 0 0 49%;
    width: auto;
    aspect-ratio: 590 / 500;
  }

  .bridge {
    padding: 100px 0 60px;
  }

  .bridge__text {
    padding-top: 26px;
  }

  .bridge__text h2 {
    font-size: 36px;
    line-height: 1.2;
  }

  .bridge__text p {
    font-size: 18px;
    line-height: 1.6;
  }

  .jobs__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .footer__inner {
    flex-direction: row;
    gap: 0;
  }

  .footer__right {
    align-items: flex-end;
    gap: 80px;
  }
}
