/* =========================================================
   Cefarch homepage enhancement blocks
   Extracted and namespaced from the supplied standalone HTML demos.
   All classes use cef-* to avoid collisions with the existing site.
   ========================================================= */

.cef-block {
  --cef-ink: var(--text-1, #0a0a0a);
  --cef-muted: var(--text-2, #6b6b70);
  --cef-line: var(--border, #e7e7e9);
  --cef-card: var(--white, #fff);
}

.cef-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--cef-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.cef-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cef-ink);
}

/* ---------- Scroll-highlight statement ---------- */
.cef-scroll-wrap {
  --cef-dim: #cfcfce;
  position: relative;
  height: 520vh;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--white);
}

.cef-scroll-stage {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 max(8vw, 24px);
}

.cef-scroll-kicker {
  position: absolute;
  top: 38px;
  left: max(8vw, 24px);
}

.cef-scroll-progress {
  position: absolute;
  left: 5vw;
  top: 50%;
  width: 2px;
  height: 120px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--border);
  transform: translateY(-50%);
}

.cef-scroll-progress__fill {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0;
  background: var(--cef-ink);
}

.cef-scroll-headline {
  max-width: 1000px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.cef-scroll-headline .cef-static { color: var(--cef-ink); }

.cef-scroll-word {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(90deg, var(--cef-ink) 0%, var(--cef-ink) 50%, var(--cef-dim) 50%, var(--cef-dim) 100%);
  background-position: 100% 0;
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
}

.cef-scroll-hint {
  position: absolute;
  bottom: 38px;
  left: max(8vw, 24px);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cef-muted);
  font-size: 11.5px;
  transition: opacity .4s ease;
}

.cef-scroll-hint svg {
  width: 14px;
  height: 14px;
  animation: cefHintBob 1.6s ease-in-out infinite;
}

@keyframes cefHintBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* ---------- Before / after reveal ---------- */
.cef-compare-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.cef-compare-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cef-compare-title {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.cef-compare-lede {
  max-width: 44ch;
  margin: 0 auto 34px;
  color: var(--cef-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.cef-reveal {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 24px;
  background: #111;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.35);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.cef-reveal > img,
.cef-reveal__after img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.cef-reveal__after {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}

.cef-reveal__badge {
  position: absolute;
  top: 16px;
  z-index: 3;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10,10,10,.55);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.cef-reveal__badge--before { left: 16px; }
.cef-reveal__badge--after { right: 16px; }

.cef-reveal__handle {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  transform: translateX(-50%);
}

.cef-reveal__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 12px rgba(0,0,0,.4);
  transform: translateX(-50%);
}

.cef-reveal__knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  transform: translate(-50%, -50%);
}

.cef-reveal__knob svg { width: 18px; height: 18px; }

.cef-reveal-caption {
  margin-top: 18px;
  color: var(--cef-muted);
  font-size: 12.5px;
}

.cef-reveal-caption b { color: var(--cef-ink); font-weight: 600; }

/* ---------- Video reel ---------- */
.cef-reel-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--border-soft);
}

.cef-reel-inner { max-width: 1080px; margin: 0 auto; }

.cef-reel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 26px;
  background: #111;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.35);
}

.cef-reel video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cef-reel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,0) 32%, rgba(0,0,0,.55) 78%, rgba(0,0,0,.72) 100%);
  pointer-events: none;
}

.cef-reel__controls {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 8px;
}

.cef-reel__controls button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.4);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .2s ease;
}

.cef-reel__controls button:hover { background: rgba(0,0,0,.6); }
.cef-reel__controls svg { width: 16px; height: 16px; }

.cef-reel__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 34px 30px;
  color: #fff;
}

.cef-reel__tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cef-reel__content h3 {
  max-width: 26ch;
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.cef-reel__content p {
  max-width: 42ch;
  margin: 0 0 20px;
  color: rgba(255,255,255,.8);
  font-size: 13.5px;
  line-height: 1.55;
}

.cef-reel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  background: #fff;
  color: #0a0a0a;
  font-size: 13px;
  font-weight: 700;
  transition: transform .15s ease, opacity .15s ease;
}

.cef-reel__link:hover { transform: translateY(-1px); opacity: .92; }

