/* Completed job pages — premium layout */

:root {
  --cotg-job-orange: #fe7c06;
  --cotg-job-ink: #1c2430;
  --cotg-job-muted: #626F82;
  --cotg-job-line: rgba(254, 124, 6, 0.18);
  --cotg-job-soft: #fff7f0;
  --cotg-job-panel: #ffffff;
}

/* —— Trust strip —— */
.cotg-job-trust {
  margin-top: -6px;
  padding: 18px 0 8px;
  background:
    radial-gradient(ellipse at 8% 0%, rgba(254, 124, 6, 0.12), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--cotg-job-soft) 100%);
}

.cotg-job-trust__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cotg-job-trust__item {
  background: var(--cotg-job-panel);
  border: 1px solid var(--cotg-job-line);
  border-radius: 14px;
  padding: 14px 14px 13px;
  text-align: center;
}

.cotg-job-trust__item strong {
  display: block;
  color: var(--cotg-job-orange);
  font-size: 14px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.cotg-job-trust__item span {
  color: var(--cotg-job-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

/* —— Main article shell —— */
.cotg-job-shell {
  padding: 36px 0 20px;
  background: linear-gradient(180deg, var(--cotg-job-soft) 0%, #fff 28%);
}

.cotg-job-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(254, 124, 6, 0.12);
  color: var(--cotg-job-orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cotg-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.cotg-job-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--cotg-job-line);
  background: #fff;
  color: var(--cotg-job-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.cotg-job-chip em {
  font-style: normal;
  color: var(--cotg-job-muted);
  font-weight: 500;
}

.cotg-job-privacy {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--cotg-job-orange);
  background: rgba(254, 124, 6, 0.06);
  color: var(--cotg-job-muted);
  font-size: 14.5px;
  line-height: 1.55;
  border-radius: 0 12px 12px 0;
}

.cotg-job-title {
  margin: 0 0 14px;
  color: var(--cotg-job-orange);
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.cotg-job-lead,
.cotg-job-copy p {
  margin: 0 0 14px;
  color: var(--cotg-job-muted);
  font-size: 17px;
  line-height: 1.75;
  max-width: 68ch;
}

.cotg-job-copy p:last-child {
  margin-bottom: 0;
}

/* —— Highlights —— */
.cotg-job-highlights {
  margin: 28px 0 8px;
  padding: 22px 22px 18px;
  background: #fff;
  border: 1px solid var(--cotg-job-line);
  border-radius: 18px;
}

.cotg-job-highlights h3 {
  margin: 0 0 6px;
  color: var(--cotg-job-ink);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.cotg-job-highlights > p {
  margin: 0 0 14px;
  color: var(--cotg-job-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.cotg-job-highlights ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.cotg-job-highlights li {
  position: relative;
  padding: 10px 12px 10px 34px;
  background: var(--cotg-job-soft);
  border-radius: 12px;
  color: var(--cotg-job-ink);
  font-size: 14.5px;
  line-height: 1.45;
}

.cotg-job-highlights li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--cotg-job-orange), #ff9a3c);
  box-shadow: inset 0 0 0 3px #fff;
}

/* —— Gallery —— */
section.before-after.cotg-job-ba {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  margin: 34px 0 28px;
}

section.before-after.cotg-job-ba h2,
section.before-after.cotg-job-ba > p {
  grid-column: 1 / -1;
  margin: 0;
}

section.before-after.cotg-job-ba h2 {
  color: var(--cotg-job-orange);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

section.before-after.cotg-job-ba > p {
  max-width: 68ch;
  color: var(--cotg-job-muted);
  font-size: 16.5px;
  line-height: 1.7;
  margin-top: -2px;
}

section.before-after.cotg-job-ba figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--cotg-job-line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

section.before-after.cotg-job-ba figure:hover {
  transform: translateY(-3px);
  border-color: rgba(254, 124, 6, 0.4);
}

section.before-after.cotg-job-ba img {
  display: block;
  width: 100%;
  height: auto;
}

section.before-after.cotg-job-ba figcaption {
  padding: 14px 16px 16px;
  color: var(--cotg-job-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

section.before-after.cotg-job-ba--single {
  grid-template-columns: 1fr;
  max-width: 760px;
}

section.before-after.cotg-job-ba figure.cotg-ba-figure {
  transition: none;
}

section.before-after.cotg-job-ba figure.cotg-ba-figure:hover {
  transform: none;
}

/* —— Before/After compare slider —— */
.cotg-ba {
  --cotg-ba-pos: 50%;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1c2430;
  touch-action: none;
  user-select: none;
  cursor: ew-resize;
  container-type: size;
}

.cotg-ba.is-dragging {
  cursor: grabbing;
}

.cotg-ba__layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cotg-ba__layer--after {
  z-index: 1;
}

.cotg-ba__layer--before {
  z-index: 2;
  width: var(--cotg-ba-pos);
  right: auto;
}

.cotg-ba__img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: block !important;
  width: 200cqw !important;
  height: 100cqh !important;
  max-width: none !important;
  object-fit: fill !important;
  pointer-events: none;
}

.cotg-ba__layer--after .cotg-ba__img {
  left: -100cqw !important;
}

.cotg-ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cotg-ba-pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 36, 48, 0.2);
  z-index: 3;
  pointer-events: none;
}

.cotg-ba__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--cotg-job-orange), #ff9a3c);
  box-shadow: 0 8px 22px rgba(28, 36, 48, 0.28);
  border: 3px solid #fff;
}

.cotg-ba__handle::before {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 46px;
  text-align: center;
}

.cotg-ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.cotg-ba__badge {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(28, 36, 48, 0.72);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(6px);
}

.cotg-ba__badge--before {
  left: 14px;
}

.cotg-ba__badge--after {
  right: 14px;
}

.cotg-ba__hint {
  margin: 10px 16px 0;
  color: #8a94a3;
  font-size: 13px;
}

/* —— Book this clean band —— */
.cotg-job-book {
  margin: 8px 0 34px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  border: 1px solid var(--cotg-job-line);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(254, 124, 6, 0.14), transparent 50%),
    #fff;
}

.cotg-job-book h3 {
  margin: 0 0 6px;
  color: var(--cotg-job-ink);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cotg-job-book > p {
  margin: 0 0 16px;
  color: var(--cotg-job-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 54ch;
}

.cotg-job-book__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cotg-job-book__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 8px;
  background: #25D366;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.cotg-job-book__wa:hover {
  background: #1ebe57;
  color: #fff !important;
}

.cotg-job-faq-wrap {
  background: linear-gradient(180deg, #fff 0%, var(--cotg-job-soft) 100%);
}

/* —— After-service deliverables —— */
.cotg-job-deliver {
  margin: 8px 0 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.cotg-job-deliver__card {
  background: #fff;
  border: 1px solid var(--cotg-job-line);
  border-radius: 16px;
  padding: 18px 16px 16px;
}

.cotg-job-deliver__card strong {
  display: block;
  color: var(--cotg-job-orange);
  font-size: 16px;
  margin-bottom: 6px;
}

.cotg-job-deliver__card p {
  margin: 0;
  color: var(--cotg-job-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* —— Process —— */
.cotg-job-process {
  padding: 48px 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(254, 124, 6, 0.1), transparent 40%),
    linear-gradient(180deg, #fff 0%, var(--cotg-job-soft) 100%);
}

.cotg-job-process__head {
  max-width: 62ch;
  margin-bottom: 24px;
}

.cotg-job-process__head h2 {
  margin: 0 0 10px;
  color: var(--cotg-job-orange);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cotg-job-process__head p {
  margin: 0;
  color: var(--cotg-job-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.cotg-job-process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cotg-job-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--cotg-job-line);
  border-radius: 18px;
  padding: 22px 18px 18px;
}

.cotg-job-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--cotg-job-orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.cotg-job-step h3 {
  margin: 0 0 8px;
  color: var(--cotg-job-ink);
  font-size: 18px;
}

.cotg-job-step p {
  margin: 0;
  color: var(--cotg-job-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* —— Guarantees —— */
.cotg-job-guarantees {
  padding: 10px 0 48px;
  background: var(--cotg-job-soft);
}

.cotg-job-guarantees__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cotg-job-guarantee {
  background: #fff;
  border: 1px solid var(--cotg-job-line);
  border-radius: 16px;
  padding: 18px 18px 16px;
}

.cotg-job-guarantee strong {
  display: block;
  color: var(--cotg-job-orange);
  font-size: 16px;
  margin-bottom: 4px;
}

.cotg-job-guarantee span {
  display: block;
  color: #8a94a3;
  font-size: 12.5px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.cotg-job-guarantee p {
  margin: 0;
  color: var(--cotg-job-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* —— Related jobs —— */
.cotg-job-related {
  padding: 48px 0;
  background: #fff;
}

.cotg-job-related__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.cotg-job-related__head h2 {
  margin: 0;
  color: var(--cotg-job-orange);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.cotg-job-related__head a {
  color: var(--cotg-job-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cotg-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 10px 0 20px;
}

.cotg-jobs-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cotg-jobs-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--cotg-job-line);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.cotg-jobs-card:hover {
  border-color: rgba(254, 124, 6, 0.45);
  transform: translateY(-3px);
}

.cotg-jobs-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cotg-jobs-card__body {
  padding: 16px 18px 18px;
}

.cotg-jobs-card__body h2,
.cotg-jobs-card__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--cotg-job-ink);
}

.cotg-jobs-card__body p {
  margin: 0;
  color: var(--cotg-job-muted);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cotg-jobs-card__meta {
  margin-top: 10px;
  color: var(--cotg-job-orange);
  font-size: 13px;
  font-weight: 700;
}

/* —— CTA band —— */
.cotg-job-cta {
  padding: 54px 0;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(254, 124, 6, 0.22), transparent 42%),
    linear-gradient(135deg, #1c2430 0%, #2a3444 55%, #243040 100%);
  color: #fff;
}

.cotg-job-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.cotg-job-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 18ch;
}

.cotg-job-cta p {
  margin: 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.65;
}

.cotg-job-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cotg-job-cta .thm-btn {
  background: var(--cotg-job-orange);
  color: #fff;
}

.cotg-job-cta .thm-btn:hover {
  background: #e56a00;
  color: #fff;
}

.cotg-job-cta__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.cotg-job-cta__ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* —— Sidebar —— */
.cotg-job-side {
  position: sticky;
  top: 110px;
}

.cotg-job-side__card {
  background: #fff;
  border: 1px solid var(--cotg-job-line);
  border-radius: 18px;
  padding: 20px 18px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(28, 36, 48, 0.04);
}

.cotg-job-side__card h3 {
  margin: 0 0 12px;
  color: var(--cotg-job-ink);
  font-size: 18px;
}

.cotg-job-side__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cotg-job-side__list li + li {
  margin-top: 8px;
}

.cotg-job-side__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: var(--cotg-job-soft);
  color: var(--cotg-job-ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.cotg-job-side__list a:hover {
  background: rgba(254, 124, 6, 0.14);
  color: var(--cotg-job-orange);
}

.cotg-job-side__quote {
  background: linear-gradient(160deg, #1c2430 0%, #2a3444 100%);
  color: #fff;
  border: 0;
}

.cotg-job-side__quote h3 {
  color: #fff;
}

.cotg-job-side__quote p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  line-height: 1.55;
}

.cotg-job-side__quote .thm-btn {
  width: 100%;
  justify-content: center;
}

.cotg-job-side__phones {
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.cotg-job-side__phones a {
  color: #fff;
  font-weight: 600;
}

/* —— Index intro —— */
.cotg-jobs-index-intro {
  max-width: 68ch;
  margin-bottom: 8px;
}

.cotg-jobs-index-intro h2 {
  margin: 0 0 10px;
  color: var(--cotg-job-orange);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
}

.cotg-jobs-index-intro p {
  margin: 0 0 12px;
  color: var(--cotg-job-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

@media (max-width: 991px) {
  .cotg-job-trust__row,
  .cotg-job-process__grid,
  .cotg-jobs-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cotg-job-side {
    position: static;
    margin-top: 28px;
  }
}

@media (max-width: 767px) {
  .cotg-job-trust__row,
  .cotg-job-highlights ul,
  .cotg-job-deliver,
  .cotg-job-process__grid,
  .cotg-job-guarantees__grid,
  section.before-after.cotg-job-ba,
  .cotg-jobs-grid,
  .cotg-jobs-grid--3 {
    grid-template-columns: 1fr;
  }

  .cotg-job-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
