@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");
*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}
::before,
::after {
  --tw-content: '';
}

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/
table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}
/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}
/*
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select {
  text-transform: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}
/*
Use the modern Firefox focus style for all focusable elements.
*/
:-moz-focusring {
  outline: auto;
}
/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/
:-moz-ui-invalid {
  box-shadow: none;
}
/*
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
  vertical-align: baseline;
}
/*
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/*
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/*
Add the correct display in Chrome and Safari.
*/
summary {
  display: list-item;
}
/*
Removes the default spacing and border for appropriate elements.
*/
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}
/*
Prevent resizing textareas horizontally by default.
*/
textarea {
  resize: vertical;
}
/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/
input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
/*
Set the default cursor for buttons.
*/
button,
[role="button"] {
  cursor: pointer;
}
/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}
/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}
/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/
img,
video {
  max-width: 100%;
  height: auto;
}
/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden] {
  display: none;
}
[type='text'],input:where(:not([type])),[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select{
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}
[type='text']:focus, input:where(:not([type])):focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}
input::-moz-placeholder, textarea::-moz-placeholder{
  color: #6b7280;
  opacity: 1;
}
input::placeholder,textarea::placeholder{
  color: #6b7280;
  opacity: 1;
}
::-webkit-datetime-edit-fields-wrapper{
  padding: 0;
}
::-webkit-date-and-time-value{
  min-height: 1.5em;
  text-align: inherit;
}
::-webkit-datetime-edit{
  display: inline-flex;
}
::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field{
  padding-top: 0;
  padding-bottom: 0;
}
select{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}
[multiple],[size]:where(select:not([size="1"])){
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}
[type='checkbox'],[type='radio']{
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}
[type='checkbox']{
  border-radius: 0px;
}
[type='radio']{
  border-radius: 100%;
}
[type='checkbox']:focus,[type='radio']:focus{
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}
[type='checkbox']:checked,[type='radio']:checked{
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
[type='checkbox']:checked{
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}
@media (forced-colors: active) {
  [type='checkbox']:checked{
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='radio']:checked{
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}
@media (forced-colors: active) {
  [type='radio']:checked{
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus{
  border-color: transparent;
  background-color: currentColor;
}
[type='checkbox']:indeterminate{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
@media (forced-colors: active) {
  [type='checkbox']:indeterminate{
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}
[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus{
  border-color: transparent;
  background-color: currentColor;
}
[type='file']{
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}
[type='file']:focus{
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}
*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}
::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}
.container{
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}
@media (min-width: 640px){
  .container{
    max-width: 640px;
    padding-right: 1rem;
    padding-left: 1rem;
  }
}
@media (min-width: 768px){
  .container{
    max-width: 768px;
    padding-right: 1rem;
    padding-left: 1rem;
  }
}
@media (min-width: 1024px){
  .container{
    max-width: 1024px;
    padding-right: 1rem;
    padding-left: 1rem;
  }
}
@media (min-width: 1280px){
  .container{
    max-width: 1280px;
    padding-right: 3rem;
    padding-left: 3rem;
  }
}
@media (min-width: 1536px){
  .container{
    max-width: 1536px;
    padding-right: 8rem;
    padding-left: 8rem;
  }
}
.collapse{
  visibility: collapse !important;
}
.static{
  position: static !important;
}
.fixed{
  position: fixed !important;
}
.absolute{
  position: absolute !important;
}
.relative{
  position: relative !important;
}
.sticky{
  position: sticky !important;
}
.inset-0{
  inset: 0px !important;
}
.-bottom-\[2px\]{
  bottom: -2px !important;
}
.-end-14{
  inset-inline-end: -3.5rem !important;
}
.-start-2{
  inset-inline-start: -0.5rem !important;
}
.-top-16{
  top: -4rem !important;
}
.bottom-16{
  bottom: 4rem !important;
}
.bottom-28{
  bottom: 7rem !important;
}
.bottom-3\/4{
  bottom: 75% !important;
}
.bottom-8{
  bottom: 2rem !important;
}
.bottom-full{
  bottom: 100% !important;
}
.end-0{
  inset-inline-end: 0px !important;
}
.end-32{
  inset-inline-end: 8rem !important;
}
.end-48{
  inset-inline-end: 12rem !important;
}
.end-\[3px\]{
  inset-inline-end: 3px !important;
}
.right-8{
  right: 2rem !important;
}
.start-0{
  inset-inline-start: 0px !important;
}
.start-6{
  inset-inline-start: 1.5rem !important;
}
.top-0{
  top: 0px !important;
}
.top-40{
  top: 10rem !important;
}
.top-\[2px\]{
  top: 2px !important;
}
.top-full{
  top: 100% !important;
}
.z-1{
  z-index: 1 !important;
}
.z-10{
  z-index: 10 !important;
}
.z-999{
  z-index: 999 !important;
}
.z-\[1\]{
  z-index: 1 !important;
}
.col-span-1{
  grid-column: span 1 / span 1 !important;
}
.col-span-full{
  grid-column: 1 / -1 !important;
}
.m-3{
  margin: 0.75rem !important;
}
.mx-1{
  margin-left: 0.25rem !important;
  margin-right: 0.25rem !important;
}
.mx-1\.5{
  margin-left: 0.375rem !important;
  margin-right: 0.375rem !important;
}
.mx-10{
  margin-left: 2.5rem !important;
  margin-right: 2.5rem !important;
}
.mx-4{
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}
.mx-auto{
  margin-left: auto !important;
  margin-right: auto !important;
}
.my-2{
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}
.my-5{
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}
.my-6{
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}
.-me-20{
  margin-inline-end: -5rem !important;
}
.-ml-8{
  margin-left: -2rem !important;
}
.-mt-10{
  margin-top: -2.5rem !important;
}
.-mt-72{
  margin-top: -18rem !important;
}
.mb-0{
  margin-bottom: 0px !important;
}
.mb-1{
  margin-bottom: 0.25rem !important;
}
.mb-10{
  margin-bottom: 2.5rem !important;
}
.mb-12{
  margin-bottom: 3rem !important;
}
.mb-2{
  margin-bottom: 0.5rem !important;
}
.mb-4{
  margin-bottom: 1rem !important;
}
.mb-6{
  margin-bottom: 1.5rem !important;
}
.mb-8{
  margin-bottom: 2rem !important;
}
.me-1{
  margin-inline-end: 0.25rem !important;
}
.me-2{
  margin-inline-end: 0.5rem !important;
}
.me-4{
  margin-inline-end: 1rem !important;
}
.me-5{
  margin-inline-end: 1.25rem !important;
}
.ms-1{
  margin-inline-start: 0.25rem !important;
}
.ms-8{
  margin-inline-start: 2rem !important;
}
.ms-auto{
  margin-inline-start: auto !important;
}
.mt-1{
  margin-top: 0.25rem !important;
}
.mt-10{
  margin-top: 2.5rem !important;
}
.mt-12{
  margin-top: 3rem !important;
}
.mt-14{
  margin-top: 3.5rem !important;
}
.mt-16{
  margin-top: 4rem !important;
}
.mt-2{
  margin-top: 0.5rem !important;
}
.mt-3{
  margin-top: 0.75rem !important;
}
.mt-4{
  margin-top: 1rem !important;
}
.mt-5{
  margin-top: 1.25rem !important;
}
.mt-6{
  margin-top: 1.5rem !important;
}
.mt-8{
  margin-top: 2rem !important;
}
.mt-9{
  margin-top: 2.25rem !important;
}
.line-clamp-2{
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}
.block{
  display: block !important;
}
.inline-block{
  display: inline-block !important;
}
.flex{
  display: flex !important;
}
.inline-flex{
  display: inline-flex !important;
}
.table{
  display: table !important;
}
.grid{
  display: grid !important;
}
.hidden{
  display: none !important;
}
.size-4{
  width: 1rem !important;
  height: 1rem !important;
}
.size-8{
  width: 2rem !important;
  height: 2rem !important;
}
.size-9{
  width: 2.25rem !important;
  height: 2.25rem !important;
}
.size-full{
  width: 100% !important;
  height: 100% !important;
}
.h-10{
  height: 2.5rem !important;
}
.h-11{
  height: 2.75rem !important;
}
.h-12{
  height: 3rem !important;
}
.h-14{
  height: 3.5rem !important;
}
.h-16{
  height: 4rem !important;
}
.h-20{
  height: 5rem !important;
}
.h-28{
  height: 7rem !important;
}
.h-4{
  height: 1rem !important;
}
.h-5{
  height: 1.25rem !important;
}
.h-6{
  height: 1.5rem !important;
}
.h-8{
  height: 2rem !important;
}
.h-9{
  height: 2.25rem !important;
}
.h-\[46px\]{
  height: 46px !important;
}
.h-\[50px\]{
  height: 50px !important;
}
.h-\[600px\]{
  height: 600px !important;
}
.h-\[650px\]{
  height: 650px !important;
}
.h-auto{
  height: auto !important;
}
.h-full{
  height: 100% !important;
}
.w-10{
  width: 2.5rem !important;
}
.w-11{
  width: 2.75rem !important;
}
.w-12{
  width: 3rem !important;
}
.w-16{
  width: 4rem !important;
}
.w-20{
  width: 5rem !important;
}
.w-28{
  width: 7rem !important;
}
.w-4{
  width: 1rem !important;
}
.w-5{
  width: 1.25rem !important;
}
.w-6{
  width: 1.5rem !important;
}
.w-60{
  width: 15rem !important;
}
.w-8{
  width: 2rem !important;
}
.w-9{
  width: 2.25rem !important;
}
.w-\[calc\(100\%-2rem\)\]{
  width: calc(100% - 2rem) !important;
}
.w-full{
  width: 100% !important;
}
.max-w-2xl{
  max-width: 42rem !important;
}
.max-w-3xl{
  max-width: 48rem !important;
}
.max-w-full{
  max-width: 100% !important;
}
.max-w-lg{
  max-width: 32rem !important;
}
.max-w-sm{
  max-width: 24rem !important;
}
.max-w-xl{
  max-width: 36rem !important;
}
.max-w-xs{
  max-width: 20rem !important;
}
.flex-1{
  flex: 1 1 0% !important;
}
.flex-shrink-0{
  flex-shrink: 0 !important;
}
.shrink{
  flex-shrink: 1 !important;
}
.shrink-0{
  flex-shrink: 0 !important;
}
.grow{
  flex-grow: 1 !important;
}
.basis-full{
  flex-basis: 100% !important;
}
.origin-top{
  transform-origin: top !important;
}
.-rotate-45{
  --tw-rotate: -45deg !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}
.rotate-180{
  --tw-rotate: 180deg !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}
.rotate-90{
  --tw-rotate: 90deg !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}
.scale-\[2\.0\]{
  --tw-scale-x: 2.0 !important;
  --tw-scale-y: 2.0 !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}
.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}
.cursor-pointer{
  cursor: pointer !important;
}
.resize{
  resize: both !important;
}
.grid-cols-1{
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
.grid-cols-2{
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
.flex-col{
  flex-direction: column !important;
}
.flex-wrap{
  flex-wrap: wrap !important;
}
.items-start{
  align-items: flex-start !important;
}
.items-center{
  align-items: center !important;
}
.justify-start{
  justify-content: flex-start !important;
}
.justify-center{
  justify-content: center !important;
}
.justify-between{
  justify-content: space-between !important;
}
.gap-10{
  gap: 2.5rem !important;
}
.gap-2{
  gap: 0.5rem !important;
}
.gap-3{
  gap: 0.75rem !important;
}
.gap-4{
  gap: 1rem !important;
}
.gap-5{
  gap: 1.25rem !important;
}
.gap-6{
  gap: 1.5rem !important;
}
.gap-8{
  gap: 2rem !important;
}
.gap-\[30px\]{
  gap: 30px !important;
}
.gap-x-2{
  -moz-column-gap: 0.5rem !important;
       column-gap: 0.5rem !important;
}
.gap-x-3{
  -moz-column-gap: 0.75rem !important;
       column-gap: 0.75rem !important;
}
.gap-x-4{
  -moz-column-gap: 1rem !important;
       column-gap: 1rem !important;
}
.gap-x-6{
  -moz-column-gap: 1.5rem !important;
       column-gap: 1.5rem !important;
}
.gap-y-10{
  row-gap: 2.5rem !important;
}
.gap-y-2{
  row-gap: 0.5rem !important;
}
.gap-y-6{
  row-gap: 1.5rem !important;
}
.-space-x-2 > :not([hidden]) ~ :not([hidden]){
  --tw-space-x-reverse: 0 !important;
  margin-right: calc(-0.5rem * var(--tw-space-x-reverse)) !important;
  margin-left: calc(-0.5rem * calc(1 - var(--tw-space-x-reverse))) !important;
}
.space-y-3 > :not([hidden]) ~ :not([hidden]){
  --tw-space-y-reverse: 0 !important;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse))) !important;
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)) !important;
}
.divide-y > :not([hidden]) ~ :not([hidden]){
  --tw-divide-y-reverse: 0 !important;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))) !important;
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse)) !important;
}
.divide-gray-200 > :not([hidden]) ~ :not([hidden]){
  --tw-divide-opacity: 1 !important;
  border-color: rgb(229 231 235 / var(--tw-divide-opacity)) !important;
}
.overflow-hidden{
  overflow: hidden !important;
}
.overflow-x-hidden{
  overflow-x: hidden !important;
}
.truncate{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.rounded{
  border-radius: 0.25rem !important;
}
.rounded-\[49\%_80\%_40\%_90\%_\/_50\%_30\%_70\%_80\%\]{
  border-radius: 49% 80% 40% 90% / 50% 30% 70% 80% !important;
}
.rounded-full{
  border-radius: 9999px !important;
}
.rounded-lg{
  border-radius: 0.5rem !important;
}
.rounded-md{
  border-radius: 0.375rem !important;
}
.rounded-xl{
  border-radius: 0.75rem !important;
}
.rounded-e-md{
  border-start-end-radius: 0.375rem !important;
  border-end-end-radius: 0.375rem !important;
}
.rounded-s-md{
  border-start-start-radius: 0.375rem !important;
  border-end-start-radius: 0.375rem !important;
}
.rounded-t-lg{
  border-top-left-radius: 0.5rem !important;
  border-top-right-radius: 0.5rem !important;
}
.rounded-t-xl{
  border-top-left-radius: 0.75rem !important;
  border-top-right-radius: 0.75rem !important;
}
.border{
  border-width: 1px !important;
}
.border-dashed{
  border-style: dashed !important;
}
.border-gray-200{
  --tw-border-opacity: 1 !important;
  border-color: rgb(229 231 235 / var(--tw-border-opacity)) !important;
}
.border-gray-300{
  --tw-border-opacity: 1 !important;
  border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important;
}
.border-green-50{
  --tw-border-opacity: 1 !important;
  border-color: rgb(240 253 244 / var(--tw-border-opacity)) !important;
}
.border-primary{
  --tw-border-opacity: 1 !important;
  border-color: rgb(93 135 255 / var(--tw-border-opacity)) !important;
}
.border-primary\/10{
  border-color: rgb(93 135 255 / 0.1) !important;
}
.border-primary\/30{
  border-color: rgb(93 135 255 / 0.3) !important;
}
.border-primary\/40{
  border-color: rgb(93 135 255 / 0.4) !important;
}
.border-red-50{
  --tw-border-opacity: 1 !important;
  border-color: rgb(254 242 242 / var(--tw-border-opacity)) !important;
}
.border-transparent{
  border-color: transparent !important;
}
.border-white{
  --tw-border-opacity: 1 !important;
  border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;
}
.bg-\[\#17243A\]{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(23 36 58 / var(--tw-bg-opacity)) !important;
}
.bg-\[\#1C2940\]{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(28 41 64 / var(--tw-bg-opacity)) !important;
}
.bg-black\/40{
  background-color: rgb(0 0 0 / 0.4) !important;
}
.bg-gray-200\/40{
  background-color: rgb(229 231 235 / 0.4) !important;
}
.bg-gray-50{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity)) !important;
}
.bg-gray-900{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity)) !important;
}
.bg-gray-900\/70{
  background-color: rgb(17 24 39 / 0.7) !important;
}
.bg-green-200{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(187 247 208 / var(--tw-bg-opacity)) !important;
}
.bg-green-50{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity)) !important;
}
.bg-primary{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(93 135 255 / var(--tw-bg-opacity)) !important;
}
.bg-primary\/10{
  background-color: rgb(93 135 255 / 0.1) !important;
}
.bg-red-50{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity)) !important;
}
.bg-transparent{
  background-color: transparent !important;
}
.bg-white{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
}
.bg-white\/40{
  background-color: rgb(255 255 255 / 0.4) !important;
}
.bg-opacity-50{
  --tw-bg-opacity: 0.5 !important;
}
.bg-\[radial-gradient\(ellipse_at_right\2c _var\(--tw-gradient-stops\)\)\]{
  background-image: radial-gradient(ellipse at right, var(--tw-gradient-stops)) !important;
}
.bg-\[url\(\.\.\/images\/bg-demo\.jpg\)\]{
  background-image: url(../images/bg-demo.jpg) !important;
}
.bg-\[url\(\.\.\/images\/home\/bg-1\.png\)\]{
  background-image: url(../images/home/bg-1.png) !important;
}
.bg-\[url\(\.\.\/images\/home\/bg-2\.png\)\]{
  background-image: url(../images/home/bg-2.png) !important;
}
.bg-\[url\(\.\.\/images\/home\/bg-3\.png\)\]{
  background-image: url(../images/home/bg-3.png) !important;
}
.bg-\[url\(\.\.\/images\/home\/bg-4\.svg\)\]{
  background-image: url(../images/home/bg-4.svg) !important;
}
.bg-\[url\(\.\.\/images\/home\/bg-5\.png\)\]{
  background-image: url(../images/home/bg-5.png) !important;
}
.bg-none{
  background-image: none !important;
}
.from-gray-700{
  --tw-gradient-from: #374151 var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(55 65 81 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-slate-500\/10{
  --tw-gradient-from: rgb(100 116 139 / 0.1) var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(100 116 139 / 0) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.via-gray-900{
  --tw-gradient-to: rgb(17 24 39 / 0)  var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), #111827 var(--tw-gradient-via-position), var(--tw-gradient-to) !important;
}
.to-black{
  --tw-gradient-to: #000000 var(--tw-gradient-to-position) !important;
}
.bg-cover{
  background-size: cover !important;
}
.bg-center{
  background-position: center !important;
}
.bg-no-repeat{
  background-repeat: no-repeat !important;
}
.fill-white\/40{
  fill: rgb(255 255 255 / 0.4) !important;
}
.stroke-2{
  stroke-width: 2 !important;
}
.p-1{
  padding: 0.25rem !important;
}
.p-2{
  padding: 0.5rem !important;
}
.p-4{
  padding: 1rem !important;
}
.p-6{
  padding: 1.5rem !important;
}
.px-1{
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}
.px-10{
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}
.px-2{
  padding-left: 0.5rem !important;
  padding-right: 0.5rem !important;
}
.px-2\.5{
  padding-left: 0.625rem !important;
  padding-right: 0.625rem !important;
}
.px-3{
  padding-left: 0.75rem !important;
  padding-right: 0.75rem !important;
}
.px-4{
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}
.px-5{
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}
.px-6{
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}
.py-0{
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}
.py-0\.5{
  padding-top: 0.125rem !important;
  padding-bottom: 0.125rem !important;
}
.py-2{
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
.py-20{
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}
.py-3{
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.py-4{
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.py-5{
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}
.py-6{
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}
.pb-1{
  padding-bottom: 0.25rem !important;
}
.pb-10{
  padding-bottom: 2.5rem !important;
}
.pb-16{
  padding-bottom: 4rem !important;
}
.pb-20{
  padding-bottom: 5rem !important;
}
.pb-32{
  padding-bottom: 8rem !important;
}
.pb-40{
  padding-bottom: 10rem !important;
}
.pb-5{
  padding-bottom: 1.25rem !important;
}
.pe-40{
  padding-inline-end: 10rem !important;
}
.pe-6{
  padding-inline-end: 1.5rem !important;
}
.ps-6{
  padding-inline-start: 1.5rem !important;
}
.pt-10{
  padding-top: 2.5rem !important;
}
.pt-12{
  padding-top: 3rem !important;
}
.pt-16{
  padding-top: 4rem !important;
}
.pt-2{
  padding-top: 0.5rem !important;
}
.pt-20{
  padding-top: 5rem !important;
}
.pt-32{
  padding-top: 8rem !important;
}
.pt-4{
  padding-top: 1rem !important;
}
.pt-40{
  padding-top: 10rem !important;
}
.pt-44{
  padding-top: 11rem !important;
}
.pt-6{
  padding-top: 1.5rem !important;
}
.text-center{
  text-align: center !important;
}
.text-start{
  text-align: start !important;
}
.align-middle{
  vertical-align: middle !important;
}
.text-2xl{
  font-size: 1.5rem !important;
  line-height: 2rem !important;
}
.text-3xl{
  font-size: 1.875rem !important;
  line-height: 2.25rem !important;
}
.text-4xl{
  font-size: 2.25rem !important;
  line-height: 2.5rem !important;
}
.text-5xl{
  font-size: 3rem !important;
  line-height: 1 !important;
}
.text-base{
  font-size: 1rem !important;
  line-height: 1.5rem !important;
}
.text-lg{
  font-size: 1.125rem !important;
  line-height: 1.75rem !important;
}
.text-sm{
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}
.text-sm\/normal{
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}
.text-xl{
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
}
.text-xs{
  font-size: 0.75rem !important;
  line-height: 1rem !important;
}
.font-bold{
  font-weight: 700 !important;
}
.font-medium{
  font-weight: 500 !important;
}
.font-normal{
  font-weight: 400 !important;
}
.font-semibold{
  font-weight: 600 !important;
}
.uppercase{
  text-transform: uppercase !important;
}
.lowercase{
  text-transform: lowercase !important;
}
.capitalize{
  text-transform: capitalize !important;
}
.leading-6{
  line-height: 1.5rem !important;
}
.leading-7{
  line-height: 1.75rem !important;
}
.leading-9{
  line-height: 2.25rem !important;
}
.leading-normal{
  line-height: 1.5 !important;
}
.tracking-normal{
  letter-spacing: 0em !important;
}
.tracking-wider{
  letter-spacing: 0.05em !important;
}
.text-black{
  --tw-text-opacity: 1 !important;
  color: rgb(0 0 0 / var(--tw-text-opacity)) !important;
}
.text-blue-600{
  --tw-text-opacity: 1 !important;
  color: rgb(37 99 235 / var(--tw-text-opacity)) !important;
}
.text-dark{
  --tw-text-opacity: 1 !important;
  color: rgb(33 33 33 / var(--tw-text-opacity)) !important;
}
.text-gray-100{
  --tw-text-opacity: 1 !important;
  color: rgb(243 244 246 / var(--tw-text-opacity)) !important;
}
.text-gray-300{
  --tw-text-opacity: 1 !important;
  color: rgb(209 213 219 / var(--tw-text-opacity)) !important;
}
.text-gray-500{
  --tw-text-opacity: 1 !important;
  color: rgb(107 114 128 / var(--tw-text-opacity)) !important;
}
.text-gray-600{
  --tw-text-opacity: 1 !important;
  color: rgb(75 85 99 / var(--tw-text-opacity)) !important;
}
.text-muted{
  --tw-text-opacity: 1 !important;
  color: rgb(112 112 112 / var(--tw-text-opacity)) !important;
}
.text-primary{
  --tw-text-opacity: 1 !important;
  color: rgb(93 135 255 / var(--tw-text-opacity)) !important;
}
.text-red-500{
  --tw-text-opacity: 1 !important;
  color: rgb(239 68 68 / var(--tw-text-opacity)) !important;
}
.text-white{
  --tw-text-opacity: 1 !important;
  color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
}
.opacity-0{
  opacity: 0 !important;
}
.shadow{
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}
.shadow-2xl{
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25) !important;
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}
.shadow-lg{
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important;
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}
.shadow-md{
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}
.outline-none{
  outline: 2px solid transparent !important;
  outline-offset: 2px !important;
}
.blur{
  --tw-blur: blur(8px) !important;
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}
.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow) !important;
}
.backdrop-blur-lg{
  --tw-backdrop-blur: blur(16px) !important;
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;
          backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia) !important;
}
.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter !important;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter !important;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
}
.transition-all{
  transition-property: all !important;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
  transition-duration: 150ms !important;
}
.duration-300{
  transition-duration: 300ms !important;
}
.duration-500{
  transition-duration: 500ms !important;
}
/*********************************/
/*             General           */
/*===============================*/
html{
  position: relative;
  scroll-behavior: smooth;
}

