
    :root{--ink:#050505;--paper:#fff;--muted:#666;--pad:clamp(20px,2.4vw,48px);--half: 50vw;--split: calc(50% + 162px);}
    *{box-sizing:border-box}
    html{scroll-behavior:smooth}
    #process,
#categories,
#faq,
#contact {
  scroll-margin-top: 20px;
}
    body{margin:0;background:var(--paper);color:var(--ink);font-family:'Roboto',Arial,sans-serif;font-size:16px;line-height:1.28;overflow-x:hidden}
    a{color:inherit;text-decoration:none}
    .label{font-size:.72rem;text-transform:uppercase;letter-spacing:.03em}
    .micro{font-size:.68rem}
    .brand{font-size:clamp(3rem,5.3vw,6.5rem);font-weight:700;line-height:.72;letter-spacing:-.075em}
    .rule{border-top:1px solid}

    .site-header{height:92px;border-bottom:1px solid;display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;padding:0 var(--pad);background:#fff;position:relative;z-index:4}
    .brand.right{text-align:right}
    .back{text-align:center;font-size:.75rem;text-transform:uppercase}
    .back span{display:inline-block;margin-right:12px;font-size:1rem}

    
.hero {
  min-height: calc(100svh - 112px);
  display: grid;
  grid-template-columns: var(--split) minmax(0, 1fr);
  border-bottom: none;
}

    .hero-main{padding:34px var(--pad);display:flex;flex-direction:column;position:relative;overflow:hidden}
    
.crumb {
  font-size: .72rem;
  text-transform: uppercase;
}

.crumb a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}

.crumb a:hover {
  opacity: .5;
}

.crumb a:focus-visible {
  text-decoration: underline;
}

    
/* HERO — две бегущие строки, как на UK Tourist */

.hero h1.hero-title-marquee {
  width: calc(100% + 2 * var(--pad));
  max-width: none;
  margin: auto calc(-1 * var(--pad)) 130px;
  overflow: hidden;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 80px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0;
}

.hero-title-marquee__row {
  height: 102px;
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.hero-title-marquee__track {
  width: max-content;
  display: flex;
  flex-shrink: 0;
  will-change: transform;
  animation: hero-marquee-left var(--marquee-duration, 10s) linear infinite;
}

.hero-title-marquee__row--reverse .hero-title-marquee__track {
  animation-name: hero-marquee-right;
}

.hero-title-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.hero-title-marquee__text {
  display: block;
  flex-shrink: 0;
  padding: 0;
}

@keyframes hero-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes hero-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-title-marquee__track {
    animation-play-state: paused;
  }
}

    .hero-bottom{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end}
   
    .lead {
      font-family: 'Roboto', Arial, sans-serif;
      font-size: clamp(15px, 1.2vw, 18px);
      font-weight: 300;
      line-height: 1.4;
      letter-spacing: 0;
      max-width: 38ch;
      margin: 0;
    }

    