.cef-reel__note {
  margin-top: 14px;
  color: var(--cef-muted);
  font-size: 11.5px;
  text-align: center;
}

/* ---------- Statistics strip ---------- */
.cef-stats-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--border-soft);
}

.cef-stats-inner { max-width: 980px; margin: 0 auto; }

.cef-stats-head {
  margin-bottom: 44px;
  text-align: center;
}

.cef-stats-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.cef-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-top: 1px solid var(--cef-line);
  border-left: 1px solid var(--cef-line);
  border-radius: 20px;
}

.cef-stat {
  padding: 34px 20px;
  border-right: 1px solid var(--cef-line);
  border-bottom: 1px solid var(--cef-line);
  background: var(--cef-card);
  text-align: center;
  transition: background .3s ease;
}

.cef-stat:hover { background: #fafafa; }

.cef-stat__icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--cef-ink);
}

.cef-stat__icon svg { width: 100%; height: 100%; }

.cef-stat__number {
  font-size: 38px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.02em;
}

.cef-stat__suffix { font-size: 26px; font-weight: 700; }

.cef-stat__label {
  margin-top: 10px;
  color: var(--cef-muted);
  font-size: 12.5px;
  font-weight: 500;
}

/* ---------- Testimonials carousel ---------- */
.cef-testimonials-section {
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid var(--border-soft);
}

.cef-testimonials-inner { max-width: 1080px; margin: 0 auto; }

.cef-testimonials-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}

.cef-testimonials-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.cef-testimonials-nav {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cef-testimonials-nav button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cef-line);
  border-radius: 50%;
  background: var(--white);
  color: var(--cef-ink);
  transition: background .2s ease, border-color .2s ease, opacity .2s ease;
}

.cef-testimonials-nav button:hover { background: #f7f7f7; }
.cef-testimonials-nav button:disabled { opacity: .3; cursor: default; }
.cef-testimonials-nav svg { width: 18px; height: 18px; }

.cef-testimonials-wrap {
  position: relative;
  margin: 0 -20px;
  padding: 0 20px;
}

.cef-testimonials-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
}

.cef-testimonials-carousel::-webkit-scrollbar { display: none; }
.cef-testimonials-carousel.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.cef-testimonial-card {
  width: 320px;
  min-height: 286px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--cef-line);
  border-radius: 20px;
  background: #fafafa;
  scroll-snap-align: start;
}

.cef-testimonial-quote-mark {
  margin-bottom: 2px;
  color: var(--cef-ink);
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
  opacity: .12;
}

.cef-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.cef-stars svg { width: 15px; height: 15px; }
.cef-star-filled { fill: #0a0a0a; stroke: none; }
.cef-star-empty { fill: none; stroke: #d0d0d3; stroke-width: 1.5; }

.cef-testimonial-quote {
  flex: 1;
  margin: 0 0 22px;
  color: var(--cef-ink);
  font-size: 14px;
  line-height: 1.65;
}

.cef-testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--cef-line);
}

.cef-testimonial-person img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.cef-testimonial-name { font-size: 13.5px; font-weight: 700; }
.cef-testimonial-role { margin-top: 1px; color: var(--cef-muted); font-size: 12px; }


.cef-testimonial-avatar-fallback {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ececea;
  color: #575757;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .02em;
}

.cef-testimonial-compose {
  margin: -6px 0 30px;
}

.cef-testimonial-compose__guest,
.cef-testimonial-form {
  border: 1px solid var(--cef-line);
  border-radius: 18px;
  background: #fafafa;
}

.cef-testimonial-compose__guest[hidden],
.cef-testimonial-form[hidden],
.cef-testimonials-empty[hidden] { display: none !important; }

.cef-testimonial-compose__guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}

.cef-testimonial-compose__guest p {
  margin: 0;
  color: var(--cef-muted);
  font-size: 13px;
  line-height: 1.5;
}

.cef-testimonial-compose__guest-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.cef-testimonial-compose__guest .btn {
  min-height: 38px;
  padding: 9px 15px;
  font-size: 12px;
}

.cef-testimonial-form {
  padding: 20px;
}

.cef-testimonial-form__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.cef-testimonial-form__top > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cef-testimonial-form__top strong {
  font-size: 14px;
  color: var(--cef-ink);
}