body,html,nav{
     overflow-x: hidden;
}
body{
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  line-height: 1.5;
}

p{
  line-height: 1.625;
  font-family: "DM Sans", sans-serif;
}

::-moz-selection{
  --tw-bg-opacity: 1;
  background-color: rgb(93 135 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

::selection{
  --tw-bg-opacity: 1;
  background-color: rgb(93 135 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

#toggle-count span [type=radio]:checked + label{
  --tw-bg-opacity: 1;
  background-color: rgb(93 135 255 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

/********************/
/*     Buttons      */
/*==================*/
.btn{
  display: inline-block;
  border-width: 1px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
  vertical-align: middle;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  transition-property: all;
  transition-duration: 500ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  /*  Button icons */
  /* Button Link */
}
.btn.btn-lg{
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.btn.btn-sm{
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.btn.btn-icon{
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  padding: 0px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5rem;
}
.btn.btn-icon.btn-lg{
  height: 3rem;
  width: 3rem;
}
.btn.btn-icon.btn-sm{
  height: 2rem;
  width: 2rem;
}
.btn.btn-link{
  position: relative;
  border-style: none;
  padding: 0px;
}
.btn.btn-link::after{
  position: absolute;
  right: 0px;
  bottom: 0px;
  left: 0px;
  height: 1px;
  width: 0px;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  --tw-content: "";
  content: var(--tw-content);
}
.btn.btn-link:hover::after{
  right: auto;
  content: var(--tw-content);
  width: 100%;
}

/*********************************/
/*             Helper            */
/*===============================*/
.container,
.contacinr-fluid{
  position: relative;
}

.text-type-element{
  z-index: 2;
}

.text-type-element::after{
  position: absolute;
  right: 0px;
  bottom: 0px;
  left: 0px;
  z-index: 0;
  height: 0.25rem;
  width: auto;
  border-radius: 0.375rem;
  --tw-bg-opacity: 1;
  background-color: rgb(253 186 116 / var(--tw-bg-opacity));
  transition-property: all;
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --tw-content: "";
  content: var(--tw-content);
}

/*****************/
/*  back-to-top  */
/*****************/
.back-to-top{
  display: none;
}
.hover\:border-primary:hover{
  --tw-border-opacity: 1 !important;
  border-color: rgb(93 135 255 / var(--tw-border-opacity)) !important;
}
.hover\:border-primaryDark:hover{
  --tw-border-opacity: 1 !important;
  border-color: rgb(42 92 235 / var(--tw-border-opacity)) !important;
}
.hover\:border-white:hover{
  --tw-border-opacity: 1 !important;
  border-color: rgb(255 255 255 / var(--tw-border-opacity)) !important;
}
.hover\:bg-gray-300:hover{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity)) !important;
}
.hover\:bg-primary:hover{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(93 135 255 / var(--tw-bg-opacity)) !important;
}
.hover\:bg-primaryDark:hover{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(42 92 235 / var(--tw-bg-opacity)) !important;
}
.hover\:bg-white:hover{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
}
.hover\:text-black:hover{
  --tw-text-opacity: 1 !important;
  color: rgb(0 0 0 / var(--tw-text-opacity)) !important;
}
.hover\:text-gray-400:hover{
  --tw-text-opacity: 1 !important;
  color: rgb(156 163 175 / var(--tw-text-opacity)) !important;
}
.hover\:text-primary:hover{
  --tw-text-opacity: 1 !important;
  color: rgb(93 135 255 / var(--tw-text-opacity)) !important;
}
.hover\:text-white:hover{
  --tw-text-opacity: 1 !important;
  color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
}
.hover\:underline:hover{
  text-decoration-line: underline !important;
}
.focus\:border-0:focus{
  border-width: 0px !important;
}
.focus\:border-blue-500:focus{
  --tw-border-opacity: 1 !important;
  border-color: rgb(59 130 246 / var(--tw-border-opacity)) !important;
}
.focus\:border-gray-300:focus{
  --tw-border-opacity: 1 !important;
  border-color: rgb(209 213 219 / var(--tw-border-opacity)) !important;
}
.focus\:ring-blue-500:focus{
  --tw-ring-opacity: 1 !important;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity)) !important;
}
.focus\:ring-transparent:focus{
  --tw-ring-color: transparent !important;
}
.focus\:ring-offset-transparent:focus{
  --tw-ring-offset-color: transparent !important;
}
.group:hover .group-hover\:scale-110{
  --tw-scale-x: 1.1 !important;
  --tw-scale-y: 1.1 !important;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}
.group:hover .group-hover\:shadow-sm{
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}
.group.is-sticky .group-\[\&\.is-sticky\]\:text-dark{
  --tw-text-opacity: 1 !important;
  color: rgb(33 33 33 / var(--tw-text-opacity)) !important;
}
:is(.dark .dark\:border-gray-700){
  --tw-border-opacity: 1 !important;
  border-color: rgb(55 65 81 / var(--tw-border-opacity)) !important;
}
:is(.dark .dark\:bg-slate-900){
  --tw-bg-opacity: 1 !important;
  background-color: rgb(15 23 42 / var(--tw-bg-opacity)) !important;
}
:is(.dark .dark\:bg-opacity-80){
  --tw-bg-opacity: 0.8 !important;
}
:is(.dark .dark\:text-gray-400){
  --tw-text-opacity: 1 !important;
  color: rgb(156 163 175 / var(--tw-text-opacity)) !important;
}
:is(.dark .dark\:text-slate-900){
  --tw-text-opacity: 1 !important;
  color: rgb(15 23 42 / var(--tw-text-opacity)) !important;
}
@media (min-width: 640px){
  .sm\:-bottom-px{
    bottom: -1px !important;
  }
  .sm\:col-span-2{
    grid-column: span 2 / span 2 !important;
  }
  .sm\:mt-0{
    margin-top: 0px !important;
  }
  .sm\:block{
    display: block !important;
  }
  .sm\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .sm\:flex-row{
    flex-direction: row !important;
  }
  .sm\:pt-0{
    padding-top: 0px !important;
  }
  .sm\:text-start{
    text-align: start !important;
  }
}
@media (min-width: 768px){
  .md\:start-2{
    inset-inline-start: 0.5rem !important;
  }
  .md\:h-\[600px\]{
    height: 600px !important;
  }
  .md\:h-\[700px\]{
    height: 700px !important;
  }
  .md\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .md\:grid-cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .md\:grid-cols-6{
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  }
  .md\:gap-\[30px\]{
    gap: 30px !important;
  }
  .md\:gap-y-12{
    row-gap: 3rem !important;
  }
  .md\:p-12{
    padding: 3rem !important;
  }
  .md\:pt-20{
    padding-top: 5rem !important;
  }
  .md\:text-4xl{
    font-size: 2.25rem !important;
    line-height: 2.5rem !important;
  }
  .md\:text-4xl\/tight{
    font-size: 2.25rem !important;
    line-height: 1.25 !important;
  }
  .md\:text-5xl\/tight{
    font-size: 3rem !important;
    line-height: 1.25 !important;
  }
  .md\:text-6xl\/tight{
    font-size: 3.75rem !important;
    line-height: 1.25 !important;
  }
}
@media (min-width: 1024px){
  .lg\:col-span-2{
    grid-column: span 2 / span 2 !important;
  }
  .lg\:mb-2{
    margin-bottom: 0.5rem !important;
  }
  .lg\:ms-24{
    margin-inline-start: 6rem !important;
  }
  .lg\:ms-5{
    margin-inline-start: 1.25rem !important;
  }
  .lg\:ms-auto{
    margin-inline-start: auto !important;
  }
  .lg\:mt-0{
    margin-top: 0px !important;
  }
  .lg\:flex{
    display: flex !important;
  }
  .lg\:inline-flex{
    display: inline-flex !important;
  }
  .lg\:hidden{
    display: none !important;
  }
  .lg\:w-1\/2{
    width: 50% !important;
  }
  .lg\:min-w-\[950px\]{
    min-width: 950px !important;
  }
  .lg\:basis-auto{
    flex-basis: auto !important;
  }
  .lg\:grid-cols-2{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .lg\:grid-cols-3{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .lg\:grid-cols-4{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .lg\:grid-cols-5{
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
  .lg\:flex-row{
    flex-direction: row !important;
  }
  .lg\:flex-nowrap{
    flex-wrap: nowrap !important;
  }
  .lg\:items-center{
    align-items: center !important;
  }
  .lg\:justify-normal{
    justify-content: normal !important;
  }
  .lg\:gap-y-24{
    row-gap: 6rem !important;
  }
  .lg\:bg-transparent{
    background-color: transparent !important;
  }
  .lg\:pb-0{
    padding-bottom: 0px !important;
  }
  .lg\:text-6xl\/tight{
    font-size: 3.75rem !important;
    line-height: 1.25 !important;
  }
  .lg\:text-base{
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
  .lg\:text-black{
    --tw-text-opacity: 1 !important;
    color: rgb(0 0 0 / var(--tw-text-opacity)) !important;
  }
  .lg\:text-white{
    --tw-text-opacity: 1 !important;
    color: rgb(255 255 255 / var(--tw-text-opacity)) !important;
  }
  .lg\:shadow-none{
    --tw-shadow: 0 0 #0000 !important;
    --tw-shadow-colored: 0 0 #0000 !important;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
  }
}
@media (min-width: 1280px){
  .xl\:block{
    display: block !important;
  }
  .xl\:inline-block{
    display: inline-block !important;
  }
}
@media (min-width: 1536px){
  .\32xl\:end-8{
    inset-inline-end: 2rem !important;
  }
}
.\[\&\.active\]\:\!text-primary.active{
  --tw-text-opacity: 1 !important;
  color: rgb(93 135 255 / var(--tw-text-opacity)) !important;
}
.group.is-sticky .group-\[\&\.is-sticky\]\:\[\&\.active\]\:text-primary.active{
  --tw-text-opacity: 1 !important;
  color: rgb(93 135 255 / var(--tw-text-opacity)) !important;
}
.\[\&\.is-sticky\]\:bg-white.is-sticky{
  --tw-bg-opacity: 1 !important;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity)) !important;
}
.\[\&\.is-sticky\]\:shadow-md.is-sticky{
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color) !important;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
}

/************************************CODE ******************/
:root {
    --pr-main: #4f46e5;
    --pr-main-soft: rgba(79, 70, 229, 0.09);
    --pr-bg-soft: #f4f7ff;
    --pr-border: #e5e7eb;
    --pr-text-main: #020617;
    --pr-text-muted: #6b7280;
}

/* СЕКЦИЯ */

#pricing.pricing-v2-section {
    padding: 88px 0;
    background:
        radial-gradient(circle at top left, #e0e7ff 0, transparent 55%),
        radial-gradient(circle at bottom right, #ccfbf1 0, #ffffff 55%);
    position: relative;
    overflow: hidden;
}

#pricing.pricing-v2-section::before,
#pricing.pricing-v2-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
#pricing.pricing-v2-section::before {
    background: rgba(79, 70, 229, 0.35);
    top: -60px;
    left: -40px;
}
#pricing.pricing-v2-section::after {
    background: rgba(45, 212, 191, 0.25);
    bottom: -80px;
    right: -40px;
}

/* ХЕДЕР */

.pricing-v2-header {
    max-width: 720px;
    margin: 0 auto 52px auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.pricing-v2-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pr-main);
}

.pricing-v2-title {
    margin-top: 10px;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--pr-text-main);
}

.pricing-v2-subtitle {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--pr-text-muted);
}

/* GRID */

.pricing-v2-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}

