
:root{
  --bg:#070707;
  --white:#FFFFFF;
  --muted:#C0C0C0;
  --g1:#013A33;
  --g2:#157A66;

  --glass: rgba(255,255,255,.03);
  --glass-strong: rgba(255,255,255,.045);
  --border: rgba(21,122,102,.30);
  --border-strong: rgba(21,122,102,.48);

  --radius: 22px;
  --max: 1180px;
  --shadow: 0 18px 70px rgba(0,0,0,.55);
}

/* ==============================
   Companies logo marquee (index)
   ============================== */
.logo-marquee{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 35px 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}

/* soft fade on edges */
.logo-marquee::before,
.logo-marquee::after{
  content:"";
  position:absolute;
  top:0; bottom:0;
  width: 90px;
  pointer-events:none;
  z-index:2;
}
.logo-marquee::before{
  left:0;
  background: linear-gradient(90deg, rgba(0,0,0,1), rgba(0,0,0,0));
}
.logo-marquee::after{
  right:0;
  background: linear-gradient(270deg, rgba(0,0,0,1), rgba(0,0,0,0));
}

.logo-marquee__track{
  display:flex;
  width: max-content;
  animation: logoMarquee 22s linear infinite;
}

.logo-marquee__group{
  display:flex;
  align-items:center;
  gap: 44px;
  padding: 0 44px;
}

.logo-marquee img{
  height: 38px;
  width: auto;
  opacity: 0.92;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
}

.logo-marquee:hover .logo-marquee__track{
  animation-play-state: paused;
}

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

@media (max-width: 768px){
  .logo-marquee{ padding: 14px 0; border-radius: 16px; }
  .logo-marquee__group{ gap: 26px; padding: 0 26px; }
  .logo-marquee img{ height: 30px; }
  .logo-marquee::before,
  .logo-marquee::after{ width: 56px; }
}


/* ==============================
   ===========LAST 01.03===============
   Companies marquee tweaks (ET + RU)
   - Move the marquee lower inside its section
   - Make it truly non-stop (no hover pause)
   - Keep the loop seamless even if the row is shorter than the viewport
   ============================== */

/* Push the marquee a bit lower to reduce the big empty space before the next section */
.hero + .section .logo-marquee{
  margin-top: 34px;
}

/* Non-stop: never pause on hover */
.logo-marquee:hover .logo-marquee__track{
  animation-play-state: running !important;
}

/* Slightly stronger default sizing so the set looks balanced */
.logo-marquee img{
  height: 62px;
}

/* Long logos stay a touch smaller to align with the rest */
.logo-marquee img[alt*="Avia"],
.logo-marquee img[alt*="Orto"],
.logo-marquee img[alt*="PPort"],
.logo-marquee img[src*="avia"],
.logo-marquee img[src*="pprot"],
.logo-marquee img[src*="ort"],
.logo-marquee img[src*="ortod"]{
  height: 54px;
}

