/* ==========================================================================
   TechAbbot – hire developers and offshore engineering teams
   Markup: partials/hire.html (generated by tools/build-hire.js)
   No script.

   Light section in two parts:
     1. heading, description, buttons and the "resources available" line
        beside one white panel that holds the four offerings as quadrants
        divided by hairlines
     2. a dark navy strip with the three hiring differentiators

     below 640px    everything stacked, offerings in one column
     640px and up   offerings 2 x 2
     768px and up   differentiators three across
     1100px and up  heading block beside the offerings panel
   ========================================================================== */

.hire {
  padding-block: clamp(52px, 6.5vw, 96px);
  background:
    radial-gradient(40% 40% at 100% 0%, rgba(38, 150, 94, 0.1), transparent 70%),
    var(--c-bg-alt);
}

.hire__top {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

/* Heading block ----------------------------------------------------------- */

.hire__label::after { content: none; }

.hire__title {
  margin: 14px 0 0;
  font-size: clamp(1.75rem, 1.25rem + 2.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hire__accent { color: var(--c-blue); }

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hire__accent {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    -webkit-text-fill-color: transparent;
  }
}

.hire__intro {
  max-width: 40em;
  margin: 18px 0 0;
  color: var(--c-text-muted);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
}

.hire__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Offerings: one panel, four quadrants --------------------------------------- */

.hire__offerings {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  border: 1px solid var(--c-border);
  border-radius: 20px;
  background: var(--c-bg);
  box-shadow: 0 24px 48px -34px rgba(37, 55, 70, 0.55);
  list-style: none;
  overflow: hidden;
}

.hire-offering {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border-top: 1px solid var(--c-border);
  transition: background-color 220ms ease;
}

.hire-offering:first-child { border-top: 0; }

/* Corner glow that fades in on hover. */
.hire-offering::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 0% 0%, rgba(38, 150, 94, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.hire-offering:hover::before,
.hire-offering:focus-within::before { opacity: 1; }

.hire-offering > * { position: relative; }

.hire-offering__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Outlined icon ring (the service cards use filled tiles). */
.hire-offering__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid rgba(11, 109, 145, 0.35);
  border-radius: 50%;
  background: #EEF6F8;
  color: var(--c-blue);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.hire-offering:hover .hire-offering__icon,
.hire-offering:focus-within .hire-offering__icon {
  border-color: transparent;
  background: linear-gradient(135deg, var(--c-green), var(--c-blue));
  color: #fff;
}

.hire-offering__icon svg,
.hire-proof__icon svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hire-offering__number {
  color: #C5D3DC;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  transition: color 220ms ease;
  user-select: none;
}

.hire-offering:hover .hire-offering__number,
.hire-offering:focus-within .hire-offering__number { color: var(--c-green); }

.hire-offering__title {
  margin: 18px 0 0;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hire-offering__text {
  margin: 8px 0 0;
  padding-bottom: 14px;
  color: var(--c-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.hire-offering__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  color: var(--c-blue);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.hire-offering__link::after {
  content: "\2192";
  margin-left: 8px;
  transition: transform var(--ease);
}

.hire-offering__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hire-offering__link:hover::after,
.hire-offering__link:focus-visible::after { transform: translateX(4px); }

/* Differentiator strip ------------------------------------------------------- */

.hire-proof {
  position: relative;
  margin-top: clamp(28px, 3.6vw, 48px);
  padding: clamp(24px, 3vw, 40px) clamp(18px, 3.4vw, 48px);
  border-radius: 20px;
  background:
    radial-gradient(46% 120% at 0% 0%, rgba(8, 113, 167, 0.55), transparent 70%),
    radial-gradient(40% 120% at 100% 100%, rgba(38, 150, 94, 0.45), transparent 70%),
    #07172D;
  color: #fff;
  box-shadow: 0 28px 48px -30px rgba(7, 23, 45, 0.9);
  overflow: hidden;
  isolation: isolate;
}

/* Faint dot grid across the strip. */
.hire-proof::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.13) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
  pointer-events: none;
}

.hire-proof__list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hire-proof__item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.hire-proof__icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-green-bright);
}

.hire-proof__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-transform: uppercase;
}

.hire-proof__value {
  font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hire-proof__label {
  margin-top: 4px;
  color: var(--c-blue-bright);
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
}

.hire-proof__note {
  margin-top: 6px;
  color: #C2CFDC;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-transform: none;
}

.hire-proof__text {
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  padding-top: clamp(16px, 2vw, 22px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #C2CFDC;
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.55;
}

/* Resources available: live dot, label and small pills ------------------------ */

.hire-resources {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
}

.hire-resources__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Live indicator: a green dot with a ring that swells and fades. It keeps
   running under reduced-motion settings, at the site owner's request. */
.hire-resources__dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-green);
  animation: hire-live-dot 1.6s ease-in-out infinite;
}

.hire-resources__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-green);
  animation: hire-live-ring 1.6s ease-out infinite;
}

@keyframes hire-live-dot {
  0%, 100% { transform: scale(1.25); }
  50% { transform: scale(0.75); }
}

@keyframes hire-live-ring {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 0; transform: scale(3.2); }
}

.hire-resources__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hire-resources__pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 11px;
  border: 1px solid #C9D9E2;
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--ease), color var(--ease);
}

a.hire-resources__pill:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}

/* Layout ------------------------------------------------------------------ */

@media (max-width: 479.98px) {
  .hire__actions .btn { flex: 1 1 100%; }
}

@media (min-width: 640px) {
  .hire__offerings { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hire-offering:nth-child(2) { border-top: 0; }
  .hire-offering:nth-child(even) { border-left: 1px solid var(--c-border); }
}

@media (min-width: 768px) {
  .hire-proof__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .hire-proof__item {
    justify-content: center;
    padding-inline: clamp(10px, 2vw, 28px);
  }

  .hire-proof__item + .hire-proof__item { border-left: 1px solid rgba(255, 255, 255, 0.18); }

  .hire-proof__text { text-align: center; }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .hire-proof__item {
    flex-direction: column;
    text-align: center;
  }

  .hire-proof__copy { align-items: center; }
}

@media (min-width: 1100px) {
  .hire__top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hire-offering,
  .hire-offering::before,
  .hire-offering__icon,
  .hire-offering__number,
  .hire-offering__link::after,
  .hire-resources__pill { transition: none; }
}