/* КАРТОЧКА */

.pricing-v2-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--pr-border);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.7);
    padding: 28px 26px 24px;
    transform: translateY(0);
    transition:
        transform 0.35s cubic-bezier(0.22, 0.68, 0.35, 1),
        box-shadow 0.35s cubic-bezier(0.22, 0.68, 0.35, 1),
        border-color 0.35s ease,
        background 0.35s ease;
    overflow: hidden;
}

.pricing-v2-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top, rgba(79, 70, 229, 0.16), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.pricing-v2-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 26px 70px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    border-color: var(--pr-main);
}

.pricing-v2-card:hover::before {
    opacity: 1;
}

/* ФИЧЕРНЫЙ ТАРИФ */

.pricing-v2-card--featured {
    border: 1px solid transparent;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)) padding-box,
        linear-gradient(135deg, #6366f1, #22c55e) border-box;
    box-shadow:
        0 28px 80px rgba(79, 70, 229, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

.pricing-v2-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    padding: 4px 13px;
    border-radius: 999px;
    background: var(--pr-main);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.55);
}

/* ВЕРХ КАРТОЧКИ */

.pricing-v2-top {
    text-align: center;
    padding-bottom: 14px;
}

.pricing-v2-illustration {
    height: 110px;
    margin: 0 auto 10px auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.pricing-v2-card:hover .pricing-v2-illustration {
    transform: translateY(-4px) scale(1.04);
}

.pricing-v2-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pr-text-main);
}

.pricing-v2-tagline {
    margin-top: 4px;
    font-size: 0.85rem;
    color: var(--pr-text-muted);
}

/* ЦЕНА */

.pricing-v2-price-wrap {
    margin-top: 16px;
}

.pricing-v2-price-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-v2-price-label {
    font-size: 0.9rem;
    color: var(--pr-text-muted);
}

.pricing-v2-price {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--pr-text-main);
}

.pricing-v2-price-currency {
    font-size: 1rem;
    color: #111827;
}

.pricing-v2-price-sub {
    margin-top: 2px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* СПИСОК ФИЧ */

.pricing-v2-body {
    margin-top: 16px;
    padding-bottom: 16px;
    flex: 1 1 auto;
}

.pricing-v2-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 7px;
}

.pricing-v2-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #111827;
}

.pricing-v2-feature i {
    font-size: 1.05rem;
    color: var(--pr-main);
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-v2-feature-text {
    line-height: 1.4;
}

.pricing-v2-feature-title {
    font-weight: 500;
}

.pricing-v2-feature-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    margin-top: 1px;
}

/* КНОПКА */

.pricing-v2-footer {
    padding-top: 4px;
}

.pricing-v2-btn {
    width: 100%;
    border-radius:  0.375rem !important;
    border: 1px solid var(--pr-main);
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.pricing-v2-btn i {
    font-size: 1.1rem;
}

.pricing-v2-card:hover .pricing-v2-btn {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.75);
}

/* “Призрак” для Enterprise */

.pricing-v2-card--ghost .pricing-v2-btn {
    background: #ffffff;
    color: var(--pr-main);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.pricing-v2-card--ghost:hover .pricing-v2-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.7);
}

/* НИЖНЯЯ ПРИМЕЧАНИЕ */

.pricing-v2-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.82rem;
    color: #9ca3af;
    position: relative;
    z-index: 1;
}

/* АДАПТИВ */

@media (max-width: 768px) {
    #pricing.pricing-v2-section {
        padding: 64px 0;
    }

    .pricing-v2-card {
        padding: 24px 20px 20px;
    }
}

/* Секция услуг */

#services.srv-section {
    padding: 80px 0;
    background:
        radial-gradient(circle at top left, #e0e7ff 0, transparent 55%),
        radial-gradient(circle at bottom right, #ccfbf1 0, #ffffff 55%);
    position: relative;
    overflow: hidden;
}

#services.srv-section::before,
#services.srv-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
#services.srv-section::before {
    background: rgba(79, 70, 229, 0.35);
    top: -60px;
    left: -40px;
}
#services.srv-section::after {
    background: rgba(56, 189, 248, 0.25);
    bottom: -90px;
    right: -40px;
}

/* Заголовок */

.srv-header {
    max-width: 720px;
    margin: 0 auto 52px auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.srv-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--srv-main);
}

.srv-title {
    margin-top: 10px;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--srv-text-main);
}

.srv-subtitle {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--srv-text-muted);
}

/* Сетка */

.srv-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* Карточка */

.srv-card {
    position: relative;
    height: 100%;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--srv-border);
    padding: 22px 22px 20px;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transition:
        transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s ease,
        background 0.3s ease;
    overflow: hidden;
}

.srv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.14), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.srv-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    border-color: var(--srv-main);
    background: rgba(255, 255, 255, 1);
}

.srv-card:hover::before {
    opacity: 1;
}

/* Иконка + чип */

.srv-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.srv-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, #eef2ff, #e0e7ff);
    border: 1px solid rgba(129, 140, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(129, 140, 248, 0.55);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.srv-card:hover .srv-icon-wrap {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 32px rgba(129, 140, 248, 0.7);
    background: radial-gradient(circle at 20% 20%, #e0e7ff, #c4b5fd);
}

.srv-icon-wrap i {
    font-size: 1.6rem;
    color: var(--srv-main);
}

.srv-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: #4b5563;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

/* Заголовок и текст */

.srv-card-title {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--srv-text-main);
}

.srv-card-text {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--srv-text-muted);
}

/* Мета-строка снизу */

.srv-meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #9ca3af;
}

.srv-meta span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.srv-meta i {
    font-size: 1rem;
    color: #a5b4fc;
}

/* Адаптив */

@media (max-width: 768px) {
    #services.srv-section {
        padding: 64px 0;
    }
    .srv-card {
        padding: 20px 18px 18px;
    }
}

:root {
    --srv-main: #5d87ff;
    --srv-main-soft: rgba(93, 135, 255, 0.1);
    --srv-bg-soft: #f4f7ff;
    --srv-border: #e5e7eb;
    --srv-text-main: #020617;
    --srv-text-muted: #6b7280;
}

/* Секция услуг */

#services.srv-section {
    padding: 80px 0;
    background:
        radial-gradient(circle at top left, #e0ebff 0, transparent 55%),
        radial-gradient(circle at bottom right, #dbeafe 0, #ffffff 55%);
    position: relative;
    overflow: hidden;
}

#services.srv-section::before,
#services.srv-section::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}
#services.srv-section::before {
    background: rgba(93, 135, 255, 0.45);
    top: -60px;
    left: -40px;
}
#services.srv-section::after {
    background: rgba(56, 189, 248, 0.2);
    bottom: -90px;
    right: -40px;
}

/* Заголовок */

.srv-header {
    max-width: 720px;
    margin: 0 auto 52px auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.srv-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--srv-main);
}

.srv-title {
    margin-top: 10px;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--srv-text-main);
}

.srv-subtitle {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--srv-text-muted);
}

/* Сетка: 1 / 2 / 3 колонки */

.srv-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 24px;
}

@media (min-width: 768px) {
    .srv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .srv-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Карточка */

.srv-card {
    position: relative;
    height: 100%;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--srv-border);
    padding: 22px 22px 20px;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transition:
        transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s ease,
        background 0.3s ease;
    overflow: hidden;
}

.srv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(93, 135, 255, 0.14), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.srv-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    border-color: var(--srv-main);
    background: rgba(255, 255, 255, 1);
}

.srv-card:hover::before {
    opacity: 1;
}

/* Верх карточки */

.srv-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.srv-icon-wrap {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 20%, #eef2ff, #dbeafe);
    border: 1px solid rgba(93, 135, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(93, 135, 255, 0.6);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.srv-card:hover .srv-icon-wrap {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 16px 32px rgba(93, 135, 255, 0.8);
    background: radial-gradient(circle at 20% 20%, #dbeafe, #bfdbfe);
}

.srv-icon-wrap i {
    font-size: 1.6rem;
    color: var(--srv-main);
}

.srv-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: #4b5563;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

/* Текст */

.srv-card-title {
    margin-top: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--srv-text-main);
}

.srv-card-text {
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--srv-text-muted);
}

/* Низ карточки */

.srv-meta {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #9ca3af;
}

.srv-meta span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.srv-meta i {
    font-size: 1rem;
    color: #a5b4fc;
}

/* Адаптивные поджаты */

@media (max-width: 768px) {
    #services.srv-section {
        padding: 64px 0;
    }
    .srv-card {
        padding: 20px 18px 18px;
    }
}

/* Глянцевая синяя кнопка "Личный кабинет" */
.cabinet-btn {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem !important;                /* таблетка */
    background: #5d87ff !important;                    /* как на скрине */
    color: #ffffff !important;
    border: none;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

/* постоянный мягкий пробегающий блик */
.cabinet-btn::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -120%;
    width: 60%;
    height: 180%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0)
    );
    transform: skewX(-25deg);
    opacity: 0.4;
    pointer-events: none;
    animation: cabinet-shine 4s linear infinite;
}

/* верхний глянцевый слой, как у App Store-кнопок */
.cabinet-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%
    );
    mix-blend-mode: screen;
    pointer-events: none;
}

/* hover — чуть светлее и сильнее тень */
.cabinet-btn:hover {
    transform: translateY(-1px);
    background: #6e94ff !important;

}

.cabinet-btn:hover::before {
    animation-duration: 2.4s;
    opacity: 0.6;
}

/* клик */
.cabinet-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 14px rgba(93, 135, 255, 0.5);
}

/* чтобы иконка lucide была белой */
.cabinet-btn i {
    color: #ffffff !important;
}

/* анимация пробегающего блика */
@keyframes cabinet-shine {
    0% {
        transform: translateX(0) skewX(-25deg);
    }
    100% {
        transform: translateX(260%) skewX(-25deg);
    }
}

.cabinet-icon-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 5px;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 7px;
    border-radius: 0.375rem !important;
    background: #ffffff;
    border: 2px solid #5d87ff;
    color: #5d87ff;
   
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.cabinet-icon-mobile:hover {
    background: #5d87ff;
    color: #ffffff;
    transform: translateY(-1px);
  
}