@media (max-width: 768px){
  .hero + .section .logo-marquee{ margin-top: 22px; }
  .logo-marquee img{ height: 44px; }
  .logo-marquee img[alt*="Avia"],
  .logo-marquee img[alt*="Orto"],
  .logo-marquee img[alt*="PPort"],
  .logo-marquee img[src*="avia"],
  .logo-marquee img[src*="pprot"],
  .logo-marquee img[src*="ort"],
  .logo-marquee img[src*="ortod"]{ height: 40px; }
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background:var(--bg);
  color:var(--muted);
  overflow-x:hidden;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

main{flex:1 0 auto}
.site-footer{margin-top:auto}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea{font:inherit;color:inherit}

.container{
  width:min(var(--max), calc(100% - 48px));
  margin-inline:auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

/* ---------- Glow helpers ---------- */
.glow-text{
  background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 50%, var(--g1) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.glow-line{
  height:2px;
  width:100%;
  background: linear-gradient(90deg, rgba(1,58,51,.0) 0%, var(--g2) 50%, rgba(1,58,51,.0) 100%);
  opacity:.9;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:2px solid var(--border);
  background: rgba(0,0,0,.25);
  box-shadow: 0 0 0 rgba(21,122,102,0);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
  cursor:pointer;
  user-select:none;
}
.btn:hover{
  border-color: var(--border-strong);
  box-shadow: 0 0 22px rgba(21,122,102,.25);
  transform: translateY(-1px);
}
.btn:active{transform: translateY(0px) scale(.99)}
.btn--primary{
  background: #36232308;
}

/* Keep header button slimmer (requested: change all buttons EXCEPT header) */
.site-header .btn{border-width:1px}

/* Better focus ring (non-header) */
.btn:focus-visible{
  outline:none;
  box-shadow: 0 0 0 4px rgba(21,122,102,.20), 0 0 26px rgba(21,122,102,.22);
  border-color: rgba(21,122,102,.55);
}

/* ---------- Header ---------- */
.site-header{
  position:fixed;
  top:16px;
  left:0; right:0;
  z-index:50;
  pointer-events:none;
}
.header-inner{
  pointer-events:auto;
  width:min(1320px, calc(100% - 40px));
  margin-inline:auto;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex;align-items:center;gap:10px;
  min-width:140px;
}
.brand img{
  width:62px;height:auto;
  filter: drop-shadow(0 0 14px rgba(21,122,102,.12));
}
.nav{
  display:flex;
  align-items:center;
  gap:28px;
}
.nav a{
  position:relative;
  color:var(--muted);
  font-size:14px;
  letter-spacing:.2px;
  padding:10px 2px;
  transition: color .2s ease;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:4px;
  height:2px;
  border-radius:2px;
  background: linear-gradient(90deg, var(--g1) 0%, var(--g2) 50%, var(--g1) 100%);
  opacity:0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.nav a:hover::after{opacity:1;transform: translateY(0)}
.nav a.active{color:var(--white)}
.nav a.active::after{opacity:1;transform: translateY(0)}

.header-right{
  display:flex;align-items:center;gap:14px;
}

.site-header .header-right .lang{display:flex}
@media (max-width: 520px){
  .site-header .header-right .lang{display:none}
}
.lang{
  display:flex;align-items:center;gap:10px;
  font-size:13px;
}
.lang a{color:var(--muted);padding:8px 2px}
.lang a.active{color:var(--white)}
.lang .sep{opacity:.35}

.menu-btn{
  display:none;
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.menu-btn svg{width:22px;height:22px}

.mobile-drawer{
  display:none;
  position:fixed;
  top:92px;
  left:20px; right:20px;
  border-radius: 24px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding:14px;
  box-shadow: var(--shadow);
  z-index:60;
}
.mobile-drawer a{
  display:flex;
  padding:12px 10px;
  border-radius:14px;
}
.mobile-drawer a:hover{background: rgba(255,255,255,.05)}
.mobile-drawer .row{
  display:flex;align-items:center;justify-content:space-between;
  margin-top:10px;
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 140px 0 90px;
  overflow:hidden;
}
.hero video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(60% 60% at 50% 55%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.65) 60%, rgba(0,0,0,.92) 100%),
    linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.85) 72%, rgba(0,0,0,1) 100%);
}
.hero .content{
  position:relative;
  width:min(900px, calc(100% - 48px));
}
.hero h1{
  margin:0 0 12px;
  color:var(--white);
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: 1px;
}
.hero p{
  margin:0 0 22px;
  color: rgba(192,192,192,.85);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Sections ---------- */
.section{
  /* Reduced vertical gaps between sections (desktop + mobile) */
  padding: 48px 0;
}
.section h2{
  margin:0 0 10px;
  color:var(--white);
  font-size: 34px;
  text-align:center;
}
.section .sub{
  margin:0 auto 26px;
  text-align:center;
  color: rgba(192,192,192,.82);
  max-width: 720px;
  line-height:1.55;
}

.section-actions{
  display:flex;
  justify-content:center;
  /* Keep actions closer to the next section */
  margin-bottom: 22px;
}

/* ---------- Cards grids ---------- */
.grid{
  display:grid;
  gap:22px;
}
.grid-2{grid-template-columns: repeat(2, minmax(0, 1fr));}
.grid-3{grid-template-columns: repeat(3, minmax(0, 1fr));}
.grid-4{grid-template-columns: repeat(4, minmax(0, 1fr));}
.grid-5{grid-template-columns: repeat(5, minmax(0, 1fr));}

.card{
  position:relative;
  border-radius: var(--radius);
  /* background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255, 255, 255, 0.02)); */
  border:3px solid rgba(21,122,102,.22);
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
  padding: 22px;
  overflow:hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover{
  transform:none;
  border-color: rgba(21,122,102,.22);
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(420px 240px at 50% 0%, rgba(21,122,102,.12), transparent 55%);
  opacity:.85;
  pointer-events:none;
}
.card > *{position:relative}

.card .kicker{
  font-size:12px;
  opacity:.75;
  margin-bottom: 10px;
}
.card h3{
  margin:0 0 10px;
  color:var(--white);
  font-size: 18px;
}
.card p{
  margin:0;
  color: rgba(192,192,192,.82);
  line-height:1.55;
  font-size:14px;
}

.service-price{
  margin-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.service-price .from{
  color: rgba(192,192,192,.85);
  font-size:13px;
}
.service-price .price{
  color:var(--white);
  font-weight:700;
}



/* ---------- Case cards ---------- */
.case-card{
  padding:0;
  min-height: 340px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;

  border: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.012));
}
.case-card::before{
  /* reduce default card glow so image reads better */
  background: radial-gradient(520px 280px at 50% 0%, rgba(21,122,102,.12), transparent 60%);
  opacity:.95;
}

.case-card::after{
  /* border removed: premium look now uses image glow instead */
  display:none;
}

.case-card .case-media{
  position:absolute;
  inset:0;
  background-image: var(--case-img);
  background-size: cover;
  background-position: center;
  /* Keep images crisp: avoid GPU resampling + filter-driven softness */
  transform: none;
  filter: none;
  image-rendering: auto;
}
.case-card .case-media::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:-44px;
  width:150%;
  height:75%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side at 50% 100%, rgba(21,122,102,.55), rgba(21,122,102,0) 70%);
  filter: blur(24px);
  opacity: .55;
  pointer-events:none;
}

