/* Website cost calculator ([everline_calculator], calculator.php). Sits on top of
   everline-tweaks.css and service.css (sections, eyebrows, headings,
   plan rows, FAQ, buttons), loaded only on the calculator pages.
   Rose #BD006B, porcelain #FFFCF7, coffee bean #13070C, green #32E875.
   No dark section or box backgrounds. */

.el-calc { --calc-line: rgba(19,7,12,0.1); --calc-soft: rgba(19,7,12,0.6); }
.el-calc .el-calc-top { padding-top: 150px; padding-bottom: clamp(80px, 12vh, 140px); }
.el-calc .el-svc-h1 { max-width: none; }
.el-calc .el-svc-sub { margin-bottom: 40px; max-width: 58ch; }

/* ---- The step card ---- */
.el-calc-wiz {
  position: relative;
  max-width: 820px;
  background: #FFFFFF;
  border: 1px solid rgba(19,7,12,0.08);
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(19,7,12,0.1);
  overflow: clip;   /* clip, not hidden: hidden would stop the step header sticking */
}
.el-calc-progress { height: 5px; background: rgba(19,7,12,0.07); }
.el-calc-progress-fill { height: 100%; width: 25%; background: #32E875; transition: width 0.3s ease; }
.el-calc-wiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 28px;
  padding: 22px clamp(20px, 4vw, 40px) 0;
}
.el-calc-stepno { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(19,7,12,0.5); }
.el-calc-running { font-size: 14px; font-weight: 700; color: rgba(19,7,12,0.65); white-space: nowrap; }
.el-calc-running[hidden] { display: none; }
.el-calc-running-total { color: #BD006B; font-size: 18px; font-weight: 800; margin-left: 4px; }

.el-calc-form { padding: 14px clamp(20px, 4vw, 40px) 0; }
.el-calc-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.el-calc-step[hidden] { display: none; }
.el-calc-step legend {
  padding: 0;
  margin: 0 0 18px 0;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #13070C;
  outline: none;
}
.el-calc .el-calc-hint { margin: -6px 0 18px 0; font-size: 15px; line-height: 1.55; color: var(--calc-soft); max-width: 60ch; }
.el-calc .el-calc-sub-title { margin: 0 0 12px 0; font-size: 16px; font-weight: 800; color: #13070C; }
.el-calc .el-calc-gap { margin-top: 32px; }
.el-calc-sub { margin-top: 28px; }
.el-calc-sub[hidden] { display: none; }
.el-calc .el-calc-need { margin: 14px 0 0 0; font-size: 14px; font-weight: 700; color: #BD006B; }

/* Hidden inputs; the styled span is what people see and tap. */
.el-calc-chip input, .el-calc-opt input, .el-calc-addon input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.el-calc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.el-calc-chip { position: relative; cursor: pointer; }
.el-calc-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1.5px solid rgba(19,7,12,0.16);
  background: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  color: #13070C;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.el-calc-chip:hover span { border-color: rgba(189,0,107,0.5); }
.el-calc-chip input:checked + span { border-color: #BD006B; background: rgba(189,0,107,0.07); color: #BD006B; }
.el-calc-chip input:focus-visible + span { outline: 2px solid #32E875; outline-offset: 3px; }

/* Step 1: business type dropdown */
.el-calc-select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  max-width: 480px;
  min-height: 56px;
  box-sizing: border-box;
  padding: 14px 52px 14px 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(19,7,12,0.16);
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5L12.5 6' fill='none' stroke='%23BD006B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 16px 16px;
  font: 600 16px/1.4 'Plus Jakarta Sans', sans-serif;
  color: #13070C;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.el-calc-select.is-empty { color: rgba(19,7,12,0.55); }
.el-calc-select option { color: #13070C; font-weight: 500; }
.el-calc-select:hover { border-color: rgba(189,0,107,0.5); }
.el-calc-select:focus { outline: none; border-color: #BD006B; box-shadow: 0 0 0 3px rgba(189,0,107,0.12); }

/* Feature options and add-ons: a vertical list of checkbox rows, in labelled groups. */
.el-calc-opt-group, .el-calc-addon-group, .el-calc-included { border-bottom: 1px solid var(--calc-line); }
.el-calc-opt-group { margin-bottom: 28px; }
.el-calc-opt-group:last-child { margin-bottom: 0; }
/* Product count and shipping, nested under "Buy products online" */
.el-calc-opt-group .el-calc-sub { margin: 0 0 0 36px; padding: 2px 0 18px; }
.el-calc-sub .el-calc-opt { border-top: 0; margin-top: 16px; }
.el-calc-sub .el-calc-opt-box { padding: 0; }
.el-calc-opt, .el-calc-addon { position: relative; cursor: pointer; display: block; border-top: 1px solid var(--calc-line); }
.el-calc-addon[hidden] { display: none; }
.el-calc-opt-box {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 3px;
  padding: 16px 0;
}
.el-calc-tick {
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 6px;
  border: 1.5px solid rgba(19,7,12,0.3);
  box-sizing: border-box;
  background: #FFFFFF no-repeat center / 14px 14px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.el-calc-opt:hover .el-calc-tick, .el-calc-addon:hover .el-calc-tick { border-color: #BD006B; }
.el-calc-opt input:focus-visible + .el-calc-opt-box .el-calc-tick,
.el-calc-addon input:focus-visible + .el-calc-addon-box .el-calc-tick { outline: 2px solid #32E875; outline-offset: 3px; }
.el-calc-opt input:checked + .el-calc-opt-box .el-calc-tick,
.el-calc-addon input:checked + .el-calc-addon-box .el-calc-tick {
  border-color: #32E875;
  background-color: #32E875;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2313070C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.el-calc-opt-title, .el-calc-addon-name { font-size: 16px; font-weight: 700; line-height: 1.35; color: #13070C; }
.el-calc-opt-desc, .el-calc-addon-desc { grid-column: 2; font-size: 14px; line-height: 1.5; color: var(--calc-soft); }

/* Page stepper */
.el-calc-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(19,7,12,0.16);
  border-radius: 999px;
  background: #FFFFFF;
  padding: 4px;
}
.el-calc-pm {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(189,0,107,0.08);
  color: #BD006B;
  font: 700 22px/1 'Plus Jakarta Sans', sans-serif;
  cursor: pointer;
  transition: background 0.15s ease;
}
.el-calc-pm:hover { background: rgba(189,0,107,0.16); }
.el-calc-pm:focus-visible { outline: 2px solid #32E875; outline-offset: 2px; }
.el-calc-pm:disabled { opacity: 0.35; cursor: default; }
.el-calc-pm-val { min-width: 64px; text-align: center; font-size: 22px; font-weight: 800; color: #13070C; }

/* ---- Recommended package ---- */
.el-calc-rec { padding-top: 14px; }
.el-calc-plan {
  position: relative;
  border-radius: 20px;
  padding: 0 26px 12px;
  background: linear-gradient(rgba(50,232,117,0.14), rgba(50,232,117,0.14)), #FFFCF7;
  box-shadow: inset 0 4px 0 #32E875;
}
.el-calc-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 34px 0 18px; }
.el-calc-plan .el-svc-plan-name { margin: 0; font-size: 24px; }
.el-calc-plan .el-svc-plan-row { border-top-color: rgba(19,7,12,0.1); }
.el-calc .el-calc-custom-why { margin: 0 0 16px 0; font-size: 15px; line-height: 1.6; color: rgba(19,7,12,0.72); max-width: 60ch; }
.el-calc .el-calc-rec-note { margin: 16px 0 0 0; font-size: 15px; line-height: 1.55; font-weight: 600; color: rgba(19,7,12,0.72); }

/* On the last step the step header (with the running total) pins under the
   site header while people scroll through the add-ons. */
.el-calc-wiz.is-final .el-calc-wiz-top {
  position: sticky;
  top: var(--calc-hdr, 89px);   /* set from the real header height in calc.js */
  z-index: 5;
  background: #FFFFFF;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--calc-line);
}
.el-calc-wiz.is-final .el-calc-running { font-size: 15px; }
.el-calc-wiz.is-final .el-calc-running-total { font-size: 22px; }

/* ---- Last step: package, then add-ons, then the live total, one scroll ---- */
.el-calc-block { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--calc-line); }
.el-calc .el-calc-block-title { margin: 0 0 14px 0; font-size: 22px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; color: #13070C; }
.el-calc-block .el-calc-hint { margin-top: -4px; }

/* ---- Add-ons ---- */
.el-calc-addon-group { margin-bottom: 28px; }
.el-calc-addon-group:last-child { margin-bottom: 0; }
.el-calc .el-calc-group-label {
  margin: 4px 0 10px 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(19,7,12,0.5);
}
.el-calc-addon-box {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  column-gap: 14px;
  align-items: start;
  padding: 16px 0;
}
.el-calc-addon-box .el-calc-tick { grid-row: 1; }
.el-calc-addon-text { display: grid; gap: 4px; min-width: 0; }
.el-calc-addon-desc { grid-column: auto; }
.el-calc-addon-price { font-size: 15px; font-weight: 800; color: #BD006B; white-space: nowrap; text-align: right; padding-top: 1px; }

/* What the package already includes: ticked, greyed and locked */
.el-calc-included { margin-top: 36px; }
.el-calc-addon.is-included { cursor: default; }
.el-calc-addon.is-included .el-calc-addon-box { padding: 12px 0; opacity: 0.55; }
.el-calc-addon.is-included:hover .el-calc-tick { border-color: #32E875; }
.el-calc-addon.is-included .el-calc-addon-price { color: #13070C; font-size: 14px; font-weight: 700; }

/* ---- The total ---- */
.el-calc-card-pkg { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(19,7,12,0.5); margin: 0 0 10px 0; }
.el-calc .el-calc-lines, .el-calc .el-calc-facts { list-style: none; padding: 0; margin: 0; }
.el-calc-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--calc-line);
  font-size: 15px;
  line-height: 1.4;
}
.el-calc-lines li span:first-child { color: rgba(19,7,12,0.72); font-weight: 600; }
.el-calc-lines li span:last-child { font-weight: 700; white-space: nowrap; }
.el-calc-lines li.is-incl span:last-child { color: rgba(19,7,12,0.5); font-weight: 600; }
.el-calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0 18px;
  border-top: 2px solid #13070C;
  font-weight: 800;
  font-size: 17px;
}
.el-calc-total { font-size: clamp(34px, 4.4vw, 44px); letter-spacing: -0.03em; line-height: 1; color: #BD006B; word-spacing: 0.16em; }
.el-calc .el-calc-facts { display: grid; gap: 8px; }
.el-calc-facts li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.5; color: rgba(19,7,12,0.68); }
.el-calc-facts li::before { content: ''; position: absolute; left: 0; top: 10px; width: 12px; height: 2px; background: #32E875; }

/* "See my price": the short calculating screen between step 3 and the result */
.el-calc-working { padding: 28px clamp(20px, 4vw, 40px) 56px; min-height: 280px; box-sizing: border-box; }
.el-calc-working[hidden] { display: none; }
.el-calc-wiz.is-working .el-calc-form,
.el-calc-wiz.is-working .el-calc-nav { display: none; }
.el-calc-wiz.is-working .el-calc-progress-fill { transition-duration: 1.4s; }
.el-calc-spin {
  display: block;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 3px solid rgba(189,0,107,0.14);
  border-top-color: #BD006B;
  animation: el-calc-spin 0.8s linear infinite;
}
@keyframes el-calc-spin { to { transform: rotate(360deg); } }
.el-calc .el-calc-working-head { margin: 20px 0 16px 0; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #13070C; outline: none; }
.el-calc .el-calc-working-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.el-calc-working-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: rgba(19,7,12,0.72);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.el-calc-working-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #32E875 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%2313070C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 13px 13px;
}
.el-calc-working-list li.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .el-calc-spin { animation: none; border-color: #BD006B; }
  .el-calc-working-list li { transition: none; transform: none; }
}

/* Send block, under the total on the last step */
.el-calc-send-wrap { margin: 28px clamp(20px, 4vw, 40px) 0; padding-top: 26px; border-top: 1px solid var(--calc-line); }
.el-calc-send-wrap[hidden], .el-calc-send[hidden], .el-calc-done[hidden] { display: none; }
.el-calc .el-calc-send-title { margin: 0 0 4px 0; font-size: 20px; font-weight: 800; color: #13070C; }
.el-calc .el-calc-send-intro { margin: 0 0 18px 0; font-size: 15px; line-height: 1.55; color: rgba(19,7,12,0.68); }
.el-calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.el-calc-field { display: grid; gap: 6px; }
.el-calc-field label { font-size: 14px; font-weight: 700; color: #13070C; }
.el-calc-field input {
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1.5px solid rgba(19,7,12,0.16);
  background: #FFFCF7;
  font: 500 16px/1.4 'Plus Jakarta Sans', sans-serif;
  color: #13070C;
}
.el-calc-field input:focus { outline: none; border-color: #BD006B; box-shadow: 0 0 0 3px rgba(189,0,107,0.12); }
.el-calc-send-btn { width: 100%; border: 0; cursor: pointer; font-family: inherit; text-align: center; }
.el-calc .el-calc-privacy { margin: 14px 0 0 0; font-size: 13px; line-height: 1.5; color: rgba(19,7,12,0.6); text-align: center; }
.el-calc-privacy a { color: inherit; }
.el-calc .el-calc-status { margin: 6px 0 0 0; font-size: 14px; color: #BD006B; }
.el-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.el-calc-done { text-align: center; padding: 4px 0 0; }
.el-calc-done-icon { width: 44px; height: 44px; margin-bottom: 12px; }
.el-calc-done-icon svg { width: 22px; height: 22px; }
.el-calc .el-calc-done-head { margin: 0 0 8px 0; font-size: 20px; font-weight: 800; outline: none; }
.el-calc .el-calc-done-sub { margin: 0 0 18px 0; font-size: 15px; line-height: 1.55; color: rgba(19,7,12,0.72); }

/* Back / Next */
.el-calc-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px clamp(20px, 4vw, 40px) 30px;
}
.el-calc-nav .el-calc-next { margin-left: auto; border: 0; cursor: pointer; font-family: inherit; min-height: 48px; }
.el-calc-nav .el-calc-next[hidden], .el-calc-back[hidden] { display: none; }
.el-calc-back {
  border: 0;
  background: none;
  padding: 12px 4px;
  font: 700 15px/1 'Plus Jakarta Sans', sans-serif;
  color: rgba(19,7,12,0.6);
  cursor: pointer;
}
.el-calc-back:hover { color: #BD006B; }
.el-calc-back:focus-visible { outline: 2px solid #32E875; outline-offset: 2px; border-radius: 6px; }
.el-calc-wiz.is-final .el-calc-nav { padding-top: 18px; }

/* ---- How it works + price table ---- */
.el-calc .el-calc-prose { max-width: 66ch; }
.el-calc .el-calc-prose p, .el-calc p.el-calc-prose { font-size: 17px; line-height: 1.7; color: rgba(19,7,12,0.72); margin: 0 0 18px 0; }
.el-calc-prose a { color: #BD006B; font-weight: 600; }
.el-calc .el-calc-table-head { font-size: 20px; font-weight: 800; margin: 44px 0 16px 0; }
.el-calc-table-wrap { max-width: 720px; border: 1px solid rgba(19,7,12,0.1); border-radius: 18px; overflow: hidden; background: #FFFFFF; }
.el-calc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.el-calc-table th { text-align: left; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(19,7,12,0.5); padding: 14px 20px; background: rgba(50,232,117,0.12); }
.el-calc-table td { padding: 13px 20px; border-top: 1px solid var(--calc-line); line-height: 1.45; vertical-align: top; }
.el-calc-table td:last-child, .el-calc-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.el-calc .el-calc-compare { margin-top: 36px; }

@media (max-width: 640px) {
  .el-calc .el-calc-top { padding-top: 120px; }
  /* The card runs to 12px from the screen edge; its own padding keeps text 30px+ in. */
  .el-calc-wiz { border-radius: 20px; margin-left: calc(12px - clamp(24px, 8vw, 104px)); margin-right: calc(12px - clamp(24px, 8vw, 104px)); }
  .el-calc-form, .el-calc-wiz-top, .el-calc-nav { padding-left: 18px; padding-right: 18px; }
  .el-calc-send-wrap, .el-calc-working { margin-left: 18px; margin-right: 18px; }
  .el-calc-working { padding-left: 0; padding-right: 0; }
  .el-calc-sub .el-calc-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .el-calc-sub .el-calc-chip span { width: 100%; justify-content: center; padding: 0 10px; }
  .el-calc-fields { grid-template-columns: minmax(0, 1fr); }
  .el-calc-plan { padding: 0 18px 10px; }
  .el-calc-plan-head { flex-direction: column; gap: 10px; padding-top: 30px; }
  .el-calc-plan .el-svc-plan-price { font-size: 32px; }
  .el-calc-addon-box { grid-template-columns: 24px minmax(0, 1fr); row-gap: 8px; }
  .el-calc-addon-price { grid-column: 2; text-align: left; }
  .el-calc-running { font-size: 13px; }
  .el-calc-running-total { font-size: 16px; }
  .el-calc-table th, .el-calc-table td { padding-left: 14px; padding-right: 14px; }
  .el-calc-table td:last-child { white-space: normal; }
}