.cef-testimonial-form__top span,
.cef-testimonial-type > span,
.cef-testimonial-rating > span {
  color: var(--cef-muted);
  font-size: 11px;
  line-height: 1.4;
}

.cef-testimonial-type {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 140px;
}

.cef-testimonial-type select {
  height: 38px;
  border: 1px solid var(--cef-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cef-ink);
  padding: 0 34px 0 11px;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.cef-testimonial-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cef-testimonial-rating__stars {
  display: flex;
  gap: 2px;
}

.cef-testimonial-rating__stars button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #d2d2d2;
  padding: 0;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
}

.cef-testimonial-rating__stars button:hover { transform: translateY(-1px); }
.cef-testimonial-rating__stars button.is-active { color: #0a0a0a; }

.cef-testimonial-form textarea {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  border: 1px solid var(--cef-line);
  border-radius: 13px;
  background: #fff;
  color: var(--cef-ink);
  padding: 13px 14px;
  font: inherit;
  font-size: 13px;
  line-height: 1.55;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.cef-testimonial-form textarea:focus,
.cef-testimonial-type select:focus {
  border-color: #a6a6a6;
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
}

.cef-testimonial-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.cef-testimonial-form__message {
  min-height: 18px;
  color: var(--cef-muted);
  font-size: 11.5px;
}

.cef-testimonial-form__actions .btn {
  min-height: 40px;
  padding: 10px 17px;
  font-size: 12px;
  flex: 0 0 auto;
}

.cef-testimonials-empty {
  padding: 42px 20px;
  border: 1px dashed var(--cef-line);
  border-radius: 20px;
  color: var(--cef-muted);
  background: #fafafa;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 899px) {
  .cef-scroll-progress { display: none; }
}

@media (max-width: 720px) {
  .cef-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cef-testimonial-card { width: min(84vw, 320px); }
}

@media (max-width: 640px) {
  .cef-scroll-wrap { height: 430vh; }
  .cef-scroll-stage { min-height: 460px; }
  .cef-scroll-kicker { top: 28px; }
  .cef-scroll-hint { bottom: 28px; }

  .cef-compare-section,
  .cef-reel-section,
  .cef-stats-section,
  .cef-testimonials-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .cef-compare-title,
  .cef-stats-head h2,
  .cef-testimonials-head h2 { font-size: 26px; }

  .cef-reel { aspect-ratio: 4 / 5; border-radius: 22px; }
  .cef-reel__content { padding: 28px 22px 22px; }
  .cef-reel__content h3 { font-size: 23px; }
  .cef-reel__note { padding: 0 12px; }

  .cef-testimonials-head { align-items: center; }

  .cef-testimonial-compose__guest,
  .cef-testimonial-form__top,
  .cef-testimonial-form__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cef-testimonial-compose__guest-actions { width: 100%; }
  .cef-testimonial-compose__guest-actions .btn { flex: 1; text-align: center; }
  .cef-testimonial-type { width: 100%; }
  .cef-testimonial-form__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cef-scroll-hint svg { animation: none; }
  .cef-testimonials-carousel { scroll-behavior: auto; }
}

/* =========================================================
   Services selector + price calculator
   ========================================================= */
.cef-services {
  position: relative;
  scroll-margin-top: 86px;
}

.cef-services__head {
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.cef-services__head h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
}

.cef-services__head p {
  max-width: 570px;
  margin: 14px auto 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.65;
}

.cef-services__tabs {
  width: fit-content;
  display: flex;
  gap: 3px;
  margin: 0 auto 28px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #e9e9e7;
}

.cef-services__tab {
  min-width: 132px;
  border: 0;
  border-radius: 9px;
  padding: 10px 22px;
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 650;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.cef-services__tab:hover { color: var(--text-1); }
.cef-services__tab.is-active {
  background: var(--white);
  color: var(--text-1);
  box-shadow: 0 1px 2px rgba(15,15,14,.08), 0 4px 12px rgba(15,15,14,.04);
}
.cef-services__tab:active { transform: scale(.98); }

.cef-services__body {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr);
  gap: 22px;
  align-items: start;
}

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

.cef-service-card {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 21px 48px 20px 20px;
  background: rgba(255,255,255,.82);
  color: var(--text-1);
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.cef-service-card:hover {
  transform: translateY(-2px);
  border-color: #cbc9c4;
  box-shadow: 0 14px 28px -20px rgba(16,15,10,.28);
}

.cef-service-card.is-selected {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
  box-shadow: 0 22px 44px -28px rgba(0,0,0,.65);
}

.cef-service-card__name {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.01em;
}

.cef-service-card__desc {
  display: block;
  min-height: 38px;
  margin-bottom: 17px;
  color: var(--text-2);
  font-size: 12.8px;
  font-weight: 450;
  line-height: 1.45;
  transition: color .2s ease;
}

.cef-service-card.is-selected .cef-service-card__desc { color: rgba(255,255,255,.66); }

.cef-service-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 15px;
  font-weight: 750;
}

.cef-service-card__price small {
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 500;
  transition: color .2s ease;
}

.cef-service-card.is-selected .cef-service-card__price small { color: rgba(255,255,255,.55); }

.cef-service-card__check {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 20px;
  height: 20px;
  border: 1.5px solid #c8c7c3;
  border-radius: 50%;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.cef-service-card.is-selected .cef-service-card__check {
  border-color: #fff;
  background: #fff;
  transform: scale(1.04);
}

.cef-service-card.is-selected .cef-service-card__check::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--black);
}

.cef-services__calc {
  position: sticky;
  top: 94px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 25px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 55px -42px rgba(16,15,10,.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cef-services__calc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.cef-services__calc-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cef-services__calc h3 {
  max-width: 280px;
  font-size: 19px;
  line-height: 1.25;
}

.cef-services__calc-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text-1);
}
.cef-services__calc-icon svg { width: 21px; height: 21px; }

.cef-services__input-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 650;
}