.case-card .case-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.85) 100%);
}
.case-card .case-content{
  position:relative;
  padding:22px;
}
.case-card .kicker{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.case-card .kicker .dot{
  width:6px;height:6px;border-radius:50%;
  background: rgba(21,122,102,.9);
  box-shadow: 0 0 12px rgba(21,122,102,.45);
}
.case-card .case-cta{
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.88);
  opacity:.9;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.case-card:hover .case-media{
  /* keep stable to prevent blur/pixel shimmer */
  transform: none;
}

.case-card:hover .case-cta{
  opacity:.9;
}

@media (max-width: 900px){
  .case-card{min-height: 300px;}
}
@media (max-width: 640px){
  .case-card{min-height: 280px;}
}


/* ==========NEW UPDATE 25/02============= */

/* ---------- Process cards ---------- */
.process-card{
  padding: 26px 20px 22px;
  text-align:center;
  overflow: hidden; /* чтобы бейдж не обрезался */
  display:flex;
  flex-direction:column;
  /* ensure the whole content stays visually centered on all devices */
  align-items: stretch;
}

/* Hard-center text in process cards (some mobile browsers can inherit odd alignment) */
.process-card h3,
.process-card p{
  width: 100%;
  text-align: center;
}

/* Keep bottom text aligned across steps */
.process-card h3{ min-height: 44px; }
.process-card p{ margin-top:auto; min-height: 48px; }

@media (max-width: 900px){
  .process-card h3{min-height: 0;}
  .process-card p{min-height: 0; margin-top: 0;}
}
.step-badge{
  position:absolute;
  top: 12px;
  left: 12px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight:700;
  font-size: 12px;
  color:#001c18;
  background: radial-gradient(circle at 35% 30%, var(--g2), var(--g1));
  box-shadow: 0 0 18px rgba(21,122,102,.25);
  z-index: 5;
}
.icon-ring{
  width: 104px;
  height: 104px;
  margin: 4px auto 16px;
  border-radius: 999px;
  border: 2px solid rgba(21,122,102,.35);
  display:grid;
  place-items:center;
}
.icon-ring img{
  width: 46px;
  height: 46px;
  object-fit:contain;
  filter: drop-shadow(0 0 14px rgba(21,122,102,.12));
}


/* ---------- Social links ---------- */
.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
}
.social-links a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid rgba(21,122,102,.30);
  background: rgba(0,0,0,.22);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.social-links a:hover{
  border-color: rgba(21,122,102,.65);
  box-shadow: 0 0 20px rgba(21,122,102,.12);
  transform: translateY(-1px);
}
.social-links img{
  width:28px;
  height:28px;
  object-fit:contain;
  filter: drop-shadow(0 0 12px rgba(21,122,102,.12));
}