.cabinet-icon-mobile:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 4px 12px rgba(93, 135, 255, 0.5);
}

.cabinet-icon-mobile i {
    color: inherit;
}

/* ABOUT */

#about .about-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #6b7280;
}

#about .about-metric-item {
    position: relative;
    padding-left: 18px;
}

#about .about-metric-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #5d87ff;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.14);
}

/* карточки Аналитика / UI/UX / Разработка */

#about .about-feature {
    cursor: default;
}

#about .about-feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    background: radial-gradient(circle at 20% 10%, #eef2ff 0, #e0e7ff 45%, #f9fafb 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#about .about-feature i {
    color: #5d87ff;
}

#about .about-feature:hover .about-feature-icon {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(93, 135, 255, 0.3);
}

#about .about-feature h3 {
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
}

#about .about-feature p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

/* кнопка Смотреть кейсы */

#about .cases-btn {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem !important;
    padding: 0.6rem 1.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, #5d87ff, #7399ff);
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#about .cases-btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0)
    );
    transform: skewX(-25deg);
    opacity: 0.4;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

#about .cases-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #6b93ff, #8aa9ff);
}

#about .cases-btn:hover::before {
    transform: translateX(260%) skewX(-25deg);
    opacity: 0.75;
}

#about .cases-btn i {
    font-size: 1.1rem;
}

/* вторичная ссылка Обсудить проект */

#about .about-secondary-link {
    font-size: 0.9rem;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

#about .about-secondary-link i {
    font-size: 1rem;
}

/* фото справа с подсветкой */

#about .about-photo-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

#about .about-photo-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 10% 0, #bfdbfe, transparent 55%);
    filter: blur(24px);
    opacity: 0.7;
    z-index: -1;
}

#about .about-photo {
    border-radius: 1.5rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    object-fit: cover;
}

/* адаптив */

@media (max-width: 767px) {
    #about .about-metrics {
        gap: 12px;
    }
    #about .about-metric-item {
        flex: 1 1 100%;
    }
}

#home .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#home .hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #5d87ff;
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.25);
}

#home .hero-title {
    letter-spacing: -0.03em;
}

#home .hero-subtitle {
    max-width: 34rem;
}

#home .hero-metrics {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

/* сам бейдж */
#home .hero-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.32rem 0.95rem;
    border-radius: 999px;

    background:
        radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.18), transparent 60%),
        rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.45);

    font-size: 0.8rem;
    font-weight: 500;
    color: #4b5563;

    box-shadow:
        0 10px 26px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    overflow: hidden;
    cursor: default;

    /* лёгкое плавание */
    animation: heroTagFloat 7s ease-in-out infinite;
}

/* разные фазы анимации, чтобы не прыгали синхронно */
#home .hero-tag:nth-child(2) {
    animation-delay: 0.9s;
}
#home .hero-tag:nth-child(3) {
    animation-delay: 1.8s;
}

/* иконка # */
#home .hero-tag i {
    width: 14px;
    height: 14px;
    color: #5d87ff;
    flex-shrink: 0;
}

#home .hero-tag span {
    white-space: nowrap;
}

/* лёгкий блик при наведении */
#home .hero-tag::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -120%;
    width: 60%;
    height: 220%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.9),
        rgba(255, 255, 255, 0)
    );
    transform: skewX(-25deg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#home .hero-tag:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
        0 14px 34px rgba(93, 135, 255, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

#home .hero-tag:hover::before {
    opacity: 0.7;
    transform: translateX(260%) skewX(-25deg);
}

/* плавание вверх-вниз + чуть по X */

@keyframes heroTagFloat {
    0% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(2px, -3px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

/* адаптив: разрешаем перенос текста */
@media (max-width: 640px) {
    #home .hero-tag span {
        white-space: normal;
    }
}

#home .hero-metric {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}

#home .hero-metric span:first-child {
    font-weight: 600;
    color: #111827;
}

/* CTA 2025 */

#home .hero-consult-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 2.2rem;
        border-radius: 0.375rem !important;
    background: radial-gradient(circle at 0 0, #9ed5ff 0, transparent 55%),
                linear-gradient(135deg, #5d87ff, #7b9cff);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow:
        0 14px 32px rgba(93, 135, 255, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

#home .hero-consult-btn:hover {
    transform: translateY(-1px);
    background: radial-gradient(circle at 0 0, #bfe0ff 0, transparent 55%),
                linear-gradient(135deg, #6a94ff, #8badff);
    box-shadow:
        0 20px 44px rgba(93, 135, 255, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

#home .hero-consult-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 10px 26px rgba(93, 135, 255, 0.8);
}

#home .hero-consult-btn i {
    position: relative;
    z-index: 1;
}

#home .hero-consult-btn span {
    position: relative;
    z-index: 1;
}

#home .hero-consult-glow {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.35),
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%
    );
    mix-blend-mode: screen;
    pointer-events: none;
}

/* правая картинка */

#home .hero-image-wrapper {
    position: relative;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
     overflow: hidden; 
}

#home .hero-image-glow {
    position: absolute;
    inset: -30px;
    background:
        radial-gradient(circle at 10% 0, rgba(93, 135, 255, 0.5), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(56, 189, 248, 0.4), transparent 60%);
    filter: blur(36px);
    opacity: 0.9;
    z-index: -1;
}

#home .hero-device {
    border-radius: 1.5rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.55);
}

/* карточка с цифрой */

#home .hero-stats-card {
    border-radius: 1rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* адаптив */

@media (max-width: 768px) {
    #home .hero-consult-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===================== CONTACT SECTION (SCOPED) ===================== */

#contact.contact-section {
    padding: 6rem 0;
    background: #f5f6fb;
    scroll-margin-top: 90px;
}

#contact .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 1.25rem;
}

#contact .contact-grid {
    display: grid;
    row-gap: 3rem;
}

/* Сетка на десктопе: слева узко, справа широко */
@media (min-width: 1024px) {
    #contact .contact-grid {
        column-gap: 4rem;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
        align-items: flex-start;
    }
}

/* --- Левая колонка --- */

#contact .contact-left {
    max-width: 420px;
}

#contact .contact-kicker {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #5d87ff;
}

#contact .contact-title {
    margin: 0 0 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.05;
    color: #050816;
}

#contact .contact-meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

#contact .contact-meta-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

#contact .contact-meta-item--address {
    align-items: flex-start;
}

#contact .contact-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

#contact .contact-icon-inner {
    font-size: 1.25rem;
    color: #5d87ff;
}

#contact .contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
    margin-bottom: 0.1rem;
}

#contact .contact-address {
    margin: 0.15rem 0 0.4rem;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.55;
}

#contact .contact-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #111827;
    text-decoration: none;
    transition: color 0.18s ease;
}

#contact .contact-link:hover {
    color: #5d87ff;
}

#contact .contact-link-primary {
    color: #5d87ff;
    text-decoration: none;
    transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

#contact .contact-link-primary:hover {
    text-decoration: underline;
}

#contact .contact-map-link {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* --- Блок "Что мы делаем" (услуги) --- */

#contact .contact-services {
    margin-top: 2.2rem;
    padding: 1.35rem 1.4rem 1.5rem;
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.16), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(93, 135, 255, 0.08), transparent 60%),
        #ffffff;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* по одному блоку на строку */

#contact .contact-services-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.1rem;
}

#contact .contact-service {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.6rem 0.65rem;
    border-radius: 0.9rem;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

#contact .contact-service:hover {
    background: rgba(93, 135, 255, 0.04);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

#contact .contact-service-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact .contact-service-icon i {
    width: 16px;
    height: 16px;
    color: #5d87ff;
}

#contact .contact-service-text {
    max-width: 100%;
}

#contact .contact-service-title {
    font-size: 0.84rem;
    font-weight: 600;
    color: #111827;
}

#contact .contact-service-caption {
    margin-top: 0.12rem;
    font-size: 0.76rem;
    color: #6b7280;
    line-height: 1.5;
}

/* --- Правая колонка: карточка формы --- */

#contact .contact-right {
    width: 100%;
}

#contact .contact-card {
    border-radius: 1.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 2.25rem 2.6rem;
    box-shadow:
        0 26px 70px rgba(15, 23, 42, 0.10),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

#contact .contact-form-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #050816;
}

#contact .contact-form-subtitle {
    margin: 0 0 1.75rem;
    font-size: 0.9rem;
    color: #6b7280;
}

/* --- Сетка полей формы --- */

#contact .contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
}

#contact .contact-field {
    display: flex;
    flex-direction: column;
}

#contact .contact-field--full {
    grid-column: 1 / -1;
}

/* --- Лейблы --- */

#contact .contact-label-field {
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #111827;
}

/* --- Инпуты и textarea --- */

#contact .contact-input {
    width: 100%;
    font-size: 0.875rem;
    border-radius: 0.9rem;
    padding: 0.9rem 1.05rem;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

#contact .contact-input-textarea {
    resize: vertical;
    min-height: 150px;
}

#contact .contact-input::placeholder {
    color: #9ca3af;
}

#contact .contact-input:focus {
    border-color: #5d87ff;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(93, 135, 255, 0.23);
}

/* валид / невалид */

#contact .contact-input.is-invalid {
    border-color: #f97373 !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.25);
    background-color: #fef2f2;
}

#contact .contact-input.is-valid {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22);
}

/* текст ошибки */

#contact .contact-error {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #f97373;
    display: none;
}

/* --- Чекбокс политики --- */

#contact .contact-consent {
    margin-top: 1.5rem;
}

#contact .contact-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
    user-select: none;
    font-size: 0.75rem;
    color: #6b7280;
}

#contact .contact-checkbox input {
    display: none;
}

#contact .checkmark {
    width: 18px;
    height: 18px;
    border-radius: 0.45rem;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(148, 163, 184, 0.35);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    position: relative;
}

#contact .checkmark::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 0.25rem;
    background: transparent;
    transform: scale(0);
    transition: transform 0.15s ease, background 0.15s ease;
}

#contact .contact-checkbox input:checked + .checkmark {
    background: #5d87ff;
    border-color: #5d87ff;
    box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.30);
}

#contact .contact-checkbox input:checked + .checkmark::after {
    background: #ffffff;
    transform: scale(1);
}

#contact .contact-checkbox-text a {
    font-weight: 500;
}

/* --- Кнопка и статус (кнопка стилизована ТОЛЬКО в блоке контактов) --- */

#contact .contact-actions {
    margin-top: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#contact .contact-status {
    font-size: 0.85rem;
    color: #6b7280;
}

#contact .hero-consult-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.8rem 1.8rem;
       border-radius: 0.375rem !important;
    border: none;
    outline: none;
    cursor: pointer;
    background: linear-gradient(135deg, #5d87ff 0%, #7aa3ff 50%, #5d87ff 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow:
        0 12px 30px rgba(93, 135, 255, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.12);
    overflow: hidden;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

#contact .hero-consult-btn i {
    font-size: 1rem;
}

#contact .hero-consult-btn .hero-consult-glow {
    position: absolute;
    top: -120%;
    left: -20%;
    width: 60%;
    height: 300%;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.9), transparent 60%);
    opacity: 0.35;
    transform: translate3d(0,0,0);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}

#contact .hero-consult-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 40px rgba(93, 135, 255, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    filter: brightness(1.03);
}

#contact .hero-consult-btn:hover .hero-consult-glow {
    transform: translate3d(140%, 0, 0);
}

#contact .hero-consult-btn:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        0 8px 20px rgba(93, 135, 255, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* --- Адаптив --- */

@media (max-width: 1024px) {
    #contact.contact-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    #contact .contact-card {
        margin-top: 1.75rem;
        border-radius: 1.5rem;
        padding: 1.9rem 1.8rem;
    }

    #contact .contact-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #contact .contact-field--full {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    #contact .contact-title {
        font-size: 1.7rem;
    }

    #contact .contact-card {
        padding: 1.6rem 1.5rem;
        box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    }

    #contact .contact-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    #contact .contact-services {
        margin-top: 1.8rem;
        padding: 1.1rem 1.15rem 1.25rem;
    }

    #contact .contact-service {
        padding-inline: 0.4rem;
    }
}
#team {
    background-color: #f9fafb;
}

#team .team-card {
    border-radius: 1.5rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

#team .team-card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #ffffff, #f7f9ff);
}

#team .team-photo-wrap {
    width: 100%;
    aspect-ratio: 5 / 3;
    background: #e5e7eb;
    overflow: hidden;
}

#team .team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.02);
    transition: transform 0.4s ease;
}


#team .team-card:hover .team-photo-img {
    transform: scale(1.08);
}

#team .team-body {
    padding: 1.6rem 1.7rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

#team .team-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #020617;
}

#team .team-role {
    font-size: 0.82rem;
    font-weight: 500;
    color: #4b5563;
}

#team .team-text {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 0.2rem;
}

#team .team-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.3rem;
}

#team .team-tag {
    padding: 0.14rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    background: #f3f4ff;
    color: #4b5563;
}

@media (max-width: 640px) {
    #team .team-card {
        border-radius: 1.25rem;
    }

    #team .team-body {
        padding: 1.4rem 1.4rem 1.3rem;
    }
}

#team .team-role {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;

    margin-top: 0.25rem;

    padding: 0.18rem 0.7rem;
    border-radius: 999px;

    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #1d4ed8;
    background: rgba(93, 135, 255, 0.08);
    border: 1px solid rgba(93, 135, 255, 0.45);
}

#team .team-role::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #5d87ff;
    box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.25);
}
.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0.75rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.cookie-consent-inner {
    max-width: 960px;
    width: 100%;
    border-radius: 0.9rem;
    background:
        radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.12), transparent 60%),
        #ffffff;
    border: 1px solid #e5e7eb;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.cookie-consent-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #4b5563;
}

.cookie-consent-text a {
    color: #5d87ff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.cookie-consent-text a:hover {
    color: #3b82f6;
}

.cookie-consent-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cookie-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.4rem;
    border-radius: 999px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    background: linear-gradient(135deg, #5d87ff, #7aa3ff);
    color: #ffffff;
    box-shadow:
        0 8px 18px rgba(93, 135, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.7);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.cookie-btn-primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #6b93ff, #8aa9ff);
    box-shadow:
        0 10px 24px rgba(93, 135, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

.cookie-btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 6px 14px rgba(93, 135, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .cookie-consent-actions {
        width: 100%;
    }
    .cookie-btn-primary {
        width: 100%;
        justify-content: center;
    }
}

:root {
    --pricing-main: #5d87ff;
    --pricing-main-soft: rgba(93, 135, 255, 0.08);
    --pricing-bg: #f5f7ff;
    --pricing-border: #e5e7eb;
    --pricing-text-main: #020617;
    --pricing-text-muted: #6b7280;
}

.pricing-v3-section {
    padding: 80px 0;
    background:
        radial-gradient(circle at top left, #e0ebff 0, transparent 55%),
        radial-gradient(circle at bottom right, #dbeafe 0, #ffffff 55%);
    position: relative;
    overflow: hidden;
}

.pricing-v3-container {
    max-width: 1480px;
    margin: 0 auto;
}

.pricing-v3-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.pricing-v3-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--pricing-main);
}

.pricing-v3-title {
    margin-top: 10px;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--pricing-text-main);
}

.pricing-v3-subtitle {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--pricing-text-muted);
}

/* карусель */





/* карусель */

.pricing-v3-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

