/* DAVZON – Contractor management page
   Builds on styles.css and eor.css; only what differs lives here. */

/* ---------- Hero: photo on the left, copy on the right ---------- */
.ctr-hero .eor-hero__inner { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.ctr-hero .eor-hero__frame { aspect-ratio: 1.05; border-radius: 40px 200px 40px 40px; }
.ctr-hero .eor-hero__frame img { object-position: 70% 50%; }
.ctr-hero .eor-hero__media::before {
  left: auto;
  right: -14px;
  top: -14px;
  bottom: auto;
  border: 2.5px solid var(--saffron);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 0 220px 0 0;
}
.ctr-hero .eor-hero__card--a { left: auto; right: -6%; top: auto; bottom: 30%; }
.ctr-hero .eor-hero__card--b { right: auto; left: -6%; bottom: 7%; }

/* ---------- Why contractor management ---------- */
.ctr-why { padding-bottom: clamp(72px, calc(7 * var(--vw)), 128px); }
.ctr-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(32px, calc(5 * var(--vw)), 96px);
}
.ctr-pains { display: grid; gap: 12px; margin: clamp(28px, calc(3 * var(--vw)), 44px) 0 0; }
.ctr-pains li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px 24px;
  border-radius: var(--r-tile);
  background: var(--white);
}
.ctr-pain__x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--slate);
  font-weight: 800;
  font-size: 14px;
}
.ctr-pains h3 { font-weight: 800; font-size: clamp(18px, calc(1.4 * var(--vw)), 24px); letter-spacing: -0.02em; line-height: 1.25; }
.ctr-pains p { margin-top: 6px; color: var(--slate); font-size: clamp(15px, calc(1.05 * var(--vw)), 18px); line-height: 1.55; }
.ctr-answer {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: var(--r-tile);
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(16px, calc(1.2 * var(--vw)), 21px);
  line-height: 1.45;
}
.ctr-answer__mark { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--saffron); color: var(--ink); }
.ctr-why__photo { position: relative; margin: 0; }
.ctr-why__photo > img { width: 100%; aspect-ratio: 0.72; height: auto; object-fit: cover; border-radius: 160px 40px 40px 40px; }
.ctr-why__photo figcaption { position: absolute; left: -12%; bottom: 10%; }

/* ---------- Tabs with the list on the right ---------- */
@media (min-width: 1021px) {
  .inc--flip { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr); }
  .inc--flip .inc__tabs { order: 2; }
}

/* ---------- Contractor or employee? ---------- */
.ctr-check { padding: 0 16px clamp(72px, calc(7 * var(--vw)), 128px); }
.ctr-check__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1520px;
  margin: 0 auto;
  border-radius: var(--r-panel) 160px var(--r-panel) var(--r-panel);
  background: var(--ink);
  color: var(--white);
}
.ctr-check__bg { position: absolute; z-index: -2; top: 0; right: 0; width: 48%; height: 100%; object-fit: cover; opacity: 0.5; }
.ctr-check__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(50% 60% at 15% 100%, color-mix(in srgb, var(--saffron) 16%, transparent), transparent 70%),
    linear-gradient(90deg, var(--ink) 50%, color-mix(in srgb, var(--ink) 40%, transparent));
}
.ctr-check__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, calc(4 * var(--vw)), 80px);
  padding: clamp(48px, calc(6 * var(--vw)), 112px) clamp(20px, calc(5 * var(--vw)), 96px);
}
.ctr-check__copy .eor-lede { color: var(--ink-muted); }
.ctr-check__fine { margin-top: 18px; color: var(--ink-muted); font-size: 14px; opacity: 0.8; }
.ctr-meter { display: block; padding: clamp(18px, calc(1.8 * var(--vw)), 30px); border-radius: var(--r-card); }
.ctr-signs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sign {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.sign:hover { background: rgba(255, 255, 255, 0.08); }
.sign__box { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sign__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
  color: transparent;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.sign__box:checked + .sign__tick { background: var(--saffron); color: var(--ink); box-shadow: none; }
.sign:has(.sign__box:checked) { border-color: color-mix(in srgb, var(--saffron) 50%, transparent); background: color-mix(in srgb, var(--saffron) 10%, transparent); }
.sign:has(.sign__box:focus-visible) { outline: 3px solid var(--saffron); outline-offset: 2px; }

.ctr-gauge { margin-top: 22px; }
.ctr-gauge__bar { position: relative; height: 10px; border-radius: 10px; background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), color-mix(in srgb, var(--saffron) 50%, transparent)); }
.ctr-gauge__bar i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--saffron) 25%, transparent), 0 0 18px var(--saffron);
}
.ctr-gauge__ends { display: flex; justify-content: space-between; margin-top: 10px; color: var(--ink-muted); font-weight: 600; font-size: 13px; }
.ctr-gauge__verdict { margin-top: 16px; color: var(--ink-muted); font-size: 16px; line-height: 1.5; }
.ctr-gauge__verdict b { display: block; color: var(--white); font-size: 18px; }
.ctr-gauge__verdict[data-verdict="high"] b { color: var(--saffron); }
.ctr-gauge__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ctr-ghost { border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.06); color: var(--white); }
.ctr-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Pricing: two plans ---------- */
.plans {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: stretch;
  gap: 16px;
  max-width: 1100px;
  margin: clamp(32px, calc(3.5 * var(--vw)), 56px) auto 0;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, calc(3 * var(--vw)), 48px);
  border-radius: var(--r-panel);
  background: var(--white);
}
.plan--main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.plan--main::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -30%;
  top: -40%;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--saffron) 26%, transparent), transparent);
}
.plan__tag { align-self: flex-start; padding: 6px 14px; border-radius: var(--r-pill); background: var(--paper); font-weight: 700; font-size: 14px; }
.plan--main .plan__tag { background: var(--saffron); color: var(--ink); }
.plan .price__amount small, .plan .price__amount span { color: var(--slate); }
.plan--main .price__amount small, .plan--main .price__amount span { color: var(--ink-muted); }
.plan__lede { margin-top: 14px; color: var(--slate); font-size: 16px; line-height: 1.55; }
.plan--main .plan__lede { color: var(--ink-muted); }
.plan__list { display: grid; gap: 12px; margin: 24px 0 32px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.plan__list svg { flex: none; padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--saffron); color: var(--ink); }
.plan:not(.plan--main) .plan__list svg { background: var(--ink); color: var(--white); }
.plan__btn { margin-top: auto; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .ctr-why__grid, .ctr-check__inner, .plans { grid-template-columns: minmax(0, 1fr); }
  .ctr-why__photo { max-width: 520px; }
  .ctr-why__photo > img { aspect-ratio: 4 / 3; }
  .ctr-check__bg { width: 100%; opacity: 0.25; }
  .ctr-check__panel { border-radius: var(--r-card); }
  .ctr-hero .eor-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .ctr-hero .eor-hero__media { order: 2; }
}
@media (max-width: 600px) {
  .ctr-signs { grid-template-columns: minmax(0, 1fr); }
  .ctr-why__photo figcaption { position: relative; left: auto; bottom: auto; margin-top: 12px; }
  .ctr-hero .eor-hero__frame { border-radius: 32px 120px 32px 32px; }
  .ctr-hero .eor-hero__card { position: relative; left: auto; right: auto; bottom: auto; }
  .ctr-pains li { padding: 18px; gap: 14px; }
}