/* ---------- Contact form ---------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:stretch;
  margin-top: 26px;
}
.contact-info{padding: 22px;}
.contact-title{margin:0 0 10px; color:var(--white); font-size: 20px;}
.contact-text{margin:0 0 10px; color: rgba(192,192,192,.82); line-height:1.55; font-size:14px;}
.contact-text:last-of-type{margin-bottom:0;}
.contact-grid .form-wrap{width:100%; margin:0; max-width:none;}


.form-wrap{
  width:min(640px, 100%);
  margin: 0 auto;
}
.form{
  display:grid;
  gap:14px;
}
.field{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(21,122,102,.35);
  background: rgba(0,0,0,.25);
  padding: 14px 14px;
  outline:none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field:focus{
  border-color: rgba(21,122,102,.65);
  box-shadow: 0 0 20px rgba(21,122,102,.12);
}
textarea.field{min-height: 140px; resize: vertical}
.form .btn{width:100%; padding:14px 18px}

.form-status{
  text-align:center;
  font-size: 13px;
  min-height: 18px;
  opacity:.9;
}

/* ---------- Footer ---------- */
.site-footer{
  padding: 24px 0 18px;
}
.footer-inner{
  width:min(1320px, calc(100% - 48px));
  margin-inline:auto;
  padding-top: 18px;
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.footer-bottom a{
  color: rgba(192,192,192,.80);
  border-bottom: 1px solid rgba(192,192,192,.35);
  padding-bottom: 2px;
}
.footer-bottom a:hover{
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.45);
}
.footer-brand{
  background: linear-gradient(90deg, var(--g1) 50%, var(--g2) 75%, var(--g1) 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:700;
}

/* ---------- Page header ---------- */
.page-hero{
  padding: 160px 0 25px;
  text-align:center;
}
.page-hero h1{
  margin:0 0 10px;
  color:var(--white);
  font-size: 44px;
}
.page-hero p{
  margin:0 auto;
  max-width: 720px;
  line-height:1.55;
  color: rgba(192,192,192,.82);
}

/* ---------- Reveal animation ---------- */
.reveal{
  opacity:0;
  transform: translate3d(0,14px,0);
  transition: opacity .6s ease, transform .6s ease;
  will-change: transform, opacity;
  backface-visibility: hidden;
}
/*
  Once revealed, drop transforms & will-change.
  Keeping translate3d(0,0,0) forces GPU compositing and can make
  downscaled screenshots (cases previews) look soft/"rippy" at 100% zoom.
*/
.reveal.visible{
  opacity:1;
  transform: none;
  will-change: auto;
  backface-visibility: visible;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px){
  .nav{display:none}
  .menu-btn{display:inline-grid;place-items:center}
  .grid-5{grid-template-columns: repeat(2, minmax(0,1fr));}

  /* Mobile: remove the grey circular background behind the burger icon */
  .menu-btn{
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (max-width: 860px){
  .grid-2{grid-template-columns: 1fr}
  .grid-3{grid-template-columns: 1fr}
  .grid-4{grid-template-columns: 1fr}
  .hero{padding: 130px 0 80px}
  .contact-grid{grid-template-columns: 1fr}
}
@media (max-width: 520px){
  .header-inner{padding:10px 12px}
  .brand{min-width:auto}
  .brand img{width:52px}
  .lang{display:flex}
}


/* ---------- Footer layout ---------- */
.footer-bottom{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  font-size:14px;
}
.footer-line1{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}
.footer-policy{
  color: rgba(192,192,192,.80);
  border-bottom: 1px solid rgba(192,192,192,.35);
  padding-bottom: 2px;
}
.footer-policy:hover{
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.45);
}

/* =============================
   Services categories + badges
   ============================= */
.service-category{margin-top:34px}
.service-category:first-of-type{margin-top:0}
.service-category__title{
  margin:0 0 10px;
  color:var(--white);
  font-size: 30px;
  text-align:center;
}

.service-category__sub{
  margin:0 auto 22px;
  max-width:820px;
  text-align:center;
  color: rgba(192,192,192,.82);
  line-height:1.55;
}


.service-card{display:block}

.badge{
  position:absolute;
  top:14px;
  left:14px;
  z-index:6;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  letter-spacing:.2px;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.35);
  border:1px solid rgba(21,122,102,.40);
  box-shadow: 0 0 18px rgba(21,122,102,.15);
}
.badge--right{left:auto; right:14px}
.badge--hot{
  border-color: rgba(21,122,102,.65);
  background: linear-gradient(90deg, rgba(1,58,51,.55), rgba(21,122,102,.25), rgba(1,58,51,.55));
}

/* 4th item centered when a category has 4 cards */
@media (min-width: 1021px){
  .grid-3.center-last{grid-template-columns: repeat(3, minmax(0, 1fr));}
  .grid-3.center-last > :nth-child(4){
    grid-column: 2;
  }
}

/* Note + teaser blocks */
.service-note p{max-width: 780px}
.support-teaser{border-color: rgba(21,122,102,.30)}
.support-teaser__inner{display:flex; align-items:center; justify-content:space-between; gap:18px}
.support-teaser__actions{flex:0 0 auto}
@media (max-width: 860px){
  .support-teaser__inner{flex-direction:column; align-items:flex-start}
}

/* =============================
   Support plans
   ============================= */
.support-grid{align-items:stretch}
.support-plan{padding: 24px}
.support-price{margin: 8px 0 14px; color: var(--white)}
.support-price__value{font-weight:800; font-size:30px; letter-spacing:.2px}
.support-price__per{color: rgba(192,192,192,.85); font-size:14px; margin-left:6px}
.support-list{margin:0; padding-left:18px; display:grid; gap:8px}
.support-list li{color: rgba(192,192,192,.82); line-height:1.45; font-size:14px}
.support-cta{margin-top:16px; width:100%}

/* Services page – make categories feel like an "assortment" */
.service-category{
  margin: 0 0 34px;
  padding: 22px;
  border-radius: var(--radius);
  border: 3px solid rgba(21,122,102,.12);
/*  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); */
}

.service-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height: 240px;
}
.service-card .service-price{margin-top:auto}