.cef-services__input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 11px 14px;
  background: var(--bg);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.cef-services__input-row:focus-within {
  border-color: #b9b7b2;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(18,18,16,.06);
}

.cef-services__input-row input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-1);
  font: inherit;
  font-size: 22px;
  font-weight: 720;
}
.cef-services__input-row input::placeholder { color: #b1afaa; font-weight: 550; }
.cef-services__input-row input::-webkit-inner-spin-button,
.cef-services__input-row input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.cef-services__input-row span { color: var(--text-2); font-size: 14px; font-weight: 600; }

.cef-services__summary {
  display: grid;
  gap: 9px;
}

.cef-services__summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-2);
  font-size: 13px;
}

.cef-services__summary-row strong {
  max-width: 56%;
  color: var(--text-1);
  font-weight: 680;
  text-align: right;
}

.cef-services__divider {
  height: 1px;
  margin: 20px 0;
  background: var(--border);
}

.cef-services__result-label {
  margin-bottom: 3px;
  color: var(--text-2);
  font-size: 12.5px;
}

.cef-services__result {
  font-family: var(--font-display);
  font-variation-settings: 'opsz' 32;
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 760;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.cef-services__note {
  margin-top: 12px;
  color: var(--text-3);
  font-size: 11.5px;
  line-height: 1.55;
}

.cef-services__cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  border-radius: 12px;
  padding: 13px 18px;
  background: var(--black);
  color: #fff;
  font-size: 13.5px;
  font-weight: 680;
  transition: transform .15s ease, background .15s ease;
}
.cef-services__cta:hover { transform: translateY(-1px); background: #000; }
.cef-services__cta span { transition: transform .15s ease; }
.cef-services__cta:hover span { transform: translateX(3px); }

@media (max-width: 900px) {
  .cef-services__body { grid-template-columns: 1fr; }
  .cef-services__calc { position: static; }
}

@media (max-width: 620px) {
  .cef-services__head { margin-bottom: 28px; }
  .cef-services__head h2 { font-size: 29px; }
  .cef-services__tabs { width: 100%; }
  .cef-services__tab { min-width: 0; flex: 1; padding: 10px 14px; }
  .cef-services__styles { grid-template-columns: 1fr; }
  .cef-service-card { min-height: 0; padding: 19px 46px 18px 18px; }
  .cef-service-card__desc { min-height: 0; }
  .cef-services__calc { padding: 21px; border-radius: 18px; }
  .cef-services__calc-icon { width: 38px; height: 38px; }
}