.hero-side {
  position: relative;
  z-index: 5;
  min-width: 0;
  margin-top: -112px;
  padding: 146px var(--pad) 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #000;
  color: #fff;
}

    .side-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
    .country-mark{font-family: Arial, Helvetica, sans-serif;font-size:clamp(12rem,21vw,25rem);font-weight:700;line-height:.7;letter-spacing:-.04em;margin:auto 0;color:transparent;-webkit-text-stroke:1px #fff}
    .country-mark--usa{font-size:clamp(9rem,16vw,19rem);letter-spacing:-.075em}
    .facts{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #777}
    .fact{min-height:78px;padding:15px 10px 0 0}
    .fact:nth-child(even){border-left:1px solid #777;padding-left:16px}
    .fact small{display:block;color:#999;font-size:.67rem;margin-bottom:6px}
    .fact strong {
  display: block;
  font-size: .9rem;
  font-weight: 400;
}
    .intro{min-height:88vh;position:relative;display:grid;grid-template-columns:var(--split) minmax(0, 1fr);border-top: 1px solid #000;border-bottom:none}
    .intro::after {
  display: none;
}
    .intro>div{padding:60px var(--pad);display:flex;flex-direction:column}
    .intro-left {
      align-items: flex-end;
      text-align: right;
    }

    .intro-left .label {
      margin-right: 4vw;
      position: relative;
      top: 20px;
    }
    .intro-left p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 35ch;
    margin: 90px 4vw 0 0;
    }
    .intro-right p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.25;
    max-width: 34ch;
    margin: 26vh 0 0;
    }
    

.down {
  position: absolute;
  top: -109px;
  left: calc(var(--split) - 4px);
  width: 8px;
  height: 590px;
  border: none;
  z-index: 3;
}



    .process{padding:clamp(80px,9vw,170px) var(--pad) 45px;border-bottom:1px solid;position:relative}
    
.process-head {
  display: block;
  margin-bottom: clamp(70px, 9vw, 145px);
}

.process-word {
  position: relative;
  width: 215px;
  margin-left: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
  text-align: right;
}

.process-word > span:not(.micro) {
  display: block;
}
.process-word .micro {
  position: absolute;
  top: -15px;
  left: 5px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
}
    .process-word span{display:block}
    .steps{display:grid;grid-template-columns:repeat(3,1fr)}
    .step{padding:0 clamp(18px,2.4vw,46px) 0 0}
    .step+.step{padding-left:clamp(18px,2.4vw,46px)}
    
.number {
  width: 220px;
  height: 149px;
  border-bottom: 1px solid #000;
}

.number img {
  display: block;
  width: 229px;
  height: 149px;
  max-width: none;
}

    
.step p {
  width: 220px;
  max-width: 100%;
  margin: 35px 0 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
}

    
.marquee {
  width: 100%;
  height: 70px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: visaMarquee 22s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 88px;
  padding-right: 88px;
  flex-shrink: 0;
}

.marquee a {
  color: #000;
  text-decoration: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
}

@keyframes visaMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



.black-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #000;
  color: #fff;
  position: relative;
  z-index: 5;
}

.tile {
  position: relative;
  min-height: 600px;
  height: auto;
  padding: 38px 40px 34px;
  border-right: 0;
  border-bottom: 1px solid #fff;
  display: flex;
  flex-direction: column;
}

.tile:nth-child(odd) {
  border-right: 1px solid #fff;
}

.tile:nth-last-child(-n+2) {
  border-bottom: 0;
}

/* Название типа визы */
.tile.category h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: none;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: left;
}

/* Фото строго по центру */

.tile.category img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 360px;
  max-width: calc(100% - 80px);
  aspect-ratio: 360 / 340;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: translate(-50%, -50%);
  z-index: 1;
}


/* Нижний текст вместо ссылок */
.tile.category .category-bottom {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 34px;
  display: block;
}

.tile.category .category-bottom p {
  margin: 0;
  max-width: none;
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.2;
}

/* Четвёртая карточка страны */

.tile .ghost {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 84px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;

  margin: 0;
  color: #fff;
  -webkit-text-stroke: 0;
}

/* SERVICES — как на главной YES VISA */


/* FAQ — единая секция */

.visa-faq {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: start;
  background: #fff;
  color: #000;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 70px 0 60px;
}

/* Заголовок по сетке УСЛУГ на главной */

.visa-faq__header {
  grid-column: 2;
  grid-row: 1;
  display: block;
  min-height: 0;
  padding: 0;
}


.visa-faq__heading {
  grid-column: 2;
  padding-left: 31%;
}

.visa-faq__micro {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

.visa-faq h2 {
  margin: 0;
  font-size: 60px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: normal;
}

/* Вопросы — строго в левой половине */

.visa-faq__content {
  grid-column: 1;
  grid-row: 1;
  display: block;
  margin-top: 0;
}


.visa-faq__questions {
  grid-column: 1;
  min-width: 0;
  padding: 0 40px 60px;
}

.visa-faq details {
  border-top: 1px solid #000;
  padding: 22px 0;
}

.visa-faq details:last-child {
  border-bottom: 1px solid #000;
}

.visa-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}

