/* ═══════════════════════════════════════
   PAGE: Калькулятор терміну окупності КРП
   Scoped under #cvr-page
   ═══════════════════════════════════════ */

/* ── Variables ── */
#cvr-page {
  --navy:        #080808;
  --navy-mid:    #111111;
  --navy-light:  #1a1a1a;
  --slate:       #2a3f5f;
  --pq-blue:     #1e88e5;
  --blue-bright: #42a5f5;
  --cyan:        #00e5ff;
  --orange:      #ff8f00;
  --orange-light:#ffab40;
  --pq-white:    #f5f7fa;
  --pq-gray:     #9aa5b4;
  --font-head:   'Mulish', sans-serif;
  --font-body:   'Mulish', sans-serif;

  font-family: var(--font-body);
  color: var(--pq-white);
  line-height: 1.7;
  overflow-x: hidden;
}

#cvr-page *, #cvr-page *::before, #cvr-page *::after {
  box-sizing: border-box;
}

#cvr-page .accent { color: var(--orange); }

/* ── Blurred gradient glow background ── */
#cvr-page .pq-glow-bg {
  position: absolute;
  z-index: 1;
  width: 1583px;
  height: 780px;
  pointer-events: none;
}

#cvr-page .pq-glow-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(0);
  filter: blur(150px);
}

#cvr-page .pq-glow-bg--hero {
  top: -300px;
  left: -500px;
}

#cvr-page .pq-glow-bg--tech {
  top: -380px;
  left: -600px;
}

#cvr-page .pq-glow-bg--research {
  top: -300px;
  left: -600px;
}

#cvr-page .pq-glow-bg--process {
  top: -350px;
  left: -600px;
}

#cvr-page .pq-glow-bg--cta {
  top: -200px;
  left: -600px;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
#cvr-page .hero {
  position: relative;
  min-height: auto;
  overflow: hidden;
  background: #080808;
}

#cvr-page .hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -100px;
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(30,100,220,.35) 0%, rgba(0,80,200,.15) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}


#cvr-page .hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0 80px;
}

#cvr-page .hero-content {
  position: relative;
  z-index: 2;
}

/* ── Hero images (stacked) ── */
#cvr-page .hero-images {
  position: relative;
  min-height: 380px;
}

#cvr-page .hero-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}

#cvr-page .hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

#cvr-page .hero-img--back {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  z-index: 1;
}

#cvr-page .hero-img--front {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85%;
  z-index: 2;
}

#cvr-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.1);
  animation: cvrFadeInUp .8s ease-out;
}

#cvr-page .hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: cvrBlink 2s infinite;
}

@keyframes cvrBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}

@keyframes cvrFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

#cvr-page .hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 32px;
  color: #fff;
  animation: cvrFadeInUp .8s ease-out .1s both;
}

#cvr-page .hero h1 span {
  color: #fff;
}

#cvr-page .hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  line-height: 1.7;
  animation: cvrFadeInUp .8s ease-out .2s both;
}

#cvr-page .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: cvrFadeInUp .8s ease-out .3s both;
}

/* ── Accent (pink) button ── */
#cvr-page .pq-btn-accent {
  background: #0076ef;
  color: #fff;
  box-shadow: none;
}

#cvr-page .pq-btn-accent:hover {
  background: #0076ef;
  transform: none;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
}

/* ── Buttons ── */
#cvr-page .pq-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: all .3s ease;
  cursor: pointer;
  border: none;
}

#cvr-page .pq-btn-primary {
  background: #0076ef;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,118,239,.3);
}

#cvr-page .pq-btn-primary:hover {
  background: #005fc4;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,118,239,.4);
  color: #fff;
  text-decoration: none;
}

#cvr-page .pq-btn-outline {
  background: transparent;
  color: var(--pq-white);
  border: 1px solid var(--slate);
}

#cvr-page .about-cta .pq-btn-outline {
  color: #0076ef;
  border-color: #0076ef;
}