.pricing-v3-carousel {
    display: grid;
    grid-auto-flow: column;
    /* 3 карточки в видимой области */
    grid-auto-columns: calc((100% - 2 * 24px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 14px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* можно скрыть скроллбар в WebKit, если надо */
.pricing-v3-carousel::-webkit-scrollbar {
    display: none;
}

.pricing-v3-card {
    scroll-snap-align: start;
    border-radius: 24px;
    border: 1px solid var(--pricing-border);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 360px;
    box-sizing: border-box;
    position: relative;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.pricing-v3-card--featured {
    background: linear-gradient(135deg, rgba(93, 135, 255, 0.08), rgba(255, 255, 255, 0.96));
    border-color: rgba(93, 135, 255, 0.55);
}

.pricing-v3-card:hover {
    transform: translateY(-6px);
   
    border-color: rgba(93, 135, 255, 0.75);
}

/* бейдж "популярный" */

.pricing-v3-badge {
    position: absolute;
    top: 14px;
    right: 16px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.12);
    color: var(--pricing-main);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* иконка */

.pricing-v3-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.95), transparent 60%),
        var(--pricing-main-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.pricing-v3-icon i {
    width: 24px;
    height: 24px;
    color: var(--pricing-main);
}

/* текст в карточке */

.pricing-v3-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--pricing-text-main);
}

.pricing-v3-tagline {
    margin-top: 4px;
    font-size: 0.87rem;
    color: var(--pricing-text-muted);
}

/* цена */

.pricing-v3-price-wrap {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pricing-v3-price-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.pricing-v3-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pricing-text-main);
}

.pricing-v3-price-currency {
    font-size: 0.9rem;
    color: #6b7280;
}

.pricing-v3-price-sub {
    margin-top: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

/* список */

.pricing-v3-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--pricing-text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.pricing-v3-list li::before {
    content: "•";
    margin-right: 6px;
    color: var(--pricing-main);
}

/* кнопка */

.pricing-v3-btn {
    margin-top: 16px;
    align-self: stretch;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.1rem;
    background: linear-gradient(135deg, #5d87ff, #7b9cff);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.pricing-v3-btn i {
    font-size: 1rem;
}

.pricing-v3-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #688fff, #8ca9ff);
    box-shadow: 0 12px 28px rgba(93, 135, 255, 0.55);
}

.pricing-v3-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 8px 18px rgba(93, 135, 255, 0.45);
}

/* навигация */

.pricing-v3-nav-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.pricing-v3-nav-btn i {
    width: 20px;
    height: 20px;
    color: #4b5563;
}

.pricing-v3-nav-btn:hover {
    background: #5d87ff;
    border-color: #5d87ff;
    box-shadow: 0 12px 26px rgba(93, 135, 255, 0.5);
    transform: translateY(-1px);
}

.pricing-v3-nav-btn:hover i {
    color: #ffffff;
}

.pricing-v3-note {
    margin-top: 28px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--pricing-text-muted);
}

/* адаптив */

@media (max-width: 1024px) {
    .pricing-v3-section {
        padding: 64px 0;
    }

    .pricing-v3-carousel-wrap {
        gap: 12px;
    }

    .pricing-v3-nav-btn {
        display: none;
    }

    .pricing-v3-carousel {
        grid-auto-columns: minmax(260px, 80vw);
        padding-inline: 0;
    }
}

@media (max-width: 640px) {
    .pricing-v3-title {
        font-size: 1.7rem;
    }

    .pricing-v3-card {
        min-height: 340px;
    }

    .pricing-v3-btn {
        width: 100%;
    }
}
#stack .stack-marquee {
    position: relative;
    overflow: hidden;
}

#stack .stack-marquee-inner {
    display: inline-flex;
    align-items: stretch;
    gap: 1rem;
    animation: stack-marquee 32s linear infinite;
    will-change: transform;
}

#stack .stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
    white-space: nowrap;
}

#stack .stack-pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d87ff;
}

#stack .stack-pill-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #020617;
}

#stack .stack-pill-caption {
    font-size: 0.75rem;
    color: #6b7280;
}

#stack .stack-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(93, 135, 255, 0.6);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}



@keyframes stack-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    #stack .stack-marquee-inner {
        animation-duration: 40s;
    }

    #stack .stack-pill {
        padding-inline: 1rem;
        font-size: 0.8rem;
    }
}
#stack .stack-marquee {
    position: relative;
    overflow: hidden;
}

#stack .stack-marquee-inner {
    display: inline-flex;
    align-items: stretch;
    gap: 1rem;
    animation: stack-marquee 24s linear infinite; /* быстрее и без остановок */
    will-change: transform;
}

#stack .stack-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
    white-space: nowrap;
}

#stack .stack-pill-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d87ff;
}

#stack .stack-pill-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #020617;
}

#stack .stack-pill-caption {
    font-size: 0.75rem;
    color: #6b7280;
}

#stack .stack-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(93, 135, 255, 0.6);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

@keyframes stack-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    #stack .stack-marquee-inner {
        animation-duration: 30s; /* на мобиле чуть помедленнее */
    }

    #stack .stack-pill {
        padding-inline: 1rem;
        font-size: 0.8rem;
    }
}
.site-footer {
    background: #17243A;
    color: #e5e7eb;
    font-size: 0.9rem;
}

/* верхняя часть футера */
.site-footer .container > .grid {
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

/* логотип + текст о компании */
.site-footer p {
    line-height: 1.6;
}

.site-footer .text-gray-300 {
    color: #9ca3af;
}

/* заголовки колонок */
.site-footer h4 {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e5e7eb;
}

/* навигационные ссылки (добавь к ним класс footer-nav-link) */
.site-footer .footer-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #cbd5f5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-nav-link::before {
    content: "›";
    font-size: 0.85rem;
    color: #5d87ff;
    opacity: 0.7;
    transform: translateY(1px);
}

.site-footer .footer-nav-link:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.site-footer .footer-nav-link:hover::before {
    opacity: 1;
}

/* e-mail — оставляем без стрелочки, только подправляем цвет */
.site-footer a[href^="mailto:"] {
    font-weight: 500;
    color: #e5e7eb;
}
.site-footer a[href^="mailto:"]:hover {
    color: #c3d3ff;
}

/* нижняя плашка */
.site-footer-bottom {
    background: #1C2940;
    padding-block: 0.9rem;
}

.site-footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-footer-bottom p {
    font-size: 0.85rem;
    color: #e5e7eb;
}

/* кнопка "Вверх" по центру и синяя стрелка */
.footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(93, 135, 255, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: #cbd5ff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-back-top svg {
    width: 14px;
    height: 14px;
    color: #5d87ff;
}

.footer-back-top:hover {
    background: rgba(24, 35, 64, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.6);
}

/* адаптив: на мобиле всё по центру */
@media (max-width: 768px) {
    .site-footer .container > .grid {
        padding-top: 2.5rem;
        padding-bottom: 2rem;
        row-gap: 2rem;
    }

    .site-footer-bottom .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

.cookie-consent-hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ==== ГЛОБАЛЬНЫЙ БРЕНД-СКРОЛЛ ==== */

:root {
    --sb-track: rgba(15, 23, 42, 0.02);
    --sb-track-border: rgba(148, 163, 184, 0.4);
    --sb-thumb: #5d87ff;
    --sb-thumb-light: #9fb8ff;
    --sb-thumb-hover: #7b9cff;
}

/* Firefox — работает для body и всех элементов со скроллом */
* {
    scrollbar-width: thin; /* тонкий скролл */
    scrollbar-color: var(--sb-thumb) transparent;
}

/* WebKit-браузеры (Chrome, Edge, Opera, Safari) */
*::-webkit-scrollbar {
    width: 11px;     /* вертикальный */
    height: 11px;    /* горизонтальный */
}

/* Трек */
*::-webkit-scrollbar-track {
    background: var(--sb-track);
    border-radius: 999px;
    box-shadow:
        inset 0 0 0 1px var(--sb-track-border),
        inset 0 0 6px rgba(15, 23, 42, 0.12);
}

/* Ползунок */
*::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background:
        linear-gradient(180deg, var(--sb-thumb-light), var(--sb-thumb));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.7),
        0 4px 10px rgba(93, 135, 255, 0.55);
    border: 2px solid rgba(248, 250, 252, 0.9); /* создаёт "пузатость" */
}

/* Ползунок при наведении */
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--sb-thumb-hover), var(--sb-thumb));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9),
        0 6px 14px rgba(93, 135, 255, 0.7);
}

/* Ползунок при активном перетаскивании */
*::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, var(--sb-thumb), var(--sb-thumb-hover));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8),
        0 3px 8px rgba(37, 99, 235, 0.7);
}

/* Угловой кусок (когда есть и вертикальный, и горизонтальный скролл) */
*::-webkit-scrollbar-corner {
    background: transparent;
}

/* Чуть помягче на совсем маленьких экранах (если вдруг десктопный сайт на планшете) */
@media (max-width: 768px) {
    *::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }
}

:root {
    --vacancy-primary: #5d87ff;
    --vacancy-primary-soft: rgba(93, 135, 255, 0.1);
    --vacancy-border: #e5e7eb;
    --vacancy-bg-soft: #f9fafb;
    --vacancy-text-main: #020617;
    --vacancy-text-muted: #6b7280;
}

/* Вакансии */

#vacancy.vacancy-section {
    padding: 0rem 0 4rem;
    background: var(--vacancy-bg-soft);
}

#vacancy .vacancy-header {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

#vacancy .vacancy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.06);
    color: var(--vacancy-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

#vacancy .vacancy-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--vacancy-primary);
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.28);
}

#vacancy .vacancy-title {
    margin-top: 0.9rem;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--vacancy-text-main);
}

#vacancy .vacancy-subtitle {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--vacancy-text-muted);
}

#vacancy .vacancy-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
}

@media (min-width: 768px) {
    #vacancy .vacancy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    #vacancy .vacancy-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#vacancy .vacancy-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.7rem 1.75rem 1.6rem;
    border-radius: 1.2rem;
    border: 1px solid var(--vacancy-border);
    background: #ffffff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

#vacancy .vacancy-card:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    background: radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.02), #ffffff 60%);
}

#vacancy .vacancy-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

#vacancy .vacancy-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    color: var(--vacancy-primary);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#vacancy .vacancy-chip i {
    width: 14px;
    height: 14px;
}

#vacancy .vacancy-meta-pill {
    font-size: 0.7rem;
    color: #6b7280;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
}

#vacancy .vacancy-title-card {
    margin-top: 0.4rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--vacancy-text-main);
}

#vacancy .vacancy-salary {
    margin-top: 0.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--vacancy-primary);
}

#vacancy .vacancy-meta-line {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: var(--vacancy-text-muted);
}

#vacancy .vacancy-text {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--vacancy-text-muted);
    line-height: 1.55;
}

#vacancy .vacancy-tags-row {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

#vacancy .vacancy-tag {
    font-size: 0.7rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #f3f4ff;
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.16);
}

#vacancy .vacancy-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

#vacancy .vacancy-apply-caption {
    font-size: 0.75rem;
    color: var(--vacancy-text-muted);
}

#vacancy .vacancy-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.375rem !important;
    border: none;
    background: linear-gradient(135deg, #5d87ff, #7b9dff);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow:
        0 10px 26px rgba(93, 135, 255, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.16);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

#vacancy .vacancy-apply-btn i {
    width: 16px;
    height: 16px;
}

#vacancy .vacancy-apply-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #6c94ff, #90aaff);
    box-shadow:
        0 14px 32px rgba(93, 135, 255, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

#vacancy .vacancy-apply-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 8px 20px rgba(93, 135, 255, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.2);
}

#vacancy .vacancy-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--vacancy-text-muted);
    text-align: center;
}

/* Стажировка */

.internship-section {
    padding: 4.5rem 0 4rem;
    background: #ffffff;
}

.internship-inner {
   /* max-width: 1120px;*/
    margin: 0 auto;
}

.internship-header {
    max-width: 640px;
    margin-bottom: 2.8rem;
}

.internship-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vacancy-primary);
}

.internship-title {
    margin-top: 0.7rem;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--vacancy-text-main);
}

.internship-subtitle {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: var(--vacancy-text-muted);
}

.internship-grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .internship-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: flex-start;
    }
}

.internship-steps {
    position: relative;
    padding-left: 2.3rem;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.internship-steps::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.7), rgba(148, 163, 184, 0.1));
}

.internship-step {
    position: relative;
    display: flex;
    gap: 1.1rem;
}

.internship-step-dot {
    position: absolute;
    left: -2.3rem;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 0.375rem !important;
    background: #ffffff;
    border: 1px solid rgba(93, 135, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vacancy-primary);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.internship-step-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--vacancy-text-main);
}

.internship-step-text {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: var(--vacancy-text-muted);
    line-height: 1.6;
}

.internship-conditions-block {
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.11), transparent 60%),
        #f9fafb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.7rem 1.6rem 1.6rem;
}

.internship-conditions-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--vacancy-text-main);
    margin-bottom: 1.1rem;
}

.internship-conditions-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .internship-conditions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.internship-condition {
    padding: 0.9rem 0.9rem;
    border-radius: 0.9rem;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.9);
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.internship-condition-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.internship-condition-icon i {
    width: 16px;
    height: 16px;
    color: var(--vacancy-primary);
}

.internship-condition-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--vacancy-text-main);
}

.internship-condition-text {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: var(--vacancy-text-muted);
}

/* CTA "Станьте частью команды" */

.vacancy-cta-section {
    padding: 4rem 0 4.5rem;
    background: #f3f4ff;
}

.vacancy-cta-card {

    margin: 0 auto;
    border-radius: 1.7rem;
    padding: 2rem 2rem 2.2rem;
    background:
        radial-gradient(circle at 0 0, rgba(191, 219, 254, 0.6), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(129, 140, 248, 0.55), transparent 55%),
        linear-gradient(135deg, #1e293b, #020617);
    color: #ffffff;
    display: grid;
    gap: 1.6rem;
}

@media (min-width: 768px) {
    .vacancy-cta-card {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        align-items: center;
    }
}

.vacancy-cta-title {
    font-size: 1.7rem;
    font-weight: 600;
}

.vacancy-cta-text {
    margin-top: 0.55rem;
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.95);
}

.vacancy-cta-badges {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.vacancy-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.5);
    font-size: 0.75rem;
    color: #e5e7eb;
}

.vacancy-cta-badge i {
    width: 14px;
    height: 14px;
}

.vacancy-cta-right {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.9rem;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    align-content: center;
}

.vacancy-cta-note {
    font-size: 0.8rem;
    color: rgba(226, 232, 240, 0.9);
}

.vacancy-cta-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1.6rem;
    border-radius: 0.375rem !important;
    border: none;
    cursor: pointer;
    background: radial-gradient(circle at 0 0, #9ed5ff 0, transparent 55%),
                linear-gradient(135deg, #5d87ff, #7b9cff);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow:
        0 14px 32px rgba(93, 135, 255, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.vacancy-cta-btn span,
.vacancy-cta-btn i {
    position: relative;
    z-index: 1;
}

.vacancy-cta-btn i {
    width: 18px;
    height: 18px;
}

.vacancy-cta-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.32),
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%
    );
    mix-blend-mode: screen;
    pointer-events: none;
}