.visa-faq summary::-webkit-details-marker {
  display: none;
}

.visa-faq summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.visa-faq details[open] summary::after {
  content: "−";
}

.visa-faq details p {
  margin: 18px 0 0;
  max-width: 100%;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: #444;
}

/* Планшеты */
@media (min-width: 640px) and (max-width: 959px) {
  .visa-faq__heading {
    padding-left: 20%;
  }

  .visa-faq__questions {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Телефоны */
@media (max-width: 639px) {
  .visa-faq {
  display: flex;
  flex-direction: column;
  padding: 0;
}
  .visa-faq__header {
  width: 100%;
  min-height: 0;
  padding: 56px 20px 40px;
}

  .visa-faq__heading {
    padding-left: 0;
  }

  .visa-faq h2 {
    font-size: 42px;
  }

  .visa-faq__content {
  width: 100%;
  margin-top: 0;
}

  .visa-faq__questions {
    padding: 0 20px 55px;
  }
}



.contact {
  position: relative;
  height: 800px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: block;
}

      
    
.contact h2 {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
  margin: 0;
  max-width: none;
}


    
.contact h2 > span {
  display: block;
}

.contact h2 > .contact-first-line,
.contact h2 > .contact-first-line + span {
  display: inline;
}

.contact h2 > .contact-first-line + span {
  margin-left: 0.25em;
}

    
    
    .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    width: 232px;
    min-width: 0;
    height: 50px;
    padding: 0;
    border-radius: 8px;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
    text-transform: none;
    }

    .btn:hover {
    background: #222;
    }

    

.contact-data {
  position: absolute;
  top: 486px;
  left: 40px;
  margin: 0;
  display: block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.contact-data > * {
  position: absolute;
  left: 0;
  white-space: nowrap;
}

.contact-data > :nth-child(1) { top: 0; }
.contact-data > :nth-child(2) { top: 44px; }
.contact-data > :nth-child(3) { top: 94px; }
.contact-data > :nth-child(4) { top: 169px; }


    

.vertical-yes {
  position: absolute;
  top: 243px;
  right: 0;
  bottom: auto;
  width: 189px;
  height: auto;
  display: block;
  transform: none;
}


    .mobile-action{display:none}

    @media(max-width:1050px){
      .hero{min-height:760px}.hero-bottom{grid-template-columns:1fr}.hero-bottom .btn{justify-self:start}.facts{grid-template-columns:1fr}.fact:nth-child(even){border-left:0;padding-left:0}.intro{min-height:720px}.intro-left p{margin-right:1vw}.intro-left .label{margin-right:1vw}.process-head{grid-template-columns:.8fr 3fr}.number{font-size:12vw}.row{grid-template-columns:.75fr 1.1fr 1.45fr .2fr}
    }
    @media(max-width:700px){
      :root{--pad:18px}.brand{font-size:3.2rem}.label{font-size:.66rem}.site-header{height:66px;grid-template-columns:1fr 1.15fr 1fr}.back{font-size:.65rem}.back span{margin-right:5px}.hero{display:flex;flex-direction:column;min-height:0}.hero-main{min-height:620px;padding-top:24px}.hero h1.hero-title-marquee {
  font-size: 26px;
  margin: 110px calc(-1 * var(--pad)) auto;
}
.hero-title-marquee__row {
  height: 54px;
}
.hero-bottom{margin-bottom:28px}.hero-bottom .btn{display:none}
.hero-side {
  min-height: 430px;
  margin-top: 0;
  padding: 28px 20px;
  box-shadow: none;
}
.country-mark{font-size:52vw}.country-mark--usa{font-size:39vw}.facts{grid-template-columns:1fr 1fr}.fact:nth-child(even){border-left:1px solid #777;padding-left:12px}

/* INTRO — mobile layout */

@media (max-width: 639px) {
  .intro {
    position: relative;
    display: block;
    height: 810px;
    min-height: 810px;
    overflow: hidden;
    border-bottom: none;
  }

  .intro > div {
    display: block;
    position: static;
    padding: 0;
  }

  .intro-left {
    border: none;
  }

  .intro .down {
    position: absolute;
    top: 0;
    left: calc(50% + 7px);
    width: 8px;
    height: 805px;
  }

  .intro .intro-left .label {
    position: absolute;
    top: 250px;
    left: 11px;
    width: 218px;
    text-align: right;
    margin-right: 0;
  }

  .intro .intro-left p {
    position: absolute;
    top: 300px;
    left: 11px;
    width: 218px;
    max-width: none;
    margin: 0;
    text-align: right;
  }

  .intro .intro-right p {
    position: absolute;
    top: 430px;
    left: calc(50% + 41px);
    width: 182px;
    max-width: none;
    margin: 0;
    text-align: left;
  }

}

@media (max-width: 479px) {
  .intro .down {
    left: calc(100% - 73.5px);
  }

  .intro .intro-left .label {
    top: 260px;
    left: auto;
    right: 91px;
  }

  .intro .intro-left p {
    top: 300px;
    left: auto;
    right: 91px;
    width: 218px;
  }

  .intro .intro-right p {
    top: 505px;
    left: auto;
    right: 91px;
    width: 219px;
    text-align: right;
  }
}
.process{padding-top:90px}.process-head{grid-template-columns:.55fr 1.45fr;margin-bottom:90px}.process-word{font-size:3.7rem}.steps{grid-template-columns:1fr}.step,.step+.step{padding:0 0 55px}.number{font-size:8.5rem}.step p{margin-left:28%;font-size:.95rem}.marquee{margin-top:70px}.tile h2{font-size:5.6rem}.tile .ghost{font-size:11rem}.tile .ghost--usa{font-size:7rem}

.faq {
  grid-template-columns: 1fr;
}

.faq-title {
  min-height: 0;
  border: none;
  padding: 100px 20px 24px;
}

.faq-title h2 {
  font-size: 54px;
}

.faq-list {
  padding: 24px 20px 55px;
}
      .contact h2{font-size:clamp(36px,8vw,60px);margin-top:0}
      
.mobile-action{
  display:flex;
  position:fixed;
  z-index:1000;
  left:50%;
  right:auto;
  bottom:16px;
  width:232px;
  max-width:calc(100vw - 40px);
  height:50px;
  padding:0;
  align-items:center;
  justify-content:center;
  transform:translateX(-50%);
  background:#000;
  color:#fff;
  border:0;
  border-radius:8px;
  font-family:'Roboto',Arial,sans-serif;
  font-size:16px;
  font-weight:400;
  line-height:1;
  text-align:center;
  text-transform:none;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}

.mobile-action.mobile-action--hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translate(-50%,16px);
}
    }


.site-header {
  position: relative;
  height: 112px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-sizing: border-box;
}

.site-header .brand,
.site-header .back {
  position: fixed !important;
  z-index: 1000;
}

.site-header .brand {
  top: 40px;
  left: 40px;
  line-height: 0;
}

.site-header .brand.right {
  top: 25px;
  left: auto;
  right: 40px;
}

.site-header .brand img {
  display: block;
  width: 120px;
  height: auto;
}

.site-header .brand.right img {
  width: 279px;
}

/* Навигация — как на главной YES VISA */

.site-nav {
  position: absolute;
  z-index: 10;
  top: 40px;
  left: calc(50% - 4px);

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.site-nav a {
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  opacity: 0.6;
}



@media (max-width: 959px) and (min-width: 640px) {
  .site-nav {
    left: calc(50% - 70px);
  }

  .country-mark {
    font-size: 21vw;
  }

  .country-mark--usa {
    font-size: 16vw;
  }

  .hero-side {
    padding-left: 24px;
    padding-right: 24px;
  }
}



@media (max-width: 639px) {
  .site-nav {
    display: flex;
    position: absolute;
    top: 30px;
    left: 150px;
    transform: none;
    width: 180px;
    gap: 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    z-index: 10;
  }

  .hero-main .crumb {
    display: none;
  }
}

@media (max-width: 479px) {
  .site-nav {
    left: 111px;
  }
}





.site-header .back {
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
}

    


.contact-heading {
  position: absolute;
  top: 185px;
  left: 40px;
  margin: 0;
}


.contact-action {
  position: absolute;
  top: 360px;
  left: 40px;
}




.contact-first-line {
  position: relative;
  width: max-content;
}


.contact-right-now {
  position: absolute;
  top: 1px;
  left: 211px;
  width: 281px;
  margin-left: 0;
  text-align: right;
  white-space: nowrap;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: normal;
  text-transform: none;
}


@media (max-width: 959px) {
  .contact-right-now {
    top: 0;
    left: -45px;
  }

  .site-header .brand {
    left: 20px !important;
  }

  .site-header .brand.right {
    left: auto !important;
    right: 20px !important;
  }
}


@media (max-width: 639px) {
  .site-header .brand {
    top: 30px;
  }

  .site-header .brand img {
    width: 78px;
  }

  .site-header .brand.right {
    top: 19px;
  }

  .site-header .brand.right img {
    width: 186px;
  }
}

@media (max-width: 479px) {
  .site-header .brand img {
    width: 55px;
  }

  .site-header .brand.right {
    top: 23px;
  }

  .site-header .brand.right img {
    width: 130px;
  }
}


@media (max-width: 1199px) {
  :root { --split: calc(50% + 122px); }
}

@media (max-width: 959px) {
  :root { --split: calc(50% + 41px); }
}

@media (max-width: 639px) {
  :root { --split: calc(50% + 11px); }
}

@media (max-width: 479px) {
  :root { --split: calc(100% - 69px); }
}



/* PROCESS — content-driven layout */

#process {
  position: relative;
  display: flow-root;
  padding: 0;
  border-bottom: none;
}

/* Заголовок ПРОЦЕСС */

#process .process-head {
  position: absolute;
  top: 89px;
  left: calc(50% - 583.5px);
  margin: 0;
}

/* Шаги — в нормальном потоке */

#process .steps {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-columns: repeat(3, 229px);
  column-gap: 71px;
  align-items: start;
  width: max-content;
  margin-left: calc(50% - 249.5px);
  padding-top: 70px;
}