/* Bottom meta line for services (deadline) */
.service-meta{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.08);
}
.service-meta .from{color: rgba(192,192,192,.85); font-size:13px}
.service-meta .price{color:var(--white); font-weight:700}

/* Animated gradient BORDER only for TOP plan (no green fill inside) */
.support-plan--top{
  position:relative;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)) padding-box,
    linear-gradient(90deg, var(--g1), var(--g2), var(--g1)) border-box;
  background-size: auto, 300% 300%;
  background-position: 0 0, 0% 50%;
  animation: fletBorder 3.5s ease-in-out infinite;
}

/* Improve readability for the TOP plan title over animated gradient */
.support-plan--top h3{
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
  letter-spacing: .2px;
}

/* FLET-PLUS: make text readable over animated gradient */
.support-plan--top,
.support-plan--top *{
  color: rgba(255,255,255,.94);
}
.support-plan--top .support-price__per,
.support-plan--top .support-list li{
  color: rgba(255,255,255,.82);
}
.support-plan--top .support-price,
.support-plan--top .support-list li,
.support-plan--top .badge{
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}

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

/* Support button alignment */
.support-cta{
  min-height: 50px;
  line-height: 1;
}



/* ==========NEW UPDATE 25/02============= */
/* Contacts block: make left card align with form height and keep socials at the bottom */
.contact-grid{
  display:flex;
  gap:22px;
  align-items:stretch;
  margin-top: 26px;
}
.contact-grid > *{
  flex:1 1 0;
  min-width:0;
}
.contact-grid .form-wrap{
  width:100%;
  max-width:none;
  margin:0;
  display:flex;
}
.card.contact-info{
  display:flex;
  flex-direction:column;
  height:100%;
}
.card.contact-info .contact-body{
  flex:1;
  overflow:auto;
  padding-right:6px;
}
.card.contact-info .contact-text{
  margin:0 0 12px;
}
.card.contact-info .contact-text:last-child{
  margin-bottom:0;
}
.card.contact-info .social-links{
  margin-top:auto;
  padding-top:16px;
}

/* Make form stretch to the same height as the info card and keep the submit button at the bottom */
.form{
  display:flex;
  flex-direction:column;
  height:100%;
  flex:1;
}
.form-fields{
  display:grid;
  gap:14px;
}
.form .btn{
  margin-top:auto;
}
.form-status{
  margin-top:10px;
}

@media (max-width: 980px){
  .contact-grid{flex-direction:column;}

  /* Mobile: stack blocks by content height (do not force equal flex heights) */
  .contact-grid > *{
    flex: 0 0 auto;
  }
  .contact-grid .form-wrap{
    display:block;
  }
  .card.contact-info{
    height:auto;
  }

  /* Mobile: show the whole "about us" text normally (no internal scroll) */
  .card.contact-info .contact-body{
    flex: 0 0 auto;
    overflow: visible;
    padding-right: 0;
  }
  .card.contact-info .social-links{
    margin-top: 14px;
    padding-top: 0;
  }
}