.vacancy-cta-btn:hover {
    transform: translateY(-1px);
    background: radial-gradient(circle at 0 0, #bfe0ff 0, transparent 55%),
                linear-gradient(135deg, #6a94ff, #8badff);
    box-shadow:
        0 20px 44px rgba(93, 135, 255, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

.vacancy-cta-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 10px 26px rgba(93, 135, 255, 0.8);
}

/* Модалка отклика */

.vacancy-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.vacancy-modal.is-open {
    display: flex;
}

.vacancy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.vacancy-modal-panel {
    z-index: 999999!important;
    position: relative;
    max-width: 740px;
    width: 100%;
    border-radius: 1.6rem;
    padding: 1.9rem 2rem 1.9rem;
    background: #ffffff;
    border: 1px solid var(--vacancy-border);
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.32);
    z-index: 1;
}

.vacancy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.vacancy-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--vacancy-text-main);
}

.vacancy-modal-subtitle {
    margin-top: 0.35rem;
    font-size: 0.9rem;
    color: var(--vacancy-text-muted);
}

.vacancy-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        border-color 0.18s ease;
}

.vacancy-modal-close i {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.vacancy-modal-close:hover {
    background: #ffffff;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.vacancy-fields-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem 1.1rem;
    margin-top: 0.4rem;
}

@media (min-width: 640px) {
    .vacancy-fields-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vacancy-field--full {
        grid-column: 1 / -1;
    }
}

.vacancy-field-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
}

.vacancy-input,
.vacancy-select {
    width: 100%;
    font-size: 0.85rem;
    border-radius: 0.8rem;
    padding: 0.75rem 0.95rem;
    border: 1px solid #e5e7eb;
    background-color: #f9fafb;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}

.vacancy-input::placeholder {
    color: #9ca3af;
}

.vacancy-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%), linear-gradient(135deg, #9ca3af 50%, transparent 50%);
    background-position: calc(100% - 14px) 14px, calc(100% - 9px) 14px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.vacancy-input:focus,
.vacancy-select:focus {
    border-color: var(--vacancy-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 1px rgba(93, 135, 255, 0.25);
}

.vacancy-input.is-invalid,
.vacancy-select.is-invalid {
    border-color: #f97373 !important;
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.25);
    background-color: #fef2f2;
}

.vacancy-input.is-valid,
.vacancy-select.is-valid {
    border-color: #22c55e !important;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.22);
}

.vacancy-error {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #f97373;
    display: none;
}

/* Файл резюме */

.vacancy-file-row {
    margin-top: 1rem;
}

.vacancy-file-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.4rem;
}

.vacancy-file-input {
    display: none;
}

.vacancy-file-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.vacancy-file-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    font-size: 0.8rem;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.vacancy-file-trigger i {
    width: 16px;
    height: 16px;
    color: var(--vacancy-primary);
}

.vacancy-file-trigger:hover {
    background: #ffffff;
    border-color: var(--vacancy-primary);
    transform: translateY(-1px);
}

.vacancy-file-name {
    font-size: 0.8rem;
    color: var(--vacancy-text-muted);
}

/* Политика */

.vacancy-policy-row {
    margin-top: 1.1rem;
}

.vacancy-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: var(--vacancy-text-muted);
    cursor: pointer;
    user-select: none;
}

.vacancy-checkbox-label input {
    display: none;
}

.vacancy-checkbox-mark {
    width: 18px;
    height: 18px;
    border-radius: 0.4rem;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(148, 163, 184, 0.4);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.vacancy-checkbox-mark::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 0.25rem;
    background: transparent;
    transform: scale(0);
    transition: transform 0.15s ease, background 0.15s ease;
}

.vacancy-checkbox-label input:checked + .vacancy-checkbox-mark {
    background: var(--vacancy-primary);
    border-color: var(--vacancy-primary);
    box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.28);
}

.vacancy-checkbox-label input:checked + .vacancy-checkbox-mark::after {
    background: #ffffff;
    transform: scale(1);
}

.vacancy-checkbox-text a {
    color: var(--vacancy-primary);
    font-weight: 500;
}

.vacancy-checkbox-text a:hover {
    text-decoration: underline;
}

/* Низ модалки */

.vacancy-modal-footer {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.9rem;
    justify-content: space-between;
}

.vacancy-submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.7rem 1.6rem;
        border-radius: 0.375rem !important;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #5d87ff, #7b9cff);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow:
        0 12px 30px rgba(93, 135, 255, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.12);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

.vacancy-submit-btn i {
    width: 18px;
    height: 18px;
}

.vacancy-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 40px rgba(93, 135, 255, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.18);
    filter: brightness(1.03);
}

.vacancy-submit-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 10px 26px rgba(93, 135, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.18);
}

.vacancy-status {
    font-size: 0.8rem;
    color: var(--vacancy-text-muted);
}

.vacancy-status--error {
    color: #ef4444;
}

.vacancy-status--success {
    color: #16a34a;
}

@media (max-width: 640px) {
    .vacancy-modal-panel {
        padding-inline: 1.4rem;
    }

    .vacancy-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .vacancy-submit-btn {
        justify-content: center;
        width: 100%;
    }
}

:root {
    --cases-main: #5d87ff;
    --cases-main-soft: rgba(93, 135, 255, 0.08);
    --cases-bg: #f5f6fb;
    --cases-text-main: #020617;
    --cases-text-muted: #6b7280;
    --cases-border: #e5e7eb;
    --cases-radius-card: 20px;
    --cases-radius-btn: 0.375rem;
}

/* Страница */

.cases-page {
    background: #ffffff;
}

/* Hero */

.cases-hero {
    position: relative;
    padding: 120px 0 80px;
    background:
        radial-gradient(circle at 0% 0%, #e0edff 0, transparent 55%),
        radial-gradient(circle at 90% 0%, #dbeafe 0, transparent 60%),
        #ffffff;
    overflow: hidden;
}

.cases-hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 100% 20%, rgba(93, 135, 255, 0.12), transparent 60%);
    opacity: 0.8;
    pointer-events: none;
}

.cases-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.cases-hero-left {
    max-width: 620px;
}

.cases-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.85rem;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cases-hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--cases-main);
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.25);
}

.cases-hero-title {
    margin-top: 1.25rem;
    font-size: clamp(2.3rem, 3.4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--cases-text-main);
}

.cases-hero-subtitle {
    margin-top: 1rem;
    font-size: 0.98rem;
    color: var(--cases-text-muted);
    max-width: 32rem;
}

.cases-hero-tags {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cases-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    font-size: 0.85rem;
    color: #374151;
    backdrop-filter: blur(10px);
}

.cases-hero-tag i {
    width: 16px;
    height: 16px;
    color: var(--cases-main);
}

.cases-hero-right {
    display: flex;
    justify-content: flex-end;
}

.cases-hero-visual {
    position: relative;
    max-width: 520px;
    width: 100%;
}

.cases-hero-glow {
    position: absolute;
    inset: -40px;
    background:
        radial-gradient(circle at 10% 0, rgba(93, 135, 255, 0.5), transparent 55%),
        radial-gradient(circle at 90% 90%, rgba(56, 189, 248, 0.35), transparent 60%);
    filter: blur(32px);
    opacity: 0.95;
    z-index: -1;
}

.hero-consult-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.375rem !important;
    border: none;
    background: linear-gradient(135deg, #5d87ff, #7b9dff);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(93, 135, 255, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.16);
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        opacity 0.18s ease;
}

.hero-consult-btn .mdi {
    font-size: 1rem;
}

.hero-consult-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(93, 135, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.2);
    opacity: 0.96;
}

.hero-consult-btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(93, 135, 255, 0.45);
    opacity: 0.9;
}

.hero-consult-btn:focus-visible {
    outline: 2px solid rgba(93, 135, 255, 0.8);
    outline-offset: 3px;
}
.hero-secondary-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(93, 135, 255, 0.25);
    background: #ffffff;
    color: #2952cc;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.hero-secondary-link i[data-lucide] {
    width: 15px;
    height: 15px;
    transition: transform 0.18s ease;
}

.hero-secondary-link:hover {
    background: rgba(93, 135, 255, 0.06);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.hero-secondary-link:hover i[data-lucide] {
    transform: translateX(2px);
}

.hero-secondary-link:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.hero-secondary-link:focus-visible {
    outline: 2px solid rgba(93, 135, 255, 0.8);
    outline-offset: 3px;
}
.case-media-overlay-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
    transform: translateY(6px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        opacity 0.2s ease;
}

.case-media-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #93c5fd, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.7);
}

.case-media-icon i {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #fff;
    stroke-width: 2.1;
}

.case-media-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #e5e7eb;
}

/* лёгкое движение при ховере карточки */
.case-card:hover .case-media-overlay-inner {
    transform: translateY(0);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.65);
    background: rgba(15, 23, 42, 0.9);
}


/* Секция кейсов */

.cases-list-section {
    padding: 0px 0 72px;
    background:
        radial-gradient(circle at 0 120%, #eef2ff 0, transparent 55%),
        #ffffff;
}

.cases-list-head {
    max-width: 720px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.cases-list-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--cases-text-main);
}

.cases-list-subtitle {
    margin-top: 0.75rem;
    font-size: 0.96rem;
    color: var(--cases-text-muted);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 28px;
}

@media (min-width: 768px) {
    .cases-hero {
        padding-top: 120px;
        padding-bottom: 96px;
    }
    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Карточка кейса */

.case-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--cases-radius-card);
    border: 1px solid var(--cases-border);
    box-shadow:
        0 14px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: rgba(93, 135, 255, 0.7);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 1);
}

/* Верх (картинка) */

.case-media {
    position: relative;
    background: radial-gradient(circle at 0 0, #dbeafe 0, #eef2ff 40%, #ffffff 100%);
    padding: 16px 16px 6px;
}

.case-media-link {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

.case-cover {
    width: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    background-color: #f3f4f6;
}

.case-media-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px 12px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.45), transparent 60%);
    transition: opacity 0.2s ease;
}

.case-media-link:hover .case-media-overlay {
    opacity: 1;
}

.case-media-overlay-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #f9fafb;
    font-size: 0.8rem;
    font-weight: 500;
}

.case-media-overlay-inner i {
    width: 16px;
    height: 16px;
}

/* Тело */

.case-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.case-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cases-text-main);
}

.case-subtitle {
    font-size: 0.9rem;
    color: var(--cases-text-muted);
}

/* Низ карточки */

.case-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.case-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border-radius: var(--cases-radius-btn) !important;
    border: none;
    background: var(--cases-main);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
    box-shadow: 0 10px 24px rgba(93, 135, 255, 0.55);
}

.case-btn i {
    font-size: 1rem;
}

.case-btn:hover {
    transform: translateY(-1px);
    background: #6b93ff;
    box-shadow: 0 14px 32px rgba(93, 135, 255, 0.7);
}

.case-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 14px rgba(93, 135, 255, 0.55);
}

.case-btn--ghost {
    background: #ffffff;
    color: #1f2933;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: none;
}

.case-btn--ghost:hover {
    background: rgba(93, 135, 255, 0.06);
    border-color: var(--cases-main);
    color: var(--cases-main);
}

/* CTA */

.cases-cta-section {
    padding: 0 0 80px;
    background: linear-gradient(to bottom, #ffffff 0, #f3f4ff 40%, #eef2ff 100%);
}

.cases-cta-card {
    margin-top: 20px;
    border-radius: 32px;
    background:
        radial-gradient(circle at 0 0, rgba(148, 163, 253, 0.25), transparent 60%),
        linear-gradient(135deg, #0f172a, #1e3a8a, #1d4ed8);
    padding: 26px 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    color: #e5edff;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.cases-cta-text {
    flex: 1 1 260px;
    min-width: 0;
}

.cases-cta-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f9fafb;
}

.cases-cta-subtitle {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: #cbd5f5;
}

.cases-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.cases-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--cases-radius-btn) !important;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.cases-cta-btn--primary {
    background: #ffffff;
    color: #1e3a8a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.4);
}

.cases-cta-btn--primary:hover {
    transform: translateY(-1px);
    background: #e5edff;
}

.cases-cta-btn--ghost {
    background: transparent;
    color: #e5edff;
    border-color: rgba(191, 219, 254, 0.6);
}

.cases-cta-btn--ghost:hover {
    background: rgba(15, 23, 42, 0.4);
}

/* Fancybox лёгкий тёмный фон */

.fancybox__container {
    --fancybox-bg: rgba(15, 23, 42, 0.92);
    z-index: 9999;
}

.fancybox__caption {
    font-size: 0.85rem;
}

/* Адаптив */

@media (max-width: 1024px) {
    .cases-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .cases-hero-right {
        order: -1;
        justify-content: center;
    }
    .cases-hero-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .cases-hero {
        padding: 96px 0 56px;
    }
    .cases-cta-card {
        padding: 22px 18px;
        border-radius: 24px;
    }
    .cases-cta-actions {
        width: 100%;
    }
    .cases-cta-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

.legal-page {
    background: #f9fafb;
    min-height: 100vh;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.legal-container {
    max-width: 1120px;
    margin: 0 auto;
    padding-inline: 1.25rem;
}

.legal-hero {
    padding-bottom: 2.5rem;
}

.legal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.18rem 0.75rem 0.2rem;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.legal-kicker-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #5d87ff;
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.28);
}

.legal-title {
    margin-top: 1.25rem;
    font-size: clamp(2rem, 3.1vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #050816;
    letter-spacing: -0.02em;
}

.legal-subtitle {
    margin-top: 0.9rem;
    max-width: 44rem;
    font-size: 0.95rem;
    color: #6b7280;
}

.legal-hero-meta {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.legal-hero-pill {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.03);
    font-size: 0.8rem;
}

.legal-hero-label {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #9ca3af;
    font-weight: 600;
}

.legal-hero-value {
    color: #111827;
    font-weight: 500;
}

.legal-hero-link {
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.legal-hero-link:hover {
    text-decoration: underline;
}

/* Layout */

.legal-body {
    padding-top: 1rem;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    gap: 2.25rem;
    align-items: flex-start;
}

@media (max-width: 960px) {
    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* TOC */

.legal-toc {
    position: sticky;
    top: 6.5rem;
    align-self: flex-start;
    border-radius: 1.1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1.25rem 1.2rem 1.4rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.04);
}

@media (max-width: 960px) {
    .legal-toc {
        position: static;
    }
}

.legal-toc-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin-bottom: 0.85rem;
}

.legal-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.legal-toc-list li {
    margin-bottom: 0.35rem;
}

.legal-toc-list a {
    display: block;
    padding: 0.2rem 0.1rem;
    border-radius: 0.375rem;
    color: #374151;
    text-decoration: none;
    transition: color 0.18s ease, background 0.18s ease, padding-left 0.18s ease;
}

.legal-toc-list a:hover {
    color: #1d4ed8;
    background: rgba(59, 130, 246, 0.06);
    padding-left: 0.45rem;
}

.legal-toc-note {
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e5e7eb;
    font-size: 0.78rem;
    color: #6b7280;
}

.legal-toc-note a {
    color: #2563eb;
}

/* Article */

.legal-article {
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1.75rem 1.9rem 2rem;
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

@media (max-width: 640px) {
    .legal-article {
        padding: 1.4rem 1.3rem 1.6rem;
    }
}

.legal-section + .legal-section {
    margin-top: 1.9rem;
    padding-top: 1.6rem;
    border-top: 1px solid #f3f4f6;
}

.legal-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.7rem;
}

.legal-section h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: #111827;
    margin-top: 0.9rem;
    margin-bottom: 0.4rem;
}

.legal-section p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.6rem;
}