#process .step,
#process .step + .step {
  position: static;
  width: 229px;
  padding: 0;
}

/* Цифры и линии */

#process .number {
  width: 220px;
  height: 149px;
  border-bottom: 1px solid #000;
  font-size: 0;
}

#process .number img {
  display: block;
  width: 229px;
  height: 149px;
  max-width: none;
}

/* Текст каждого шага */

#process .step p {
  width: 220px;
  max-width: none;
  margin: 36px 0 0 9px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
}

/* Бегущая строка следует за текстами */

#process .marquee {
  margin: 90px 0 0;
  height: 70px;
}

.marquee-group {
  gap: 64px;
  padding-right: 64px;
}

.marquee a {
  font-size: 22px;
}

/* Планшеты */

@media (min-width: 640px) and (max-width: 1199px) {
  #process .process-head {
    top: 89px;
    left: 40px;
  }

  #process .steps {
    grid-template-columns: repeat(2, 229px);
    justify-content: space-between;
    column-gap: 0;
    row-gap: 120px;
    width: auto;
    margin: 0 40px;
    padding-top: 242px;
  }

  #process .step:nth-child(3) {
    grid-column: 1;
  }

  #process .step p {
    width: 300px;
    margin-left: 0;
  }

  #process .step:nth-child(2) p {
    margin-left: -71px;
  }

  #process .marquee {
    margin-top: 90px;
  }
}