#cvr-page .pq-btn-outline:hover {
  border-color: #0076ef;
  color: #0076ef;
  background: rgba(0,118,239,.06);
  text-decoration: none;
}

/* ═══════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════ */
#cvr-page .pq-section {
  padding: 100px 0;
}

#cvr-page .section-label {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 23px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#cvr-page .section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

#cvr-page .section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

#cvr-page .section-desc {
  color: var(--pq-gray);
  font-size: 1.2rem;
  max-width: 640px;
}

/* ═══════════════════════════════════════
   ABOUT SERVICE (Про сервіс)
   ═══════════════════════════════════════ */
#cvr-page .about-service {
  background: #f4f5fd;
  position: relative;
}

#cvr-page .about-service .section-label { color: var(--pq-blue); }
#cvr-page .about-service .section-desc { color: #4a5568; }
#cvr-page .about-service .section-title {
  color: var(--navy);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
}

#cvr-page .about-service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

#cvr-page .about-service-video {
  position: relative;
}

#cvr-page .about-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

#cvr-page .about-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#cvr-page .about-checklist {
  list-style: none;
  padding: 0;
  margin: 32px 0 36px;
}

#cvr-page .about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  color: #4a5568;
  font-size: 1.1rem;
  line-height: 1.6;
}

#cvr-page .about-checklist li:last-child {
  margin-bottom: 0;
}

#cvr-page .about-checklist .check-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

#cvr-page .about-cta {
  margin-top: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   CVR TECHNOLOGY
   ═══════════════════════════════════════ */
#cvr-page .cvr-tech {
  background: #080808;
  position: relative;
  overflow: hidden;
}

#cvr-page .cvr-tech .section-label { color: #fff; }
#cvr-page .cvr-tech .section-title { color: #fff; }

#cvr-page .cvr-tech > .container {
  position: relative;
  z-index: 2;
}

#cvr-page .cvr-tech::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.2), transparent);
}

#cvr-page .cvr-tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

#cvr-page .cvr-tech-text p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

#cvr-page .cvr-tech-text a {
  color: var(--blue-bright);
  text-decoration: underline;
  transition: color .3s;
}

#cvr-page .cvr-tech-text a:hover {
  color: var(--cyan);
}

#cvr-page .cvr-ieee-box {
  background: rgba(0,118,239,.08);
  border-left: 3px solid #0076ef;
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin-top: 24px;
}

#cvr-page .cvr-ieee-box p {
  color: #c0c8d4;
  font-size: .95rem;
  margin-bottom: 0;
}

#cvr-page .cvr-ieee-box strong {
  color: #fff;
}

/* ── CVR Tech image ── */
#cvr-page .cvr-tech-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,118,239,.25);
  background: #fff;
}

#cvr-page .cvr-tech-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════
   RESEARCH INTRO (Дослідження)
   ═══════════════════════════════════════ */
#cvr-page .research-intro {
  background: #f4f5fd;
  position: relative;
}

#cvr-page .research-intro .section-label { color: var(--pq-blue); }
#cvr-page .research-intro .section-title {
  color: var(--navy);
}

#cvr-page .research-intro-subtitle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}

#cvr-page .research-intro .section-desc {
  color: #6b7a8d;
  max-width: 800px;
}

#cvr-page .research-intro-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  max-width: 1200px;
  margin: 0 auto;
}

#cvr-page .research-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════
   RESEARCH (Приклад розрахунку ПКРП)
   ═══════════════════════════════════════ */
#cvr-page .research {
  background: #080808;
  position: relative;
  overflow: hidden;
}

#cvr-page .research > .container {
  position: relative;
  z-index: 2;
}

#cvr-page .research::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,118,239,.2), transparent);
}

#cvr-page .research .section-label { color: #fff; }
#cvr-page .research .section-title {
  color: #fff;
}

#cvr-page .research-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

#cvr-page .research-text h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: #fff;
  line-height: 1.3;
  margin-bottom: 24px;
}

