:root {
	
	
	
	--bg-head: #fff;
	--bg-body: #fff;
	--bg-foot: #f4f3ec;
	
	--ft-base: #222;
	--ft-foot: #6e6a66;
	--ft-green: #00492e;
	--ft-white: #fff;
	
	--ft-size: 0.875rem;
	
	--typogra: Cereal VF, Circular, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
	
	--shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.02), 0px 8px 24px 0px rgba(0, 0, 0, 0.10);
	--shadowx: 0px 0px 0px 1px rgba(0, 0, 0, 0.02), 0px 6px 8px 0px rgba(0, 0, 0, 0.10), 0px 16px 56px 0px rgba(0, 0, 0, 0.18);;
	
}



@font-face {
  font-family: 'Cereal VF';
  src: url('fonts/w_wght.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+2000-206F,
    U+20A0-20CF;
}

@font-face {
  font-family: 'Cereal VF';
  src: url('fonts/italics_w_wght.woff2') format('woff2');
  font-style: italic;
  font-weight: 200 900;
  font-display: swap;
  unicode-range:
    U+0000-00FF,
    U+2000-206F,
    U+20A0-20CF;
}

@font-face {
  font-family: 'Cereal VF';
  src: url('fonts/cyril_w_wght.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0400-04FF;
}


*,
*:before,
*:after {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}











body {
  font-family: var(--typogra);
  font-size: var(--ft-size);
  line-height: 1.43;
  color: var(--ft-base);
  background: var(--bg-body);
  margin: 0;
  padding: 0;
  
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  
  min-width: 375px;
}







h1, h2 {
	margin: 10px 0 14px;
	padding: 0;
	line-height: 1.875rem;
	font-size: 1.625rem;
	font-weight: 600;
	letter-spacing: -0.0325rem;
}

h2 {
	font-size: 1em;
}

h3 {
	line-height: 2.25rem;
	font-size: 2rem;
	font-weight: 600;
}

p {
	line-height: 1.25rem;
	font-size: var(--ft-size);
	font-weight: 400;
}

p.grey {
	color: var(--ft-foot);
}

a {
	color: var(--ft-foot);
}

a:hover {
	color: var(--ft-green);
}

hr {
	all: unset;
	display: block;
	margin: 5rem auto 2.5rem;
	max-width: 66.66%;
	background: none;
	border-top: 1px solid #dfdcd6;
}

main hr {
	margin-top: 2.5rem;
}


header {
	position: fixed;
	left: 0; top: 0; right: 0;
	height: 5rem;
	line-height: normal;
	background: var(--bg-head);
	box-shadow: rgba(0, 0, 0, 0.08) 0 1px 1px;
	z-index: 8;
}

header > div {
	display: flex;
	height: inherit;
	margin-inline: auto;
	padding-inline: 32px;
	justify-content: space-between;
	align-items: center;
	max-inline-size: 1920px;
}

header > div .logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 2.85rem;
	height: 2.85rem;
	align-self: center;
	line-height: 0;
	outline: none;
}

header > div .logo img {
	display: block;
	  max-width: 100%;
	  max-height: 100%;
}

header > div ul {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 32px;
	list-style: none;
	border: 1px solid #ddd;
	border-radius: 2.5rem;
	box-shadow: rgba(0, 0, 0, 0.08) 0px 1px 2px, rgba(0, 0, 0, 0.05) 0px 4px 12px;
	transition: box-shadow 0.175s cubic-bezier(0.2,0,0,1);
}

header > div ul li {
	margin: 0;
	padding: 0;
	height: 45px;
	align-items: center;
	align-self: center;
	line-height: 45px;
	font-weight: 500;
}

header > div ul li a {
	color: var(--ft-text);
	text-decoration: none;
}

header > div ul li.separate {
	width: 1px;
	height: 24px;
	background-color: #ddd;
}

header > div .whatsapp {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	background: #f2f2f2;
	border-radius: 40px;
}

header > div .whatsapp svg {
    display: block;
    fill: none;
    height: 22px;
    width: 22px;
    stroke: currentcolor;
    stroke-width: 2;
    overflow: visible;
}



main {
	position: relative;
	margin: 0;
	padding: 8rem 0 0;
	background: var(--bg-body);
	z-index: 1;
}


section {
	margin: 0 auto;
	max-width: 66.66%;
}

section.head {
	text-align: center;
}


footer {
	position: relative;
	padding: 5.3125rem 0 7.8125rem;
	background: var(--bg-foot);
	z-index: 0;
}

footer hr {
	max-width: 400px;
}

footer::before {
	position: absolute;
	top: 0; left: 0; right: 0;
	content: "";
	height: 2.5rem;
	background: var(--bg-body);
	border-radius: 0 0 2.5rem 2.5rem;
	box-shadow: var(--shadow);
	z-index: 0;
}

footer .text {
	margin: 0 auto;
	max-width: 400px;
	text-align: center;
}

footer .text.mini {
	font-size: 0.75rem;
	color: var(--ft-foot);
}

footer .text h3 {
	margin: 1rem 0;
	padding: 0;
}

footer .text p {
	margin: 0;
	padding: 0;
	color: var(--ft-foot);
}

footer .logo {
  display: block;
  width: 8.5rem;
  height: 8.5rem;
  margin: 0 auto 1.25rem;
}



aside {
	position: fixed;
	left: 0; right: 0; bottom: 16px;
	z-index: 8;
}

aside > div {
	display: flex;
	pointer-events: initial;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	padding: 8px 8px 8px 20px;
	width: calc(66% + 48px);
	background: var(--bg-body);
	border-radius: 5rem;
	box-shadow: var(--shadowx);
}

aside > div .button {
	display: block;
	padding: 14px 24px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--ft-white);
	text-decoration: none;
	border-radius: 2.5rem;
	background: linear-gradient(90deg, #0b3e27, #197149);
	-webkit-appearance: button;
	cursor: pointer;
	transition: background 0.3s;
}

aside > div .button:hover {
	background: linear-gradient(90deg, #197149, #197149);
}

aside > div p {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	
}

aside > div p strong {
	align-items: flex-start;
	font-size: 1rem;
}

aside > div p span {
	margin-top: 2px;
	line-height: 1rem;
	font-size: 0.75rem;
}

aside > div p span a {
	color: var(--ft-green);
	text-decoration: none;
}



.boton {
	padding: 14px 24px;
	line-height: 1.125rem;
	font-size: 1rem;
	font-weight: 500;
	text-align: center;
	background: #f2f2f2;
	cursor: pointer;
	border: none;
	border-radius: 8px;
}

.boton.green {
	margin: 1rem 0 0;
	color: var(--ft-white);
	background: linear-gradient(90deg, #0b3e27, #197149);
}

.boton.green:hover {
	background: linear-gradient(90deg, #197149, #197149);
}


@media (max-width: 568px) {
  section { max-width: 82%; }
  footer hr { max-width: 82%; }
  aside > div { width: 88%; }
}


.section2 {
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem;
  margin: 0 0 1.6rem;
}

.calc-matriza-details-item-header p {
	margin: 0;
	padding: 0;
}



.calc-container * {
  /*font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  border: 0;*/
  box-sizing: border-box;
  /*font-weight: bold;*/
}

.calc-container {
  width: 1300px;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.calc-container-column:first-child {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.calc-otp-kod {
  text-align: center;
}

.calc-matriza-svg {
  width: 700px;
}

.calc-inps-header-row:not(:first-child) {
  margin-top: 5px;
  display: flex;
  align-items: end;
}

.calc-inps-header-row span {
  font-size: 18px;
  font-weight: bold;
  color: #3c6158;
}

.calc-inps-header-row .calc-inp-matriza {
  margin-left: 15px;
  font-size: 18px;
}

.calc-matriza-otp {
  margin-bottom: 20px;
}

.calc-inp-matriza {
  outline: none;
  height: 20px;
  border: none;
  border-bottom: 2px solid #3c6158;
  max-width: 100px;
  text-align: center;
  border-radius: 0;
}
/*
#calc-matriza-name {
  width: 70px;
}

#calc-matriza-bd {
  width: 90px;
}

#calc-matriza-vz {
  width: 50px;
}
*/
.calc-hidden {
  display: none !important;
}

.calc-matriza-other-otp-row {
  display: flex;
}

.calc-matriza-other-otp-row:first-child {
  align-items: center;
}

.calc-matriza-other-otp-row-item {
  display: flex;
}

.calc-otp-kod {
  max-width: 70px;
  height: 20px;
  margin-left: 15px;
  border-bottom: 2px solid #000;
}

.calc-otp-kod:first-child {
  width: 50px;
}

.calc-otp-kod:last-child {
  width: 70px;
}

.calc-matriza-other-otp-row-item:not(:first-child) {
  margin-left: 100px;
}

.calc-matriza-other-otp-row {
  margin-top: 30px;
}

.calc-matriza-details-item {
  width: 420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-matriza-details-item-body {
  margin-top: 15px;
}

.calc-matriza-details-item-body svg {
  height: 100px;
}

.calc-matriza-details-item-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3c6158;
}

.calc-matriza-details-item-header p:not(:first-child) {
  margin-top: 5px;
}

.calc-matriza-details-item-inner-row {
  display: flex;
  align-items: center;
  width: 175px;
  justify-content: space-between;
}

.calc-matriza-details-item-inner-svg-row {
  width: 41px
}

.calc-matriza-details-item-inner-header-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-matriza-details-item-inner-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3c6158;
}

.calc-matriza-details-item-inner-header-row p:not(:first-child) {
  margin-top: 5px;
}

.calc-matriza-details-item-inner-2 {
  margin-top: 40px;
}

.calc-matriza-details-item-3 {
  margin-left: 40px;
}

.calc-column-title {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-row {
  display: flex;
}

.table-row .table-area {
  height: 65px;
  width: 70px;
}

.table-row .table-area:not(:last-child) {
  display: flex;
  justify-content: center;
  align-items: center;
}

.table-row .table-area:last-child {
  width: 300px
}

.table-row .table-area:not(:first-child) {
  margin-left: 5px;
}

.calc-otp-table-header .table-area,
.calc-otp-table-footer .table-area {
  background-color: #E1E1E1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-purple .table-area {
  border: 2px solid #BB8EB9;
}

.color-purple .table-area:last-child {
  background-color: #BB8EB9;
}

.color-blue .table-area {
  border: 2px solid #071077;
}

.color-blue .table-area:last-child {
  background-color: #071077;
}

.color-berez .table-area {
  border: 2px solid #86BDDB;
}

.color-berez .table-area:last-child {
  background-color: #86BDDB;
}

.color-green .table-area {
  border: 2px solid #06A201;
}

.color-green .table-area:last-child {
  background-color: #06A201;
}

.color-yellow .table-area {
  border: 2px solid #EDE63E;
}

.color-yellow .table-area:last-child {
  background-color: #EDE63E;
}

.color-orange .table-area {
  border: 2px solid #F68E15;
}

.color-orange .table-area:last-child {
  background-color: #F68E15;
}

.color-red .table-area {
  border: 2px solid #B80000;
}

.color-red .table-area:last-child {
  background-color: #B80000;
}

.table-row:not(:first-child) {
  margin-top: 5px;
}

.table-row:not(.calc-otp-table-footer, .calc-otp-table-header) div:last-child {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  font-weight: normal;
  word-break: break-word;
}

.table-itog {
  font-size: 24px;
  font-weight: bold;
}

.table-row:not(:first-child) .table-area:not(:last-child) {
  font-size: 20px;
  font-weight: bold;
}

.calc-otp-table-wrapper {
  margin-top: 20px;
}
/*
.calc-download-btn {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  cursor: pointer;
  background-color: #4841df;
  color: #fff;
  transition: 0.3s;
  border: 2px solid #4841df;
}

.calc-download-btn:hover {
  color: #4841df;
  background-color: transparent;
  border: 2px solid #4841df;
}
*/
.table-row:not(.calc-otp-table-header, .calc-otp-table-footer) .table-area:last-child {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 0 10px;
}

@media screen and (max-width: 1500px) {
  .calc-container {
    width: 100%;
    padding: 30px 0;
    box-sizing: border-box;
  }
  .calc-matriza-otp {
    margin-top: 30px;
  }
}

@media screen and (max-width: 1300px) {
  .calc-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .calc-container-column:last-child {
    margin-top: 40px;
  }
  .table-row:not(.calc-otp-table-header, .calc-otp-table-footer) .table-area:last-child {
    padding: 0px;
  }
}

@media screen and (max-width: 750px) {
  .calc-inps-header {
    width: 90%;
  }
  .calc-container-column:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .calc-matriza-svg {
    width: 500px;
  }
  .calc-matriza-otp {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
  .calc-matriza-other-otp-row:last-child {
    flex-direction: column;
  }
  .calc-matriza-details-item-3 {
    margin: 0;
    margin-top: 20px;
  }
  .calc-matriza-details-item-3 .calc-matriza-details-item-inner {
    display: flex;
  }
  .calc-matriza-details-item-inner-2 {
    margin: 0;
    margin-left: 100px;
  }
}

@media screen and (max-width: 560px) {
  .calc-matriza-otp {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .calc-matriza-other-otp-row {
    width: 100%;
    justify-content: space-between;
  }
  .calc-matriza-other-otp-row-item:not(:first-child) {
    margin-left: 0px;
  }
  .calc-container-column {
    width: 100% !important;
  }
  .calc-otp-table-wrapper {
    width: 400px;
    overflow: scroll;
    margin: 0 auto;
    margin-top: 20px;
  }
  .calc-otp-table {
    width: 525px;
  }
  .calc-matriza-other-otp-row {
    width: 400px;
  }
  .calc-matriza-other-otp-row {
    flex-direction: column;
  }
  .calc-matriza-other-otp-row-item:last-child {
    margin-top: 20px;
  }
  .calc-matriza-details-item {
    flex-direction: column;
  }
  .calc-matriza-details-item .calc-matriza-details-item-inner:last-child {
    margin-top: 20px;
  }
  .calc-matriza-details-item-3 .calc-matriza-details-item-inner {
    flex-direction: column;
    align-items: center;
  }
  .calc-matriza-details-item-inner-2 {
    margin: 0;
    margin-top: 20px;
  }
}

@media screen and (max-width: 450px) {
  .calc-matriza-otp {
    margin: 0 auto;
    width: 300px;
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
  }
  .calc-matriza-other-otp-row {
    width: 100%;
  }
  .calc-matriza-other-otp-row .calc-matriza-other-otp-row-item {
    margin-left: 20px;
  }
  .calc-matriza-details-item {
    width: 100%;
  }
  .calc-otp-table-wrapper {
    width: 90%;
  }
}





.calc-container .calc-inps-header.modern,
.calc-container .calc-inps-header.modern * {
  font-family: var(--typogra);
  font-weight: 400;
  color: var(--ft-base);
}

.calc-inps-header.modern {
  --label-w: 13rem;
  --row-gap: 0.75rem;
  --col-gap: 1rem;
  max-width: 720px;
  width: 100%;
  margin: 0 auto 1.5rem;
}

.calc-inps-header.modern .form-row {
  display: grid;
  grid-template-columns: var(--label-w) 1fr;
  align-items: center;
  gap: var(--row-gap) var(--col-gap);
  margin-bottom: 0.75rem;
}

.calc-inps-header.modern label {
  font-size: 0.875rem;
  color: var(--ft-foot);
}

.calc-inps-header.modern .field {
  width: 100%;
  padding: 0.875rem 1rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  border: none;
  outline: none;
  font-size: 1rem;
  line-height: 1.25rem;
}

.calc-inps-header.modern .input-mock {
  display: flex;
  align-items: center;
  min-height: 3rem;
}

.calc-inps-header.modern .field::placeholder {
  color: var(--ft-foot);
  opacity: .8;
}

.calc-inps-header.modern .field:focus {
  box-shadow: var(--shadowx);
  outline: 2px solid rgba(0, 73, 46, 0.15);
}

@media (max-width: 640px) {
  .calc-inps-header.modern .form-row {
    grid-template-columns: 1fr;
  }
  .calc-inps-header.modern label {
    margin-bottom: 0.25rem;
  }
}

.calc-inps-header.modern .calc-inp-matriza {
  height: auto;
  max-width: none;
  text-align: left;
  border: 0;
  border-bottom: 0;
  border-radius: 0.75rem;
  margin-left: 0;
  font-weight: 400;
  font-size: 1rem;
}



.calc-otp-table-wrapper {
  margin-top: 1.25rem;
}

.calc-otp-table {
  --gap: .5rem;
  --cell-h: 3rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem;
}

.calc-otp-table .table-row {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
}

.calc-otp-table .table-row .table-area {
  width: auto !important;
  height: var(--cell-h);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .75rem;
  background: #fff;
}

.calc-otp-table .table-row .table-area:not(:last-child) {
  flex: 0 0 5.25rem;      /* числа/коды */
  font-size: 1.125rem;
  font-weight: 600;
  border: 1.5px solid rgba(0,0,0,.06);
}

.calc-otp-table .table-row .table-area:last-child {
  flex: 1 1 auto;
  min-width: 0;
  padding: .5rem .75rem;
  justify-content: flex-start;
  line-height: 1.25rem;
  font-size: .875rem;
}

.calc-otp-table-header .table-area {
  background: #f2f2f2;
  border: 0;
  color: var(--ft-base);
  font-weight: 600;
  height: 2.75rem;
}

.calc-otp-table-footer .table-area {
  background: #f7f7f5;
  border: 0;
  color: var(--ft-base);
  font-weight: 600;
}

.calc-otp-table-footer .table-area.table-itog {
  justify-content: center;
  font-size: 1.125rem;
}

.calc-otp-table .table-row.color-purple { --accent: #BB8EB9; }
.calc-otp-table .table-row.color-blue   { --accent: #071077; }
.calc-otp-table .table-row.color-berez  { --accent: #86BDDB; }
.calc-otp-table .table-row.color-green  { --accent: #06A201; }
.calc-otp-table .table-row.color-yellow { --accent: #EDE63E; }
.calc-otp-table .table-row.color-orange { --accent: #F68E15; }
.calc-otp-table .table-row.color-red    { --accent: #B80000; }

.calc-otp-table .table-row[class*="color-"] .table-area:not(:last-child) {
  border-color: var(--accent);
}

.calc-otp-table .table-row[class*="color-"] .table-area:last-child {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 768px) {
  .calc-otp-table { padding: .75rem; }
  .calc-otp-table .table-row .table-area:not(:last-child) { flex-basis: 3rem; }
  .calc-otp-table .table-row .table-area:last-child { font-size: .875rem; }
}



/* === Modal: overlay + card === */
.decode-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.44);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  overflow: scroll;
}
.decode-modal { 
  width: min(840px, 94vw);
  background: var(--bg-body);
  border-radius: 1.25rem;
  box-shadow: var(--shadowx);
  overflow: hidden;
  font-family: var(--typogra);
}
.decode-modal.calc-hidden,
.decode-modal-backdrop.calc-hidden { display: none; }

/* Header */
.decode-modal__head {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
  position: relative;
}
.decode-modal__price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ft-base);
  letter-spacing: -0.015rem;
}
.decode-modal__subtitle {
  margin-top: .25rem;
  color: var(--ft-foot);
  font-size: .875rem;
}
.decode-modal__close {
  position: absolute; top: .75rem; right: .75rem;
  width: 40px; height: 40px; border-radius: 40px;
  border: 0; background: #f2f2f2; cursor: pointer;
  font-size: 1.25rem; line-height: 40px;
}

.decode-modal__body {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1rem;
  padding: 1rem;
}
@media (max-width: 780px) {
  .decode-modal__body { grid-template-columns: 1fr; }
}

.plan-list { display: grid; gap: .75rem; }
.plan-card {
  display: grid; grid-template-columns: 24px 1fr auto; align-items: center;
  gap: .75rem;
  background: #fff;
  border-radius: .875rem;
  box-shadow: var(--shadow);
  padding: .875rem 1rem;
  border: 1.5px solid rgba(0,0,0,.06);
  cursor: pointer;
}
.plan-card:hover { box-shadow: var(--shadowx); }
.plan-card input[type="radio"] { accent-color: #197149; width: 18px; height: 18px; }
.plan-title { font-weight: 600; }
.plan-desc { color: var(--ft-foot); font-size: .875rem; line-height: 1.1rem; }
.plan-price { font-weight: 600; }

.plan-card.is-active { border-color: #197149; }

.plan-timer {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #f7f7f5; border-radius: .75rem; padding: .375rem .625rem;
  font-size: .8125rem; color: var(--ft-green);
}

.paycard {
  background: #fff; border-radius: .875rem; box-shadow: var(--shadow);
  padding: 1rem;
}
.paycard h3 { margin: 0 0 .5rem; font-size: 1rem; color: var(--ft-base); }
.paygrid { display: grid; gap: .75rem; }
.paygrid .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

.input {
  width: 92%; padding: .875rem 1rem; background: #fff;
  border-radius: .75rem; border: none; box-shadow: var(--shadow);
  outline: none; font-size: 1rem;
}
.input::placeholder { color: var(--ft-foot); opacity: .9; }
.input:focus { box-shadow: var(--shadowx); outline: 2px solid rgba(0,73,46,.15); }

.pay-btn {
  display: inline-block; width: 100%;
  margin-top: .5rem; padding: 14px 24px; border: 0; border-radius: .75rem;
  font-size: 1rem; font-weight: 600; color: var(--ft-white);
  background: linear-gradient(90deg, #0b3e27, #197149);
  cursor: pointer; transition: background .25s;
}
.pay-btn:hover { background: linear-gradient(90deg, #197149, #197149); }

.meta {
  margin-top: .5rem; font-size: .8125rem; color: var(--ft-foot);
}

.decode-modal .decode-modal__head h2 { margin: 0; line-height: 1.4; }














/* --- FIX: кнопка отчёта не должна становиться flex-колонкой и растягиваться по высоте --- */
.calc-container{
  flex-wrap: wrap;          /* разрешаем перенос строк */
  align-items: flex-start;  /* не растягиваем элементы по высоте */
}

/* если .calc-download-btn стоит прямым ребёнком .calc-container — отправляем её на новую строку */
.calc-container > .calc-download-btn{
  flex: 0 0 100%;
  align-self: flex-start;
  height: auto;
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

/* сама кнопка — нормальная по размеру */
.calc-download-btn{
  width: max-content;
  white-space: nowrap;
}

/* --- FIX: центровка чисел в таблице "Mapa de Salud" --- */
.calc-otp-table .table-row .table-area:not(:last-child){
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}






/* === checkout email row === */
.calc-order-email-wrap {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  width: 100%;
}

.calc-order-email-note {
  font-size: .8125rem;
  line-height: 1.35;
  color: var(--ft-foot);
  padding-left: .125rem;
}

.calc-order-email-row .field[type="email"] {
  width: 100%;
}








/* === MATRIX LAYOUT OVERRIDE: matrix always centered, details always below === */

.calc-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

.calc-container-column {
  width: 100%;
}

.calc-container-column:first-child {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.calc-container-column:last-child {
  width: min(100%, 980px) !important;
  margin-top: 2rem !important;
}

.calc-matriza-otp {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 1.25rem auto 0;
}

.calc-matriza-svg {
  display: block;
  width: min(700px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.calc-inps-header.modern {
  max-width: 720px;
  width: 100%;
  margin: 0 auto 1.5rem;
}

.calc-otp-table-wrapper,
.calc-matriza-details-item-body,
.calc-matriza-other-otp-row {
  width: 100%;
}

@media (max-width: 768px) {
  .calc-container {
    padding: 0;
  }

  .calc-container-column:last-child {
    width: 100% !important;
    margin-top: 1.5rem !important;
  }

  .calc-matriza-otp {
    overflow-x: auto;
    overflow-y: visible;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
  }

  .calc-matriza-svg {
    width: min(500px, 100%);
  }
}

@media (max-width: 560px) {
  .calc-container-column {
    width: 100% !important;
  }

  .calc-matriza-otp {
    width: 100%;
    justify-content: center;
  }

  .calc-container-column:last-child {
    margin-top: 1.25rem !important;
  }
}

@media (max-width: 450px) {
  .calc-matriza-otp {
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
  }

  .calc-matriza-svg {
    width: min(420px, 100%);
  }
}






/* === ULTRA LUX MAGIC CTA: Obtener informe === */

.calc-download-btn {
  --btn-bg-1: #184f35;
  --btn-bg-2: #246b49;
  --btn-bg-3: #2f7f58;
  --btn-glow: rgba(70, 173, 121, 0.42);
  --btn-glow-2: rgba(178, 133, 201, 0.26);
  --btn-text: #f8fbf8;
  --btn-border: rgba(255, 255, 255, 0.16);

  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  width: max-content;
  min-width: 240px;
  margin: 2rem auto 0 !important;
  padding: 1rem 2.2rem !important;

  border: 1px solid var(--btn-border);
  border-radius: 999px;

  color: var(--btn-text) !important;
  text-decoration: none !important;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.015em;

  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(199,163,221,0.22), transparent 30%),
    linear-gradient(135deg, var(--btn-bg-1) 0%, var(--btn-bg-2) 48%, var(--btn-bg-3) 100%);

  box-shadow:
    0 10px 28px rgba(18, 55, 38, 0.26),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 22px var(--btn-glow),
    0 0 54px var(--btn-glow-2);

  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);

  animation:
    calcBtnFloat 4.6s ease-in-out infinite,
    calcBtnGlow 3.8s ease-in-out infinite,
    calcBtnGradient 8s linear infinite;
  background-size: 180% 180%;
}

.calc-download-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1px;

  background:
    conic-gradient(
      from 0deg,
      rgba(255,255,255,0.00),
      rgba(255,255,255,0.30),
      rgba(204, 169, 225, 0.55),
      rgba(110, 218, 167, 0.42),
      rgba(255,255,255,0.00)
    );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  opacity: 0.9;
  animation: calcBtnRing 5.6s linear infinite;
  pointer-events: none;
  z-index: -1;
}

.calc-download-btn::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -35%;
  width: 46%;
  height: 380%;
  transform: rotate(24deg);

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.08) 25%,
    rgba(255,255,255,0.42) 50%,
    rgba(255,255,255,0.08) 75%,
    rgba(255,255,255,0) 100%
  );

  filter: blur(2px);
  opacity: 0.9;
  animation: calcBtnShine 3.2s ease-in-out infinite;
  pointer-events: none;
}

.calc-download-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 16px 36px rgba(18, 55, 38, 0.30),
    0 0 0 1px rgba(255,255,255,0.08) inset,
    0 0 26px rgba(70, 173, 121, 0.52),
    0 0 68px rgba(178, 133, 201, 0.32);
}

.calc-download-btn:active {
  transform: translateY(0) scale(0.992);
}

.calc-download-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.14),
    0 0 0 8px rgba(70, 173, 121, 0.24),
    0 12px 30px rgba(18, 55, 38, 0.28),
    0 0 32px rgba(178, 133, 201, 0.34);
}

@keyframes calcBtnFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes calcBtnGlow {
  0%, 100% {
    box-shadow:
      0 10px 28px rgba(18, 55, 38, 0.26),
      0 0 0 1px rgba(255,255,255,0.06) inset,
      0 0 18px rgba(70, 173, 121, 0.28),
      0 0 42px rgba(178, 133, 201, 0.20);
  }
  50% {
    box-shadow:
      0 14px 34px rgba(18, 55, 38, 0.30),
      0 0 0 1px rgba(255,255,255,0.08) inset,
      0 0 28px rgba(70, 173, 121, 0.48),
      0 0 70px rgba(178, 133, 201, 0.34);
  }
}

@keyframes calcBtnGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes calcBtnRing {
  0% {
    transform: rotate(0deg);
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.75;
  }
}

@keyframes calcBtnShine {
  0%,
  100% {
    left: -38%;
    opacity: 0;
  }
  12% {
    opacity: 0;
  }
  30% {
    left: 118%;
    opacity: 0.95;
  }
  31% {
    opacity: 0;
  }
}

/* Небольшой магический ореол вокруг кнопки */
.calc-download-btn + *,
.calc-download-btn {
  position: relative;
}

.calc-download-btn {
  filter: drop-shadow(0 0 18px rgba(77, 168, 121, 0.16));
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .calc-download-btn {
    min-width: 220px;
    padding: 0.95rem 1.8rem !important;
    font-size: 0.97rem;
    margin-top: 1.4rem !important;
  }
}

@media (max-width: 480px) {
  .calc-download-btn {
    width: min(100%, 280px);
    min-width: 0;
    padding: 0.92rem 1.4rem !important;
    font-size: 0.95rem;
  }
}

/* Уважение к reduced motion */
@media (prefers-reduced-motion: reduce) {
  .calc-download-btn,
  .calc-download-btn::before,
  .calc-download-btn::after {
    animation: none !important;
    transition: none !important;
  }
}