/* Телефоны */

@media (max-width: 639px) {
  #process .process-head {
    top: 86px;
    left: auto;
    right: 20px;
  }

  #process .process-word .micro {
    left: auto;
    right: 0;
    text-align: right;
  }

  #process .process-word {
    font-size: 54px;
    line-height: 1;
  }

  #process .steps {
    grid-template-columns: 1fr;
    row-gap: 90px;
    width: auto;
    margin: 0 20px;
    padding-top: 220px;
  }

  #process .step p {
    width: calc(100vw - 40px);
    margin: 41px 0 0;
  }

  #process .marquee {
    margin-top: 90px;
  }
}


/* Планшеты — как на главной */
@media (min-width: 640px) and (max-width: 959px) {
  .tile {
    min-height: 520px;
  }

  .tile.category img {
    width: 250px;
  }
}

/* Телефоны — одна карточка в строке */
@media (max-width: 639px) {
  .black-grid {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 400px;
    padding: 22px 20px 28px;
  }

  .tile:nth-child(odd) {
    border-right: 0;
  }

  .tile:nth-last-child(-n+2) {
    border-bottom: 1px solid #fff;
  }

  .tile:last-child {
    border-bottom: 0;
  }

  .tile.category h2 {
    font-size: 24px;
  }

  .tile.category img {
    width: 240px;
    max-width: calc(100% - 40px);
  }

  .tile.category .category-bottom {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }

  .tile.category .category-bottom p {
    font-size: 16px;
  }
}