.legal-section ul {
    margin: 0.4rem 0 0.7rem 1.1rem;
    padding: 0;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.7;
}

.legal-section ul li {
    margin-bottom: 0.25rem;
}

.legal-section a {
    color: #2563eb;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}
:root {
    --blog-primary: #5d87ff;
    --blog-primary-soft: rgba(93, 135, 255, 0.08);
    --blog-border: #e5e7eb;
    --blog-bg-soft: #f9fafb;
    --blog-text-main: #020617;
    --blog-text-muted: #6b7280;
}

/* ==================== BLOG LIST PAGE ==================== */

.blog-page {
    background: #ffffff;
}

/* HERO */

.blog-hero {
    padding: 6rem 0 3rem;
    background:
        radial-gradient(circle at top left, #e0ebff 0, transparent 55%),
        radial-gradient(circle at bottom right, #e0f2fe 0, #ffffff 55%);
    position: relative;
    overflow: hidden;
}

.blog-hero::before,
.blog-hero::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    filter: blur(70px);
    opacity: 0.4;
    pointer-events: none;
}

.blog-hero::before {
    background: rgba(93, 135, 255, 0.4);
    top: -80px;
    left: -60px;
}

.blog-hero::after {
    background: rgba(56, 189, 248, 0.32);
    bottom: -90px;
    right: -40px;
}

.blog-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid rgba(93, 135, 255, 0.22);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--blog-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--blog-primary);
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.3);
}

.blog-hero-title {
    margin-top: 1.1rem;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--blog-text-main);
}

.blog-hero-subtitle {
    margin-top: 0.85rem;
    font-size: 0.95rem;
    color: var(--blog-text-muted);
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* SEARCH */

.blog-search {
    margin-top: 1.9rem;
}

.blog-search-inner {
    max-width: 540px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow:
        0 20px 40px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.6);
    padding: 0.25rem;
}

.blog-search-icon {
    margin-left: 0.85rem;
    font-size: 1rem;
    color: #9ca3af;
    align-self: center;
}

.blog-search-input {
    flex: 1 1 auto;
    border: none;
    background: transparent;
    padding: 0.7rem 0.85rem;
    font-size: 0.9rem;
    outline: none;
    color: var(--blog-text-main);
}

.blog-search-input::placeholder {
    color: #9ca3af;
}

.blog-search-btn {
    border-radius: 999px;
    border: none;
    padding: 0.55rem 1.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: linear-gradient(135deg, #5d87ff, #7a9dff);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

.blog-search-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 40px rgba(93, 135, 255, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    filter: brightness(1.03);
}

.blog-search-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 10px 24px rgba(93, 135, 255, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* FILTER TAGS */

.blog-filters {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: var(--blog-text-muted);
}

.blog-filter-label {
    opacity: 0.85;
}

.blog-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-filter-tag {
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    color: #4b5563;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.blog-filter-tag:hover {
    background: rgba(93, 135, 255, 0.06);
    border-color: rgba(93, 135, 255, 0.9);
    color: var(--blog-primary);
    transform: translateY(-1px);
}

/* FEATURED */

.blog-featured {
    padding: 1.5rem 0 3.5rem;
    background: #ffffff;
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: 2rem;
    border-radius: 1.75rem;
    border: 1px solid var(--blog-border);
    background: #ffffff;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    padding: 1.7rem 1.7rem 1.7rem 1.7rem;
}

.blog-featured-media {
    position: relative;
}

.blog-featured-media-inner {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 1.4rem;
    background: #0f172a;
}

.blog-featured-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.28rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    z-index: 2;
}

.blog-featured-image-link {
    display: block;
    position: relative;
}

.blog-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 320px;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

.blog-featured-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0, rgba(15, 23, 42, 0.2), transparent 55%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.1rem 1.2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.blog-featured-overlay-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
    font-size: 0.78rem;
}

.blog-featured-overlay-inner i {
    font-size: 1.05rem;
}

.blog-featured-media-inner:hover .blog-featured-image {
    transform: scale(1.05);
}

.blog-featured-media-inner:hover .blog-featured-overlay {
    opacity: 1;
}

/* FEATURED BODY */

.blog-featured-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-featured-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

.blog-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.blog-badge--case {
    background: rgba(93, 135, 255, 0.08);
    color: var(--blog-primary);
    border: 1px solid rgba(93, 135, 255, 0.28);
}

.blog-featured-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.blog-featured-title {
    margin-top: 1.1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blog-text-main);
    letter-spacing: -0.02em;
}

.blog-featured-title a {
    color: inherit;
    text-decoration: none;
}

.blog-featured-title a:hover {
    color: var(--blog-primary);
}

.blog-featured-excerpt {
    margin-top: 0.7rem;
    font-size: 0.95rem;
    color: var(--blog-text-muted);
}

.blog-featured-footer {
    margin-top: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.blog-featured-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.blog-featured-tag i {
    font-size: 1rem;
    color: #a5b4fc;
}

.blog-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1.3rem;
    border-radius: 0.375rem !important;
    border: 1px solid rgba(148, 163, 184, 0.8);
    background: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blog-text-main);
    text-decoration: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.blog-featured-btn i {
    font-size: 1.1rem;
}

.blog-featured-btn:hover {
    background: var(--blog-primary);
    color: #ffffff;
    border-color: var(--blog-primary);
    box-shadow: 0 12px 28px rgba(93, 135, 255, 0.55);
    transform: translateY(-1px);
}

/* GRID */

.blog-list {
    padding: 0 0 4.5rem;
    background: #ffffff;
}

.blog-list-header {
    text-align: left;
    max-width: 540px;
    margin-bottom: 1.8rem;
}

.blog-list-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--blog-text-main);
}

.blog-list-subtitle {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--blog-text-muted);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.7rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-card {
    border-radius: 1.2rem;
    border: 1px solid var(--blog-border);
    background: #ffffff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    border-color: rgba(148, 163, 184, 0.8);
}

.blog-card-image-link {
    display: block;
}

.blog-card-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem 1.2rem 0 0;
}

.blog-card-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.05);
}

.blog-card-chip {
    position: absolute;
    left: 0.9rem;
    top: 0.9rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.blog-card-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

.blog-card-title {
    margin-top: 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--blog-text-main);
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: var(--blog-primary);
}

.blog-card-excerpt {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--blog-text-muted);
    flex: 1 1 auto;
}

.blog-card-footer {
    margin-top: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.blog-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #6b7280;
}

.blog-card-tag i {
    font-size: 0.95rem;
    color: #a5b4fc;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--blog-primary);
    text-decoration: none;
    font-weight: 500;
}

.blog-card-link i {
    font-size: 1.1rem;
}

/* CTA */

.blog-cta {
    margin-top: 2.6rem;
    padding: 1.5rem 1.6rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background:
        radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.12), transparent 55%),
        #f9fafb;
    display: flex;
    flex-wrap: wrap;
    gap: 1.3rem;
    align-items: center;
    justify-content: space-between;
}

.blog-cta-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blog-text-main);
}

.blog-cta-text p {
    margin-top: 0.3rem;
    font-size: 0.9rem;
    color: var(--blog-text-muted);
}

.blog-cta-form {
    max-width: 420px;
    width: 100%;
}

