/* Cererea de ofertă: același limbaj vizual cu pagina de prețuri. */
.offer-hero {
  padding-block: 64px 40px;
}
.offer-hero h1 {
  margin-top: 20px;
  font-size: clamp(34px, 3.8vw, 52px);
  line-height: 1.2;
  letter-spacing: -2.4px;
}
.offer-hero h1 span {
  color: var(--blue);
}
.offer-hero h1 + p {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.85;
}

.offer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
  padding-bottom: 104px;
}

.offer-form {
  display: grid;
  gap: 22px;
}
.offer-block {
  margin: 0;
  padding: 30px 32px 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.offer-block legend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  margin-left: -10px;
  font: 700 18px/1.4 var(--heading);
  letter-spacing: -0.4px;
}
.offer-block legend span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font: 600 10px/1 var(--font);
  letter-spacing: 0.5px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  margin-top: 14px;
}
.offer-field {
  display: grid;
  gap: 7px;
  align-content: start;
}
.offer-field-wide {
  margin-top: 18px;
}
.offer-field label,
.offer-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.offer-field em,
.offer-label em {
  margin-left: 6px;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.offer-field input,
.offer-field select,
.offer-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfd9e2;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: 15px/1.5 var(--font);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.offer-field textarea {
  min-height: 120px;
  resize: vertical;
}
.offer-field input:focus,
.offer-field select:focus,
.offer-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1675bd22;
}
.offer-field [aria-invalid="true"] {
  border-color: #b3403a;
}

.offer-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.offer-plan {
  position: relative;
  cursor: pointer;
}
.offer-plan input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.offer-plan-body {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 18px 20px 18px 48px;
  border: 1px solid #cfd9e2;
  border-radius: 9px;
  background: #fff;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.offer-plan-body::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 21px;
  width: 16px;
  height: 16px;
  border: 1px solid #b9c7d3;
  border-radius: 50%;
  background: #fff;
}
.offer-plan-body strong {
  font: 700 16px/1.4 var(--heading);
}
.offer-plan-body small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.offer-plan input:checked + .offer-plan-body {
  border-color: var(--ink);
  background: #f7f9fb;
}
.offer-plan input:checked + .offer-plan-body::before {
  border: 5px solid var(--ink);
}
.offer-plan input:focus-visible + .offer-plan-body {
  box-shadow: 0 0 0 3px #1675bd33;
}

.offer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.offer-chips label {
  position: relative;
  cursor: pointer;
}
.offer-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.offer-chips span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #cfd9e2;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.offer-chips input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.offer-chips input:focus-visible + span {
  box-shadow: 0 0 0 3px #1675bd33;
}

.offer-submit {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 6px 2px 0;
}
.offer-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
  cursor: pointer;
}
.offer-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--ink);
}
.offer-submit .button {
  min-width: 250px;
  justify-content: space-between;
}
.offer-submit .button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.offer-privacy {
  color: var(--muted);
  font-size: 12px;
}

.offer-error {
  min-height: 0;
  color: #b3403a;
  font-size: 12.5px;
  line-height: 1.5;
}
.offer-error:empty {
  display: none;
}

.offer-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.offer-notice {
  display: none;
  margin-bottom: 22px;
  border-radius: 10px;
}
.offer-notice:target,
.offer-notice.is-visible {
  display: block;
}
.offer-success {
  padding: 34px 34px 30px;
  border: 1px solid #cfe0cf;
  background: #f6faf4;
}
.offer-success h2 {
  margin-top: 12px;
  font-size: 28px;
  letter-spacing: -0.8px;
}
.offer-success p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.offer-success a:not(.pricing-text-link) {
  color: var(--blue);
}
.offer-failure {
  padding: 16px 20px;
  border: 1px solid #ecc9c5;
  background: #fdf5f4;
  color: #8f2f2f;
  font-size: 14px;
  line-height: 1.7;
}
.offer-failure a {
  color: inherit;
  text-decoration: underline;
}
.offer-page.is-sent .offer-form {
  display: none;
}

.offer-aside {
  position: sticky;
  top: 118px;
  padding: 32px 30px 30px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.offer-aside .eyebrow {
  color: #8cc4ef;
}
.offer-aside h2 {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.8px;
}
.offer-aside ol {
  display: grid;
  gap: 20px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.offer-aside li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid #ffffff1f;
}
.offer-aside li > span {
  color: #8fa3b5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding-top: 3px;
}
.offer-aside h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.offer-aside li p {
  margin-top: 4px;
  color: #b8c6d2;
  font-size: 13px;
  line-height: 1.7;
}
.offer-aside-contact {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ffffff1f;
}
.offer-aside-contact span {
  color: #8fa3b5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
}
.offer-aside-contact a {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 960px) {
  .offer-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .offer-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .offer-hero {
    padding-block: 40px 28px;
  }
  .offer-hero h1 {
    letter-spacing: -1.4px;
  }
  .offer-block {
    padding: 22px 18px 24px;
  }
  .offer-grid,
  .offer-plans {
    grid-template-columns: 1fr;
  }
  .offer-submit .button {
    width: 100%;
    min-width: 0;
  }
  .offer-success {
    padding: 26px 20px 24px;
  }
  .offer-layout {
    padding-bottom: 64px;
  }
}