/* SERVICES — tablet */
@media (min-width: 640px) and (max-width: 959px) {
  .included-head > div {
    padding-left: 20%;
  }

  .row h3 {
    padding-left: 22%;
  }

  .row p {
    padding-left: 20%;
    padding-left: 20%;
  }
}

/* SERVICES — mobile */
@media (max-width: 639px) {
  .included-head {
    min-height: 150px;
    display: block;
    padding: 56px 20px 40px;
  }

  .included-head > div {
    padding-left: 0;
  }

  .included-head h2 {
    font-size: 42px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 24px 20px;
  }

  .row h3,
  .row p {
    padding-left: 0;
    padding-right: 0;
    font-size: 16px;
    font-weight: 400;
  }
}

@media (max-width: 479px) {
  .vertical-yes {
    top: 22px;
    right: 0;
    width: 215px;
  }
}


/* VISA POPUP */

.visa-modal {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 45px 40px;
  border: none;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: 'Roboto', Arial, sans-serif;
  overflow-y: auto;
}

.visa-modal::backdrop {
  background: rgba(0, 0, 0, .75);
}

.visa-modal__close {
  position: absolute;
  top: 10px;
  right: 18px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: #000;
  font-size: 34px;
  font-weight: 300;
  cursor: pointer;
}

.visa-modal h2 {
  margin: 0 0 15px;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
}

.visa-modal__description {
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.visa-modal__fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.visa-modal__fields input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid #000;
  border-radius: 5px;
  background: #fff;
  color: #000;
  font: 16px 'Roboto', Arial, sans-serif;
}

.visa-modal__fields button {
  width: 100%;
  min-height: 54px;
  margin-top: 5px;
  border: 0;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font: 16px 'Roboto', Arial, sans-serif;
  cursor: pointer;
}

.visa-modal__fields button:disabled {
  opacity: .55;
  cursor: wait;
}

.visa-modal__success,
.visa-modal__error {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
}

.visa-modal [hidden] {
  display: none !important;
}

@media (max-width: 639px) {
  .visa-modal {
    padding: 48px 20px 30px;
  }

  .visa-modal h2 {
    font-size: 25px;
  }

  .visa-modal__description {
    font-size: 14px;
  }
}

/* FOOTER V2 — responsive layout */

.contact.footer-v2 {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  height: auto;
  min-height: 0px;
  padding: 0;
  overflow: hidden;
}

/* Левая половина */