.blog-cta-fields {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.blog-cta-input {
    flex: 1 1 auto;
    border-radius: 0.9rem;
    border: 1px solid var(--blog-border);
    background: #ffffff;
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.blog-cta-input::placeholder {
    color: #9ca3af;
}

.blog-cta-input:focus {
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 1px rgba(93, 135, 255, 0.18);
    background: #ffffff;
}

.blog-cta-btn {
    border-radius: 0.375rem !important;
    border: none;
    padding: 0.75rem 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: linear-gradient(135deg, #5d87ff, #7b9dff);
    color: #ffffff;
    cursor: pointer;
    box-shadow:
        0 12px 30px rgba(93, 135, 255, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        filter 0.16s ease;
}

.blog-cta-btn i {
    font-size: 1.1rem;
}

.blog-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 40px rgba(93, 135, 255, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    filter: brightness(1.03);
}

.blog-cta-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow:
        0 10px 24px rgba(93, 135, 255, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

.blog-cta-hint {
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: #9ca3af;
}

.blog-cta-hint a {
    color: var(--blog-primary);
    text-decoration: underline;
}

/* ==================== POST DETAILS PAGE ==================== */

.post-page {
    background: #ffffff;
}

/* HERO */

.post-hero {
    padding-top: 6rem;
    padding-bottom: 2rem;
    background:
        radial-gradient(circle at top left, #e0ebff 0, transparent 55%),
        #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.post-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .blog-featured-card {
        grid-template-columns: minmax(0, 1fr);
    }
    .post-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

.post-breadcrumbs {
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.post-breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.post-breadcrumbs a:hover {
    color: var(--blog-primary);
}

.post-hero-main {
    max-width: 640px;
}

.post-category-badge {
    margin-top: 1rem;
    display: inline-flex;
    padding: 0.22rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(93, 135, 255, 0.35);
    background: rgba(93, 135, 255, 0.08);
    color: var(--blog-primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.post-title {
    margin-top: 0.75rem;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--blog-text-main);
}

.post-subtitle {
    margin-top: 0.6rem;
    font-size: 0.95rem;
    color: var(--blog-text-muted);
}

.post-meta {
    margin-top: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: #9ca3af;
}

/* HERO ASIDE */

.post-hero-aside {
    border-radius: 1.2rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.post-aside-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--blog-text-main);
}

.post-aside-list {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.86rem;
}

.post-aside-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.post-aside-label {
    color: #9ca3af;
}

.post-aside-value {
    color: #4b5563;
    font-weight: 500;
}

.post-share {
    margin-top: 1.3rem;
    border-top: 1px dashed #e5e7eb;
    padding-top: 1rem;
}

.post-share-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.post-share-row {
    margin-top: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: #6b7280;
    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease,
        color 0.16s ease;
}

.post-share-btn:hover {
    background: var(--blog-primary);
    border-color: var(--blog-primary);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(93, 135, 255, 0.7);
    transform: translateY(-1px);
}

/* COVER */

.post-cover-section {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
    background: #ffffff;
}

.post-cover {
    border-radius: 1.4rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.post-cover-image {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* BODY */

.post-body {
    padding-bottom: 4.5rem;
    background: #ffffff;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
    gap: 2.75rem;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .post-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.post-content {
    max-width: 680px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #111827;
}

.post-lead {
    font-size: 1.02rem;
    color: #4b5563;
    margin-bottom: 1.2rem;
}

.post-content h2 {
    margin-top: 1.6rem;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--blog-text-main);
}

.post-content p {
    margin-top: 0.4rem;
    color: #4b5563;
}

.post-content ul {
    margin-top: 0.5rem;
    margin-bottom: 0.9rem;
    padding-left: 1.2rem;
    color: #4b5563;
}

.post-content li {
    margin-top: 0.25rem;
}

/* SIDEBAR */

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.post-sidebar-block {
    border-radius: 1.2rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 1.2rem 1.3rem;
}

.post-sidebar-block h3 {
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--blog-text-main);
    margin-bottom: 0.5rem;
}

.post-related-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.post-related-card {
    border-radius: 0.9rem;
    padding: 0.6rem 0.65rem;
    text-decoration: none;
    border: 1px solid transparent;
    background: #ffffff;
    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        transform 0.16s ease,
        box-shadow 0.16s ease;
}

.post-related-card:hover {
    background: #f1f5f9;
    border-color: rgba(148, 163, 184, 0.7);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.post-related-meta {
    font-size: 0.78rem;
    color: #9ca3af;
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
}

.post-related-title {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #111827;
}

.post-sidebar-cta {
    background:
        radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.12), transparent 55%),
        #f9fafb;
}

.post-sidebar-cta p {
    font-size: 0.9rem;
    color: #4b5563;
    margin-top: 0.3rem;
}

.post-sidebar-btn {
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 0.375rem !important;
    padding: 0.6rem 1.3rem;
    background: var(--blog-primary);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow:
        0 12px 30px rgba(93, 135, 255, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    transition:
        transform 0.16s ease,
        box-shadow 0.16s ease,
        filter 0.16s ease;
}

.post-sidebar-btn i {
    font-size: 1.1rem;
}

.post-sidebar-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 18px 40px rgba(93, 135, 255, 0.85),
        0 0 0 1px rgba(255, 255, 255, 1);
    filter: brightness(1.03);
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .blog-hero {
        padding-top: 5rem;
        padding-bottom: 2.5rem;
    }

    .blog-featured-card {
        padding: 1.45rem;
    }

    .blog-cta {
        padding: 1.3rem 1.2rem;
    }

    .blog-cta-fields {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-cta-btn {
        width: 100%;
        justify-content: center;
    }

    .post-hero {
        padding-top: 4.75rem;
        padding-bottom: 1.5rem;
    }

    .post-cover-section {
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .post-body {
        padding-bottom: 3.5rem;
    }
}

.blog-page {
    background: #f9fafb;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

.blog-page-hero {
    padding-bottom: 2.5rem;
}

.blog-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.blog-page-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #5d87ff;
    box-shadow: 0 0 0 4px rgba(93, 135, 255, 0.25);
}

.blog-page-title {
    margin-top: 1rem;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #020617;
}

.blog-page-subtitle {
    margin-top: 0.85rem;
    max-width: 40rem;
    font-size: 0.98rem;
    color: #6b7280;
}

/* поиск */

.blog-search {
    margin-top: 1.8rem;
    max-width: 32rem;
    display: flex;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.blog-search-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(93, 135, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.4rem;
}

.blog-search-icon i {
    width: 18px;
    height: 18px;
    color: #4f46e5;
}

.blog-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    color: #111827;
}

.blog-search-input::placeholder {
    color: #9ca3af;
}

.blog-search-btn {
    border-radius: 999px !important;
    border: none;
    padding: 0.55rem 1.3rem;
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, #5d87ff, #7b9cff);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
   
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-search-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #6a94ff, #8badff);
    box-shadow:
        0 14px 32px rgba(93, 135, 255, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

.blog-search-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 8px 18px rgba(93, 135, 255, 0.65);
}

.blog-search-meta {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* список */

/*.blog-list-section {
    padding-top: 1rem;
}*/

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.8rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow:
        0 16px 40px rgba(15, 23, 42, 0.06),
        0 0 0 1px rgba(255, 255, 255, 0.9);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(93, 135, 255, 0.8);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 1);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e5e7eb;
}

.blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}

.blog-card-pill {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #111827;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(209, 213, 219, 0.7);
}

.blog-card-body {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.45rem;
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card-meta i {
    width: 14px;
    height: 14px;
    color: #a5b4fc;
}

.blog-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0.15rem 0 0.4rem;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #1d4ed8;
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0.9rem;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.blog-card-link {
    border-radius: 0.375rem !important;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #1f2933;
    background: #f9fafb;
    text-decoration: none;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.blog-card-link i {
    font-size: 1rem;
}

.blog-card-link:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.5);
}

.blog-card-time {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* подписка */

.blog-subscribe {
    margin-top: 3rem;
    border-radius: 1.4rem;
    padding: 1.4rem 1.4rem 1.3rem;
    background:
        radial-gradient(circle at 0 0, rgba(93, 135, 255, 0.16), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.14), transparent 60%),
        #0f172a;
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.6);
}

.blog-subscribe-header {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.9rem;
}

.blog-subscribe-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f9fafb;
}

.blog-subscribe-text {
    font-size: 0.85rem;
    color: #cbd5f5;
}

.blog-subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 0.3rem;
}

.blog-subscribe-input-wrap {
    flex: 1 1 220px;
    display: flex;
    gap: 0.6rem;
}

.blog-subscribe-input {
    flex: 1;
    border-radius: 0.375rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.blog-subscribe-input::placeholder {
    color: #9ca3af;
}

.blog-subscribe-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.7);
    background: rgba(15, 23, 42, 0.95);
}

.blog-subscribe-btn {
    border-radius: 0.375rem !important;
    border: none;
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, #5d87ff, #7b9cff);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(93, 135, 255, 0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-subscribe-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #6b93ff, #8aa9ff);
    box-shadow: 0 16px 34px rgba(93, 135, 255, 0.9);
}

.blog-subscribe-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 10px 22px rgba(93, 135, 255, 0.85);
}

.blog-subscribe-status {
    font-size: 0.78rem;
    margin-top: 0.35rem;
}

.blog-subscribe-status--error {
    color: #fecaca;
}

.blog-subscribe-status--success {
    color: #bbf7d0;
}

/* адаптив */

@media (max-width: 768px) {
    .blog-page {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    .blog-subscribe {
        margin-top: 2.25rem;
        padding: 1.1rem 1.1rem;
    }
}
/* Верх карточки: дата + время чтения */
.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 1.4;
}

.blog-card-meta-left,
.blog-card-meta-right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03); /* лёгкий серый фон */
    color: #64748b; /* slate-500 */
    white-space: nowrap;
}

.blog-card-meta-right {
    background: rgba(37, 99, 235, 0.06); /* лёгкий синий фон */
    color: #1d4ed8; /* синий текст */
}

.blog-card-meta i {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

/* На очень узких экранах — переносим в две строки, чтобы не ломалось */
@media (max-width: 480px) {
    .blog-card-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== BLOG DETAILS MAIN WRAPPER ===== */
.blog-article-page {
    background: #f9fafb;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

/* ===== HERO ===== */
.blog-article-hero {
    padding-bottom: 1.8rem;
}

.blog-breadcrumbs {
    font-size: 0.8rem;
    color: #9ca3af;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    align-items: center;
}

.blog-breadcrumbs a {
    color: #6b7280;
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.blog-breadcrumbs-sep {
    opacity: 0.6;
}

.blog-article-title {
    margin-top: 0.9rem;
    font-size: clamp(2.1rem, 3.2vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #020617;
}

.blog-article-subtitle {
    margin-top: 0.8rem;
    max-width: 40rem;
    font-size: 0.98rem;
    color: #6b7280;
}

/* ===== META ===== */
.blog-article-meta {
    margin-top: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-width: 480px;
}

.blog-article-meta-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #4b5563;
}

.blog-article-meta-item-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-weight: 500;
    font-size: 0.78rem;
}

.blog-article-meta-item-label i {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

.blog-article-meta-item-value {
    color: #6b7280;
}

/* ===== COVER ===== */
.blog-article-cover-wrap {
    margin-top: 1.8rem;
}

.blog-article-cover {
    border-radius: 1.3rem;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

.blog-article-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

/* ===== LAYOUT ===== */
.blog-article-content-section {
    margin-top: 2.3rem;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .blog-article-layout {
        grid-template-columns: minmax(0, 2.6fr) minmax(0, 1.2fr);
        align-items: flex-start;
    }
}

/* ===== CKEditor CONTENT STYLES ===== */
.blog-article-content {
    max-width: 46rem;
    font-size: 0.98rem;
    line-height: 1.8;
    color: #111827;
}

.blog-article-content > *:first-child {
    margin-top: 0;
}

.blog-article-content p {
    margin: 0 0 1.1rem;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4,
.blog-article-content h5,
.blog-article-content h6 {
    margin-top: 1.8rem;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: #020617;
}

.blog-article-content h1 { font-size: 1.6rem; }
.blog-article-content h2 { font-size: 1.4rem; }
.blog-article-content h3 { font-size: 1.2rem; }
.blog-article-content h4 { font-size: 1.05rem; }
.blog-article-content h5 { font-size: 1rem; }
.blog-article-content h6 { font-size: 0.95rem; }

.blog-article-content ul,
.blog-article-content ol {
    margin: 0.9rem 0 1.1rem 1.25rem;
}

.blog-article-content li {
    margin-bottom: 0.45rem;
}

.blog-article-content a {
    color: #1d4ed8;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.blog-article-content a:hover {
    color: #1e40af;
}

/* blockquote */
.blog-article-content blockquote {
    margin: 1.4rem 0;
    padding: 1rem 1.2rem;
    border-left: 3px solid #2563eb;
    background: #eff6ff;
    border-radius: 0.9rem;
    color: #1f2937;
    font-style: italic;
}

/* images */
.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.9rem;
    display: block;
    margin: 1.2rem auto;
}

/* tables */
.blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.blog-article-content th,
.blog-article-content td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 0.9rem;
    text-align: left;
}

.blog-article-content thead th {
    background: #f3f4f6;
    font-weight: 600;
}

.blog-article-content tbody tr:nth-child(even) {
    background: #f9fafb;
}

/* code */
.blog-article-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.88rem;
    background: #f3f4f6;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
}

.blog-article-content pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.88rem;
    background: #020617;
    color: #e5e7eb;
    padding: 1rem 1.2rem;
    border-radius: 0.9rem;
    overflow-x: auto;
    margin: 1.3rem 0;
}

/* figures */
.blog-article-content figure {
    margin: 1.5rem 0;
    text-align: center;
}

.blog-article-content figcaption {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* ===== SIDEBAR ===== */
.blog-article-sidebar {
    position: relative;
}

.blog-article-sidebar-card {
    border-radius: 1.2rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 1.3rem 1.3rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.blog-article-sidebar-title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #020617;
    margin-bottom: 0.3rem;
}

.blog-article-sidebar-text {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.9rem;
}

.blog-article-sidebar-meta {
    font-size: 0.78rem;
    color: #9ca3af;
    margin-bottom: 0.9rem;
}

.blog-article-sidebar-btn {
    border-radius: 0.375rem !important;
    border: none;
    width: 100%;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, #5d87ff, #7b9cff);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(93, 135, 255, 0.7);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.blog-article-sidebar-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #6b93ff, #8aa9ff);
    box-shadow: 0 16px 32px rgba(93, 135, 255, 0.9);
}

.blog-article-sidebar-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 10px 22px rgba(93, 135, 255, 0.8);
}

/* ===== RELATED (ЕЩЁ ПО ТЕМЕ) ===== */
.blog-article-related {
    margin-top: 3rem;
}

.blog-article-related-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #020617;
    margin-bottom: 1.1rem;
}

/* по одной статье в строке */
.blog-article-related-grid {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.blog-article-related-card {
    border-radius: 0.9rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-article-related-card:hover {
    border-color: rgba(93, 135, 255, 0.7);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-1px);
}

.blog-article-related-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #111827;
}

.blog-article-related-name a {
    color: inherit;
    text-decoration: none;
}

.blog-article-related-name a:hover {
    color: #1d4ed8;
}

.blog-article-related-meta {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ===== 404 ===== */
.blog-article-notfound {
    text-align: center;
    padding: 5rem 0 4rem;
}

.blog-article-notfound h1 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: #020617;
}

.blog-article-notfound p {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.4rem;
}

.blog-article-notfound a {
    border-radius: 0.375rem !important;
    padding: 0.6rem 1.4rem;
    background: #2563eb;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* Базовые стили таблиц в статьях (CKEditor) */
.blog-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden; /* чтобы скругления работали */
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

/* Границы и отступы */
.blog-article-content th,
.blog-article-content td {
    padding: 0.65rem 0.9rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

/* Заголовок таблицы */
.blog-article-content thead th {
    font-weight: 600;
    color: #0f172a;
    background: linear-gradient(135deg, #f3f4ff, #eef2ff);
    border-bottom: 1px solid #e0e7ff;
    white-space: nowrap;
}

/* Чередование строк */
.blog-article-content tbody tr:nth-child(odd) {
    background-color: #f9fafb;
}

.blog-article-content tbody tr:hover {
    background-color: #eff6ff;
}

/* Выравнивание чисел по правому краю при необходимости */
.blog-article-content td[data-align="right"],
.blog-article-content th[data-align="right"] {
    text-align: right;
}

/* Маленький текст-примечания под таблицей */
.blog-article-content .table-caption {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

/* Адаптивность: горизонтальный скролл на узких экранах */
@media (max-width: 768px) {
    .blog-article-content table {
        display: block;            /* позволяет прокручивать по X */
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 0.75rem;
    }

    .blog-article-content thead,
    .blog-article-content tbody,
    .blog-article-content tr,
    .blog-article-content th,
    .blog-article-content td {
        white-space: nowrap;
    }

    /* Небольшой кастом скролл под таблицей на мобиле */
    .blog-article-content table::-webkit-scrollbar {
        height: 6px;
    }

    .blog-article-content table::-webkit-scrollbar-track {
        background: #e5e7eb;
        border-radius: 999px;
    }

    .blog-article-content table::-webkit-scrollbar-thumb {
        background: #60a5fa;
        border-radius: 999px;
    }
}
.blog-page {
    background: radial-gradient(circle at top left, #eef2ff 0, #f9fafb 38%, #ffffff 100%);
    padding-top: 6.5rem;
    padding-bottom: 4rem;
}

/* HERO */

.blog-page-hero {

    padding-bottom: 2.5rem;
}

.blog-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.28rem 0.9rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.18);
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1d4ed8;
}

.blog-page-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle, #60a5fa 0, #2563eb 55%, #1d4ed8 100%);
    box-shadow: 0 0 0 6px rgba(129, 140, 248, 0.18);
}

.blog-page-title {
    margin-top: 1.2rem;
    font-size: clamp(2.2rem, 3.5vw, 2.9rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #020617;
}

.blog-page-subtitle {
    margin-top: 0.9rem;
    font-size: 0.98rem;
    color: #6b7280;
    max-width: 36rem;
}

/* SEARCH BAR */

.blog-search {
    margin-top: 1.8rem;
    max-width: 720px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow:
        0 18px 50px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(148, 163, 184, 0.18);
    padding: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-search-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
}

.blog-search-icon i {
    width: 18px;
    height: 18px;
}

.blog-search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #0f172a;
    flex: 1 1 auto;
    padding: 0 0.5rem;
}

.blog-search-input::placeholder {
    color: #9ca3af;
}

.blog-search-btn {
    border-radius: 999px !important;
    border: none;
    padding: 0.65rem 1.6rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: #ffffff;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
   
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.blog-search-btn:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5);
    box-shadow: 0 22px 48px rgba(79, 70, 229, 0.72);
    transform: translateY(-1px);
}

.blog-search-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.65);
}

.blog-search-meta {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* GRID */


.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.7rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* CARD */

.blog-card {
    background: #ffffff;
    border-radius: 1.3rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.blog-card-media {
    position: relative;
    display: block;
    overflow: hidden;
}

.blog-card-media img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform 0.65s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.05);
}

.blog-card-pill {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    padding: 0.18rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.75);
    color: #e5e7eb;
}

.blog-card-body {
    padding: 1.1rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1 1 auto;
}

/* meta – дата слева, время чтения справа */

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #9ca3af;
}

.blog-card-meta-left,
.blog-card-meta-right {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-card-meta i {
    width: 14px;
    height: 14px;
    color: #818cf8;
}

/* title */

.blog-card-title {
    font-size: 1.02rem;
    font-weight: 600;
    color: #020617;
    line-height: 1.35;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #2563eb;
}

/* excerpt */

.blog-card-excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    flex: 1 1 auto;
}

/* footer */

.blog-card-footer {
    margin-top: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: #2563eb;
    font-weight: 500;
}

.blog-card-link i {
    font-size: 1rem;
}

.blog-card-link:hover {
    color: #fff;
}

.blog-card-time {
    color: #9ca3af;
    font-size: 0.8rem;
}

/* SUBSCRIBE */

.blog-subscribe {
    margin-top: 3.2rem;
    padding: 1.7rem 1.9rem;
    border-radius: 1.4rem;
    background: radial-gradient(circle at top left, #6366f1 0, #1d4ed8 42%, #0f172a 100%);
    color: #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.3rem 2rem;
}

.blog-subscribe-header {
    flex: 1 1 260px;
}

.blog-subscribe-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.blog-subscribe-text {
    font-size: 0.9rem;
    color: #e5e7eb;
    opacity: 0.9;
}

.blog-subscribe-form {
    flex: 1 1 320px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    justify-content: flex-end;
}

.blog-subscribe-input-wrap {
    display: flex;
    flex: 1 1 220px;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.blog-subscribe-input {
    flex: 1 1 140px;
    min-width: 0;
    border-radius: 999px;
    border: 1px solid rgba(191, 219, 254, 0.6);
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    background: rgba(15, 23, 42, 0.4);
    color: #f9fafb;
}

.blog-subscribe-input::placeholder {
    color: #cbd5f5;
    opacity: 0.8;
}

.blog-subscribe-btn {
   border-radius: 0.375rem !important;
    border: none;
    padding: 0.65rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f9fafb;
    color: #1d4ed8;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.blog-subscribe-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.7);
    background: #e5edff;
}

.blog-subscribe-status {
    margin-top: 0.75rem;
    font-size: 0.85rem;
}

.blog-subscribe-status--success {
    color: #bbf7d0;
}

.blog-subscribe-status--error {
    color: #fecaca;
}

/* PAGINATION */

.blog-pagination {
    margin-top: 2.4rem;
    display: flex;
    justify-content: center;
}

.blog-pagination-list {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.blog-pagination-link {
    min-width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    padding: 0 0.6rem;
    font-size: 0.86rem;
    font-weight: 500;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.blog-pagination-link:hover {
    background: #eef2ff;
    color: #1d4ed8;
}

.blog-pagination-link--active {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.5);
}

.blog-pagination-link--arrow {
    gap: 0.2rem;
    padding-inline: 0.75rem;
}

.blog-pagination-link--arrow i {
    width: 14px;
    height: 14px;
}

.blog-pagination-ellipsis {
    font-size: 0.9rem;
    color: #9ca3af;
    padding: 0 0.3rem;
}

.blog-pagination-link.is-disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
    background: transparent;
}

/* small screens */

@media (max-width: 640px) {
    .blog-page-hero {
        text-align: left;
    }

    .blog-search {
        flex-direction: row;
        align-items: stretch;
    }

    .blog-subscribe {
        padding: 1.4rem 1.3rem;
    }

    .blog-subscribe-form {
        justify-content: flex-start;
    }

    .blog-pagination-list {
        border-radius: 0.9rem;
    }
}
.blog-search-clear.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(89, 112, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon-inner {
    width: 20px;
    height: 20px;
    color: #4f46e5;
}

.contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.15rem;
}

.contact-link {
    font-size: 0.95rem;
    color: #0f172a;
    text-decoration: none;
}

.contact-link-primary {
    color: #4f46e5;
}

.contact-link-primary:hover {
    text-decoration: underline;
}

/* Адрес — перенос по строкам, ограничиваем ширину */
.contact-address {
    margin: 0;
}

.contact-address-link {
    display: inline-block;
    max-width: 320px;              /* можно подстроить под макет */
    white-space: normal !important; /* перезаписываем возможный nowrap */
    word-break: break-word;
    line-height: 1.45;
}

/* чуть шире на больших экранах */
@media (min-width: 768px) {
    .contact-address-link {
        max-width: 380px;
    }
}
