:root {
  --red: #ed093b;
  --red-dark: #ca062f;
  --ink: #12131a;
  --muted: #676b78;
  --line: #ececf2;
  --soft: #f6f7fa;
  --dark: #11141b;
  --container: 1280px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity .35s ease, visibility .35s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__mark {
  padding: 14px 22px;
  border: 1px solid rgba(237, 9, 59, .18);
  border-radius: 999px;
  color: var(--red);
  font-weight: 800;
  letter-spacing: .02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 12px 40px rgba(17, 20, 27, .06);
}

.topline {
  background: #11141b;
  color: #b8bdc9;
  font-size: 14px;
}

.topline__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.topline a:hover {
  color: #fff;
}

.topline__socials {
  margin-left: auto;
  display: flex;
  gap: 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.navwrap {
  border-bottom: 1px solid rgba(18, 19, 26, .04);
}

.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand-logo {
  display: block;
  width: 198px;
  min-width: 198px;
  line-height: 0;
}

.brand-logo img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 800;
}

.main-nav > a,
.nav-dd > button {
  border: 0;
  padding: 38px 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.main-nav > a:hover,
.main-nav > .active,
.nav-dd:hover > button {
  color: var(--red);
}

.nav-dd {
  position: relative;
}

.nav-dd > button::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 14px;
}

.mega {
  position: absolute;
  top: 100%;
  left: -130px;
  width: min(820px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(17, 20, 27, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: .22s ease;
}

.nav-dd:hover .mega,
.nav-dd.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega b {
  display: block;
  margin-bottom: 12px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

.mega a {
  display: block;
  padding: 8px 0;
  color: #3b3f49;
  font-weight: 700;
}

.mega a:hover {
  color: var(--red);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 800;
}

.round-btn {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.search {
  color: var(--red);
  font-size: 24px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  background: transparent;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 15, .9) 0%, rgba(8, 10, 15, .66) 45%, rgba(8, 10, 15, .2) 100%),
    url("assets/img/hero-flags.jpg") center/cover;
  filter: saturate(1.12) contrast(1.04);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 56px;
  padding: 80px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(38px, 3.7vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.25;
}

.hero__content p {
  max-width: 660px;
  color: rgba(255, 255, 255, .88);
  font-size: 21px;
  font-weight: 700;
}

.hero__list {
  margin: 28px 0 38px;
  padding-left: 24px;
  color: rgba(255, 255, 255, .8);
  font-size: 21px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 34px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
}

.btn:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn span {
  margin-left: 12px;
  font-size: 28px;
  line-height: 0;
}

.btn--wide {
  width: 100%;
  margin-top: 16px;
}

.hero-card {
  padding: 36px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .2);
}

.hero-card b {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-card p {
  margin: 18px 0 22px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-card > a:not(.btn) {
  display: block;
  padding: 10px 0;
  font-size: 19px;
  font-weight: 700;
}

.section {
  padding: 110px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 50px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p,
.section p {
  color: var(--muted);
  font-size: 18px;
}

.steps {
  background: var(--soft);
}

.steps__grid,
.service-grid,
.country-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps__grid article,
.service-grid article,
.posts article,
.sidebar > div,
.info-cards article {
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 20px 54px rgba(17, 20, 27, .05);
}

.steps__grid span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.service-grid article {
  min-height: 280px;
  border-radius: 8px;
  transition: .2s ease;
}

.service-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(17, 20, 27, .1);
}

.icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(237, 9, 59, .08);
  color: var(--red);
  font-weight: 800;
}

.icon::before {
  content: "";
  width: 34px;
  height: 34px;
  background: var(--red);
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}

.icon--passport { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3Cpath d='M9 16h6M12 7v6M9.5 10h5'/%3E%3C/svg%3E"); }
.icon--document { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7z'/%3E%3Cpath d='M14 2v5h5M8 13h8M8 17h5M8 9h2'/%3E%3C/svg%3E"); }
.icon--interview { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19v-1a4 4 0 0 1 4-4h2M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6ZM15 7h5v6h-4l-3 3V9a2 2 0 0 1 2-2Z'/%3E%3Cpath d='M16 10h2'/%3E%3C/svg%3E"); }
.icon--globe { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E"); }
.icon--card { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4M15 15h2'/%3E%3C/svg%3E"); }
.icon--shield { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-5'/%3E%3C/svg%3E"); }
.icon--pin { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-5.4 7-11a7 7 0 1 0-14 0c0 5.6 7 11 7 11Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
.icon--scale { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M5 6h14M7 6l-4 7h8L7 6ZM17 6l-4 7h8l-4-7Z'/%3E%3C/svg%3E"); }

.service-grid a,
.posts a,
.sidebar a {
  color: var(--red);
  font-weight: 800;
}

.popular {
  background: var(--soft);
}

.visa-types {
  padding-top: 20px;
}

.visa-types__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  align-items: start;
}

.type-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.type-list article {
  min-height: 210px;
  padding: 30px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 22px 60px rgba(17, 20, 27, .05);
}

.type-list .icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
}

.type-list h3 {
  font-size: 22px;
}

.country-grid {
  grid-template-columns: repeat(3, 1fr);
}

.country-grid article {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #111;
}

.country-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .78;
  transition: .3s ease;
  filter: saturate(1.08) contrast(1.02);
}

.country-grid article:hover img {
  transform: scale(1.04);
}

.country-grid div {
  position: relative;
  width: 100%;
  padding: 28px;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0));
}

.country-grid p {
  margin-bottom: 4px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.country-grid span {
  color: rgba(255,255,255,.82);
}

.usa__grid,
.about__grid,
.why__grid,
.apec__grid,
.lead__grid,
.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 590px;
}

.image-stack::after {
  content: "";
  position: absolute;
  inset: 74px 70px 38px 110px;
  border: 8px dashed var(--red);
  border-radius: 50%;
  opacity: .9;
}

.image-stack img {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 26px 60px rgba(17,20,27,.12);
}

.image-stack__back {
  top: 0;
  right: 0;
  width: 72%;
  height: 380px;
}

.image-stack__front {
  left: 0;
  bottom: 0;
  width: 48%;
  height: 440px;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}

.residence {
  background: var(--soft);
}

.apec {
  background: #11141b;
  color: #fff;
}

.apec p {
  color: rgba(255,255,255,.72);
}

.price-row {
  display: flex;
  gap: 18px;
  margin: 28px 0;
}

.price-row span {
  padding: 12px 18px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 800;
}

.apec__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.apec__benefits article {
  min-height: 150px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-size: 20px;
  font-weight: 800;
}

.about__media {
  position: relative;
  padding-left: 30px;
}

.about__media::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100px;
  width: 4px;
  height: 180px;
  background: var(--red);
}

.about__media img {
  width: 76%;
  min-height: 560px;
  object-fit: cover;
  background: var(--soft);
}

.rating {
  position: absolute;
  right: 12%;
  top: 42px;
  width: 230px;
  padding: 34px;
  background: var(--red);
  color: #fff;
}

.rating b {
  display: block;
  font-size: 64px;
  line-height: 1;
}

.rating span,
.rating small {
  display: block;
  font-weight: 800;
}

.ticks {
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  margin: 15px 0;
  padding-left: 34px;
  color: #5e6270;
  font-size: 18px;
  font-weight: 700;
}

.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.stats div {
  padding: 22px;
  border: 1px solid var(--line);
}

.stats b {
  display: block;
  color: var(--red);
  font-size: 34px;
}

.team {
  background: var(--soft);
}

.team-grid article img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
}

.team-grid h3 {
  margin-top: 22px;
  margin-bottom: 4px;
}

.team-grid p {
  font-size: 16px;
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.why-list article {
  padding-left: 28px;
  border-left: 3px solid var(--red);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.gallery img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

.gallery img:first-child {
  grid-row: span 2;
  min-height: 540px;
}

.blog {
  background: var(--soft);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
}

.posts {
  display: grid;
  gap: 28px;
}

.posts article:not(.post-card) {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 26px;
}

.posts span,
.posts time {
  color: var(--muted);
}

.posts h3 {
  margin-bottom: 0;
}

.post-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 34px;
  align-items: start;
  border-left: 4px solid transparent;
  transition: border-color .2s ease, transform .2s ease;
}

.post-card:hover {
  border-left-color: var(--red);
  transform: translateY(-2px);
}

.post-card__meta {
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.post-card__meta span {
  color: var(--red);
}

.post-card__body p {
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.post-card summary {
  width: max-content;
  list-style: none;
  color: var(--red);
  font-weight: 800;
  cursor: pointer;
}

.post-card summary::-webkit-details-marker {
  display: none;
}

.post-card summary::after {
  content: " ›";
  font-size: 22px;
  vertical-align: -1px;
}

.post-card details[open] summary {
  margin-bottom: 22px;
}

.post-full {
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

.post-full p {
  color: #4f5461;
}

.post-full ul {
  display: grid;
  gap: 10px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.post-full li {
  position: relative;
  padding-left: 28px;
  color: #333844;
  font-weight: 700;
}

.post-full li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.post-full a {
  display: inline-flex;
  margin-top: 4px;
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 28px;
}

.sidebar h3 {
  font-size: 40px;
}

.sidebar a {
  display: block;
  margin: 14px 0;
  color: var(--ink);
}

.sidebar form {
  display: flex;
  gap: 10px;
}

input,
select {
  width: 100%;
  height: 54px;
  border: 1px solid var(--line);
  padding: 0 16px;
  font: inherit;
}

.sidebar button {
  border: 0;
  padding: 0 18px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}

.doc-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.doc-tags span {
  padding: 20px 24px;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.accordion {
  border: 1px solid var(--line);
}

.accordion button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 24px 28px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}

.accordion button::after {
  content: "+";
  float: right;
  font-size: 26px;
}

.accordion button.is-open::after {
  content: "−";
}

.accordion div {
  display: none;
  padding: 0 28px 24px;
  color: var(--muted);
  font-size: 17px;
}

.accordion button.is-open + div {
  display: block;
}

.lead {
  background: #11141b;
  color: #fff;
}

.lead p {
  color: rgba(255,255,255,.72);
}

.lead-form {
  display: grid;
  gap: 18px;
  padding: 38px;
  background: #fff;
  color: var(--ink);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #5a5f6d;
  font-size: 14px;
  font-weight: 800;
}

.lead-form .check {
  grid-template-columns: 20px 1fr;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.lead-form .check input {
  width: 18px;
  height: 18px;
}

.footer {
  padding: 70px 0;
  background: #07080c;
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 60px;
}

.brand-logo--footer {
  display: block;
  margin-bottom: 34px;
}

.footer h3 {
  color: var(--red);
}

.footer a,
.footer span {
  display: block;
  margin: 10px 0;
  color: rgba(255,255,255,.72);
}

.to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  background: #fff;
  font-size: 28px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .topline { display: none; }

  .nav {
    min-height: 82px;
  }

  .burger {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    max-height: calc(100vh - 82px);
    overflow: auto;
    padding: 24px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  body.menu-open .main-nav {
    display: block;
  }

  .main-nav > a,
  .nav-dd > button {
    display: block;
    width: 100%;
    padding: 16px 0;
    text-align: left;
  }

  .mega {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-dd.is-open .mega {
    display: grid;
  }

  .nav-actions .phone,
  .nav-actions .search {
    display: none;
  }

  .hero__inner,
  .usa__grid,
  .about__grid,
  .why__grid,
  .apec__grid,
  .lead__grid,
  .faq__grid,
  .blog-layout,
  .visa-types__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .steps__grid,
  .service-grid,
  .service-grid--four,
  .country-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .posts article {
    grid-template-columns: 1fr;
  }

  .post-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .brand-logo {
    width: 162px;
    min-width: 162px;
  }

  .nav-actions {
    gap: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding: 62px 0;
  }

  .hero-card,
  .steps__grid article,
  .service-grid article,
  .posts article,
  .sidebar > div,
  .lead-form {
    padding: 24px;
  }

  .section {
    padding: 72px 0;
  }

  .steps__grid,
  .service-grid,
  .service-grid--four,
  .country-grid,
  .team-grid,
  .info-cards,
  .why-list,
  .doc-tags,
  .apec__benefits,
  .stats,
  .type-list,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .country-grid article {
    min-height: 300px;
  }

  .image-stack {
    min-height: 480px;
  }

  .image-stack::after {
    inset: 70px 30px 50px 30px;
  }

  .image-stack__back {
    width: 82%;
    height: 300px;
  }

  .image-stack__front {
    width: 58%;
    height: 320px;
  }

  .about__media img {
    width: 100%;
    min-height: 420px;
  }

  .rating {
    right: 8px;
    top: 20px;
    width: 170px;
    padding: 22px;
  }

  .rating b {
    font-size: 44px;
  }

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

  .gallery img:first-child,
  .gallery img {
    min-height: 280px;
  }

  .sidebar h3 {
    font-size: 32px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}