/* Mobile: center the 5th "How we work" card when the grid becomes 2 columns */
@media (max-width: 1020px){
  .grid-5 > :last-child{
    grid-column: 1 / -1;
    justify-self: center;
    width: min(360px, 100%);
  }
}


/* ================================
   CookieYes — reposition
   ================================ */
/* Move the floating cookie icon to bottom-left */
.cky-btn-revisit-wrapper{
  left: 18px !important;
  right: auto !important;
  bottom: 18px !important;
  z-index: 99999 !important;
}

/* Remove custom "green/gradient" branding for the CookieYes revisit button */
.cky-btn-revisit-wrapper .cky-btn-revisit{
  background: initial !important;
  border: initial !important;
  box-shadow: initial !important;
}
.cky-btn-revisit-wrapper .cky-btn-revisit svg,
.cky-btn-revisit-wrapper .cky-btn-revisit img{
  filter: none !important;
}

/* ================================
   Mobile stability: prevent text/layout "jump" in process cards
   (ET/RU share the same CSS)
   ================================ */
@media (max-width: 1020px){
  /* Keep cards the same height inside the 2-column grid */
  .grid.grid-5{
    align-items: stretch;
  }

  .process-card{
    /* A consistent minimum height prevents reflow when titles wrap differently */
    min-height: 260px;
  }

  .process-card h3{
    line-height: 1.25;
    /* Reserve space for up to ~2 lines of heading */
    min-height: 2.6em;
  }

  .process-card p{
    line-height: 1.55;
    /* Reserve space for up to ~2 lines of body text */
    min-height: 3.1em;
    margin-top: auto;
  }
}

@media (max-width: 768px) {

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .process-card {
    padding: 24px 16px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .process-card h3 {
    min-height: 48px;
    margin-bottom: 12px;
  }

  .process-card p {
    min-height: 60px;
    margin: 0;
  }

}

/* =====================================================
   Mobile FIX (override) — remove huge gaps + align step 2
   Added only (does not delete existing rules)
   ===================================================== */
@media (max-width: 1020px){
  /* cancel previous reserved heights that created big empty space */
  .process-card{ min-height: auto; }
  .process-card h3{ min-height: 0; }
  .process-card p{ min-height: 0; }
}

@media (max-width: 768px){
  /* keep cards visually even without "jumping" */
  .grid.grid-5{ align-items: stretch; }

  .process-card{
    min-height: auto;              /* no forced tall cards */
    padding: 24px 16px;            /* tighter mobile spacing */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* reserve only small consistent space */
  .process-card h3{
    min-height: 48px;              /* ~2 lines heading */
    margin-bottom: 12px;
  }
  .process-card p{
    min-height: 60px;              /* ~2–3 lines text */
    margin: 0;
    margin-top: auto;              /* keep text/bottom alignment */
  }
}

/* =====================================================
   Mobile FIX (extra) — process headings + step 5 spacing
   1) Visually center wrapped headings (avoid "second line shifts")
   2) Bring body text closer to the heading (esp. step 5)
   Added only (no deletions)
   ===================================================== */
@media (max-width: 520px){
  /* Center the heading block while keeping wrapped lines aligned */
  .process-card h3{
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* keeps wrapped lines visually "straight" */
    text-wrap: balance;
    max-width: 92%;
  }

  /* Lift paragraph closer to the title (fixes step 5 big gap) */
  .process-card p{
    margin-top: 10px !important;
    min-height: 0 !important;
  }
}

/* =====================================================
   Companies marquee — stable speed + no disappearing on mobile
   Added only (no deletions)
   ===================================================== */
.logo-marquee__track{
  /* JS will set --marquee-duration based on content width for consistent speed */
  animation-duration: var(--marquee-duration, 28s) !important;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce){
  .logo-marquee__track{ animation: none !important; }
}

/* =====================================================
   Process cards — strict centering for headings + body (PC & mobile)
   User request: all titles and subtext must sit ровно по центру
   Added only (no deletions)
   ===================================================== */
.process-card{
  /* center the content column so wrapped text doesn't look offset */
  align-items: center;
}

.process-card h3,
.process-card p{
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  max-width: 92%;
}

/* override the previous mobile "inline-block + left" trick */
@media (max-width: 520px){
  .process-card h3{
    display: block;
    text-align: center !important;
    max-width: 92%;
  }
}