.footer-v2 .footer-copy {
  position: relative;
  grid-column: 1;
  min-width: 0;
  padding: 75px 20px 65px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* Заголовок — как на главной YES VISA */

.contact.footer-v2 .footer-title {
  width: 100%;
  max-width: 560px;
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: normal;
  white-space: normal;
}

/* right now — отдельный элемент */

.footer-v2 .footer-micro {
  position: absolute;
  top: 186px;
  left: 251px;
  width: 281px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

/* Кнопка и контакты */

.footer-v2 .footer-action {
  margin-top: 35px;
}

.footer-v2 .footer-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
  margin-top: 76px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  white-space: pre-line;
}

/* Оригинальный YES справа */

.footer-v2 .footer-art {
  position: absolute;
  top: 133px;
  right: 0;
  bottom: auto;
  width: 189px;
  height: auto;
  display: block;
  transform: none;
}

/* Планшеты */


@media (min-width: 640px) and (max-width: 959px) {
  .footer-v2 .footer-copy {
    padding: 112px 20px 65px;
  }

  .contact.footer-v2 .footer-title {
    font-size: 60px;
    max-width: 380px;
  }

  .footer-v2 .footer-micro {
    top: 112px;
    left: -25px;
  }
}


/* Узкие экраны: YES сверху, контент снизу */

@media (max-width: 639px) {
  .contact.footer-v2 {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    padding: 0 0 90px;
  }

  .footer-v2 .footer-art {
    position: static;
    align-self: flex-end;
    width: 215px;
    max-width: 65%;
    height: auto;
    margin-top: 22px;
    transform: none;
  }

  .footer-v2 .footer-copy {
    width: 100%;
    padding: 45px 20px 0;
  }

  
.contact.footer-v2 .footer-title {
  width: 100%;
  max-width: 380px;
  font-size: 60px;
  line-height: 1.25;
}

.footer-v2 .footer-micro {
  top: 45px;
  left: -45px;
}


  .footer-v2 .footer-action {
    margin-top: 35px;
  }

  .footer-v2 .footer-details {
    margin-top: 46px;
    font-size: 18px;
    gap: 19px;
  }
}


@media (max-width: 639px) {
  .site-header .brand {
    transition: opacity .25s ease, visibility .25s ease;
  }


@media (max-width: 479px) {
  .contact.footer-v2 .footer-title {
    font-size: 40px;
    max-width: 275px;
  }

  .footer-v2 .footer-micro {
    top: 35px;
    left: -125px;
  }
}


  body.faq-passed .site-header .brand {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
#about .intro-left .label,
#about .intro-left p,
#about .intro-right p {
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 701px) and (max-width: 1050px) {
  .intro {
    min-height: 650px;
  }

  .intro .down {
    height: 590px;
  }

  .intro-left .label {
    top: 50px;
  }
}

@media (min-width: 1051px) {
  .intro {
    min-height: calc(88vh - 170px);
  }

  .intro .down {
    height: 590px;
  }

  .intro-left .label {
    top: 50px;
  }
}

/* YES VISA — FLOATING STAR NAVIGATION */

.yv-float-nav {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 92px;
  height: 92px;
  z-index: 1401;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);

  transition:
    opacity .3s ease,
    transform .3s ease,
    visibility .3s;
}

.yv-float-nav.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* Кнопка: без фона и рамки */

.yv-float-nav__button {
  width: 92px;
  height: 92px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* Оригинальная звезда YES VISA */

.yv-float-nav__star {
  display: block;
  width: 92px;
  height: 92px;
  transform-origin: center;
  animation: yv-star-spin 5s linear infinite;
  animation-play-state: paused;
}

.yv-float-nav__star img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Белая звезда на чёрных секциях */

.yv-float-nav__star img {
  transition: filter .25s ease;
}

.yv-float-nav.is-on-dark .yv-float-nav__star img {
  filter: brightness(0) invert(1);
}


/* Вращается только во время загрузки и при открытом меню */

.yv-float-nav.is-spinning .yv-float-nav__star {
  animation-play-state: running;
}

@keyframes yv-star-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Навигация раскрывается над звездой справа */

.yv-float-nav__menu {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: max-content;

  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .5s;
}

.yv-float-nav.is-open .yv-float-nav__menu {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

/* Каждый пункт вылетает из центра звезды */

.yv-float-nav__menu > * {
  display: block;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  color: #000;

  font-family: 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  text-decoration: none;

  box-shadow: 0 3px 12px rgba(0,0,0,.06);
  cursor: pointer;

  opacity: 0;
  transform:
    translate(var(--fly-x, 0px), var(--fly-y, 30px))
    scale(.06);

  transition:
    opacity .3s ease,
    transform .5s cubic-bezier(.2,.85,.2,1);
}

.yv-float-nav.is-open .yv-float-nav__menu > * {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  transition-delay: calc(var(--index) * 55ms);
}

.yv-float-nav__menu > *:hover {
  background: #f3f3f3;
}

/* Прозрачный слой защищает остальные ссылки */

.yv-float-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1400;
  visibility: hidden;
  pointer-events: none;
  background: transparent;
}

.yv-float-backdrop.is-active {
  visibility: visible;
  pointer-events: auto;
}

/* Слова, которые летят в звезду */

.yv-float-ghost {
  position: fixed;
  z-index: 1400;
  pointer-events: none;

  padding: 2px 4px;
  color: #000;
  background: #fff;

  font: 400 14px/1.55 'Roboto', Arial, sans-serif;
  white-space: nowrap;
}

/* Доступность с клавиатуры */

.yv-float-nav button:focus-visible,
.yv-float-nav a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* Телефоны: звезда выше кнопки заявки */

@media (max-width: 700px) {
  .yv-float-nav {
    right: 16px;
    bottom: 84px;
    width: 70px;
    height: 70px;
  }

  .yv-float-nav__button,
  .yv-float-nav__star {
    width: 70px;
    height: 70px;
  }
}

/* Пользователи с отключёнными анимациями */

@media (prefers-reduced-motion: reduce) {
  .yv-float-nav,
  .yv-float-nav__menu,
  .yv-float-nav__menu > * {
    transition: none !important;
  }

  .yv-float-nav__star {
    animation: none !important;
  }
}

/* FIX — расстояние между стрелкой и процессом */

@media (min-width: 701px) {
  #about.intro {
    min-height: 500px;
  }

  #about .intro-right p {
    margin-top: min(26vh, 220px);
  }
}