#cvr-page .research-text p {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

#cvr-page .research-image {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

#cvr-page .research-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════
   CONDITIONS (Сприятливі умови)
   ═══════════════════════════════════════ */
#cvr-page .conditions {
  background: #f4f5fd;
  position: relative;
}

#cvr-page .conditions .section-label { color: var(--pq-blue); }
#cvr-page .conditions .section-title {
  color: var(--navy);
}

#cvr-page .conditions .section-desc {
  color: #4a5568;
  font-size: 1.2rem;
  max-width: 800px;
}

#cvr-page .conditions-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 700px;
}

#cvr-page .conditions-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  color: #4a5568;
  font-size: 1.2rem;
  line-height: 1.6;
}

#cvr-page .conditions-checklist .check-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

/* ═══════════════════════════════════════
   PROCESS (5 steps)
   ═══════════════════════════════════════ */
#cvr-page .process {
  background: #080808;
  position: relative;
  overflow: hidden;
}

#cvr-page .process > .container {
  position: relative;
  z-index: 2;
}

#cvr-page .process .section-label { color: #fff; }
#cvr-page .process .section-title { color: #fff; }

#cvr-page .process-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

#cvr-page .process-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #0076ef;
  border-radius: 14px;
  padding: 24px 28px 24px 52px;
  position: relative;
  z-index: 1;
}

#cvr-page .process-list .step-num {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: #0076ef;
  background: #fff;
  border: 3px solid #0076ef;
  margin-left: -80px;
  position: relative;
  z-index: 2;
  box-shadow: 2px 0 8px rgba(0,0,0,.08);
}

#cvr-page .process-list .step-text {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   CONCLUSIONS
   ═══════════════════════════════════════ */
#cvr-page .conclusions {
  background: #f4f5fd;
  position: relative;
}

#cvr-page .conclusions .section-label { color: var(--pq-blue); }
#cvr-page .conclusions .section-title { color: var(--navy); }

#cvr-page .conclusions-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

#cvr-page .conclusion-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all .35s ease;
  position: relative;
}

#cvr-page .conclusion-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}

#cvr-page .conclusion-card .card-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #e8f0fe;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: #0076ef;
}

#cvr-page .conclusion-card p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.7;
}

#cvr-page .conclusion-card p strong {
  color: var(--navy);
}

#cvr-page .conclusion-sub {
  margin-top: 12px;
  padding-left: 16px;
  border-left: 2px solid rgba(0,118,239,.2);
}

#cvr-page .conclusion-sub p {
  font-size: .88rem;
  margin-bottom: 6px;
}

/* ═══════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════ */
#cvr-page .cta-final {
  background: #080808;
  text-align: left;
  position: relative;
  overflow: hidden;
}

#cvr-page .cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(0,118,239,.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,229,255,.04) 0%, transparent 50%);
  pointer-events: none;
}

#cvr-page .cta-final .container {
  position: relative;
  z-index: 2;
}

#cvr-page .cta-final .section-label { color: #fff; }
#cvr-page .cta-final .section-title {
  color: #fff;
  margin: 0 0 16px;
}

#cvr-page .cta-final .section-desc {
  color: rgba(255,255,255,.85);
  margin: 0 0 40px;
  text-align: left;
}

#cvr-page .cta-actions {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   MODAL CONTACT FORM
   ═══════════════════════════════════════ */
#cvr-page .ea-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
#cvr-page .ea-modal-overlay.active { opacity: 1; pointer-events: all; }
#cvr-page .ea-modal {
  background: #161b2e;
  border-radius: 16px;
  padding: 36px;
  max-width: 570px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  transform: translateY(20px); transition: transform .3s;
}
#cvr-page .ea-modal-overlay.active .ea-modal { transform: translateY(0); }
#cvr-page .ea-modal-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
#cvr-page .ea-modal-header h3 { font-size: 1.35rem; font-weight: 700; color: #fff; }
#cvr-page .ea-modal-close {
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #aab4c8; line-height: 1; padding: 0;
  transition: background .2s, color .2s; flex-shrink: 0;
}
#cvr-page .ea-modal-close:hover { background: rgba(255,255,255,.2); color: #fff; }
#cvr-page .ea-modal-sub { font-size: .95rem; color: #8896aa; margin-bottom: 24px; }

#cvr-page .ea-form-group { margin-bottom: 16px; }
#cvr-page .ea-form-group label {
  display: block; font-size: 1rem; font-weight: 500;
  color: #fff; margin-bottom: 6px;
}
#cvr-page .ea-required { color: #ef4444; }

#cvr-page .ea-form-group input,
#cvr-page .ea-form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  font-family: 'Mulish', sans-serif;
  font-size: 1rem;
  color: #fff;
  transition: border-color .3s;
  outline: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}
#cvr-page .ea-form-group input::placeholder,
#cvr-page .ea-form-group textarea::placeholder { color: #4e5d72; }
#cvr-page .ea-form-group input:focus,
#cvr-page .ea-form-group textarea:focus { border-color: #0076ef; }
#cvr-page .ea-input-invalid { border-color: #0076ef !important; }
#cvr-page .ea-field-error { display: block; font-size: .8rem; color: #0076ef; margin-top: 5px; }
#cvr-page .ea-form-group textarea { resize: none; height: 90px; }

#cvr-page .ea-form-submit {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #0076ef; color: #fff;
  border: none; border-radius: 6px;
  padding: 14px; margin-top: 8px;
  font-family: 'Mulish', sans-serif; font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
  cursor: pointer; transition: background .2s;
}
#cvr-page .ea-form-submit:hover { background: #005fc4; }

/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
#cvr-page .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .7s cubic-bezier(.22,1,.36,1);
}

#cvr-page .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1561px) {
  #cvr-page .hero h1 { font-size: clamp(1.7rem, 5vw, 1.2rem); }
}

@media (max-width: 1080px) {
  #cvr-page .hero-layout              { grid-template-columns: 1fr; padding: 48px 0 40px; }
  #cvr-page .hero-images              { min-height: 280px; }
  #cvr-page .about-service-layout     { grid-template-columns: 1fr; }
  #cvr-page .cvr-tech-layout          { grid-template-columns: 1fr; }
  #cvr-page .research-layout           { grid-template-columns: 1fr; }
  #cvr-page .conclusions-list         { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  #cvr-page .hero h1                   { font-size: clamp(1.2rem, 5vw, 3.2rem); }
  #cvr-page .hero-layout              { padding: 36px 0 24px; }
  #cvr-page .hero-images              { min-height: 220px; }
  #cvr-page .about-service-layout     { grid-template-columns: 1fr; }
  #cvr-page .pq-section               { padding: 48px 0; }
  #cvr-page .hero-actions             { flex-direction: column; }
  #cvr-page .pq-btn                   { width: 100%; justify-content: center; box-sizing: border-box; }
  #cvr-page .cta-actions              { flex-direction: column; }
  #cvr-page .cta-actions .pq-btn,
  #cvr-page .cta-actions .pq-form-wrapper,
  #cvr-page .cta-actions .pq-form-wrapper .pq-btn { width: 100%; box-sizing: border-box; }

  #cvr-page .process-list {
    gap: 32px;
  }
  #cvr-page .process-list li {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px 28px;
    margin-top: 28px;
  }
  #cvr-page .process-list .step-num {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
  }
}

/* ═══════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════ */
#cvr-page [data-lightbox] {
  cursor: zoom-in;
}

#cvr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.85);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  cursor: zoom-out;
}

#cvr-lightbox.open {
  opacity: 1;
  visibility: visible;
}

#cvr-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  transform: scale(.92);
  transition: transform .3s;
}

#cvr-lightbox.open img {
  transform: scale(1);
}

#cvr-lightbox .lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

#cvr-lightbox .lightbox-close:hover {
  background: rgba(255,255,255,.3);
}