/* YES VISA — FAQ по сетке ПРОЦЕССА */

@media (min-width: 1440px) {

  #faq .visa-faq__questions {
    padding-left: max(40px, calc(50vw - 583.5px));
  }

  #faq .visa-faq__header {
    display: flex;
    justify-content: flex-end;
    padding-right: max(40px, calc(50vw - 580px));
  }

  #faq .visa-faq__heading {
    width: max-content;
    margin: 0;
    padding: 0;
  }
}


/* YES VISA — COUNTRY STAMP */

.hero-side {
  position: relative;
  overflow: hidden;
}

.hero-side::after {
  content: "";
  position: absolute;
  top: -45px;
  right: -45px;
  width: clamp(200px, 19vw, 290px);
  aspect-ratio: 1 / 1;

  background-image: var(--country-stamp);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  transform: rotate(-12deg);
  pointer-events: none;
  z-index: 2;
}

.hero-side > .side-top,
.hero-side > .facts {
  position: relative;
  z-index: 3;
}

@media (max-width: 700px) {
  .hero-side::after {
    top: -28px;
    right: -30px;
    width: 190px;
  }
}

[data-country="uk"] .hero-side {
  --country-stamp: url('/assets/images/countries/uk/stamp.svg');
}

[data-country="usa"] .hero-side {
  --country-stamp: url('/assets/images/countries/usa/stamp.svg');
}

[data-country="canada"] .hero-side {
  --country-stamp: url('/assets/images/countries/canada/stamp.svg');
}
