
* {
	box-sizing: border-box;
}

/* make images scale down on smaller screens */
img {
  max-width: 100%;
  height: auto;
}


.container {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.header {
	width: 100%;
	height: 90px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 16px;
}

.logo-img {
	margin-top: 36px;
	margin-left: 32px;
	margin-bottom: 35px;
}

.header-info {
	display: flex;
	align-items: center;
}

nav ul {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  margin-left: 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

nav li {
	margin: 0 32px;
}

nav a {
	text-decoration: none;
	font-family: 'Poppins';
	font-weight: 400;
	font-size: 15px;
	color:#1B1A1A;
}

.btn {
	color: white;
	background-color: #1B1A1A;
	padding: 12px 24px;
	border-radius: 14px;
	border: 2px solid #1B1A1A;
	transition: all 0.3s ease;
	display: inline-block;
}

.btn:hover {
	background-color: #333333;
	border-color: #333333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(27, 26, 26, 0.3);
}

.btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(27, 26, 26, 0.4);
	background-color: #000000;
	border-color: #000000;
}

.main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ece7e4;
}

.main-info {
  flex: 1;
}

.main-info h1 {
	font-family: 'Poppins';
	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	margin-left: 40px;
	margin-top: 60px;
	color:#645C55;
}

.main-info-text {
	font-family: 'Poppins';
	font-weight: 400;
	font-size: 64px;
	line-height: 70px;
	letter-spacing: 0%;
	color:#1B1A1A;
	margin-left: 40px;
	margin-top: 20px;
	margin-bottom: 0;
}

.main-info-text-2 {
	font-family: 'Poppins';
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0%;
	color: #403E3B;
	margin-left: 40px;
	margin-top: 18px;
	margin-bottom: 0;
}

.main-btn {
	font-family: 'Poppins';
	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.4px;
	color: #1B1A1A;
	text-decoration: none;
	margin-left: 45px;
	margin-top: 30px;
	margin-bottom: 0;
	cursor: pointer;
}

.main-img {
  max-width: 50%;
  height: auto;
  display: block;
  margin-left: 60px;
}

.our-firm {
  flex: 1;
}

.our-firm h1 {
	font-family: 'Poppins';
	font-weight: 400;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: 0%;
	margin-top: 96px;
	margin-left: 135px;
	color:#403E3B;
}

.firm {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
}

.firm-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Keep right alignment for text and author */
  justify-content: flex-start;
}

.firm-info-text-1,
.firm-info-text-2,
.firm-info-text-3,
.firm-img-author-wrapper {
  width: 500px;
  margin-right: 344px;
  margin-top: 100px;
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  color: #403E3B;
}

.firm-info-text-2 {
  margin-top: 10px; /* 10px space below the first paragraph */
}

.firm-info-text-3 {
	margin-top: 10px;
}

.firm-img-author-wrapper {
  display: flex;
  align-items: flex-start;
  margin-top: 18px; /* keep image spacing as before */
}

.firm-img {
  margin: 0;
  width: 84px;
  height: 84px;
}

.author {
  display: flex;
  flex-direction: column;
  margin-left: 30px; /* 30px to the right of the image */
}

.author-name {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 17px;
	line-height: 26px;
	letter-spacing: 0px;
	color: #1B1A1A;
	margin: 0;
	margin-top: 22px;
}

.author-job {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0px;
	color: #645C55;
	margin-top: 3px;
}

.house {
	position: relative;
}

.house-img {
	display: block;
	width: 100%;
	height: 100%;
	margin-top: 100px;
}

.house-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #403E3B;
	bottom: 314px;
	right: 223px;
	position: absolute;
}

.house-text-2 {
	position: absolute;
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0px;
	color: #645C55;
	bottom: 266px;
	right: 87px;
}

.process {
	position: relative;
}

.process-info-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #645C55;
	margin-top: 100px;
	text-align: center;
}

.process-info-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 39px;
	line-height: 42px;
	letter-spacing: 0px;
	color: #1B1A1A;
	margin-top: 13px;
	text-align: center;
}

.blocks {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin-left: 136px;
	margin-right: 136px;
}

.sketching-img {
	margin-left: 140px;
	margin-right: 140px;
}

.sketching-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 18px;
	line-height: 26px;
	letter-spacing: 0px;
	text-align: center;
	color: #403E3B;
	margin-top: 15px;
}

.sketching-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: 0px;
	text-align: center;
	color: #645C55;
	margin-top: 10px;
}

.finalizing-img {
	margin-left: 140px;
	margin-right: 140px;
}

.finalizing-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 17px;
	line-height: 26px;
	letter-spacing: 0px;
	text-align: center;
	color: #403E3B;
	margin-top: 15px;
}

.finalizing-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0px;
	text-align: center;
	color: #645C55;
	margin-top: 10px;
}

.building-img {
	margin-left: 140px;
	margin-right: 140px;
}

.building-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 17px;
	line-height: 26px;
	letter-spacing: 0px;
	text-align: center;
	color: #403E3B;
	margin-top: 15px;
}

.building-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0px;
	text-align: center;
	color: #645C55;
	margin-top: 10px;
}

.staircase {
	position: relative;
}

.staircase-img {
	display: block;
	width: 100%;
	height: 100%;
	margin-top: 100px;
}

.staircase-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #403E3B;
	position: absolute;
	bottom: 314px;
	right: 155px;
}

.staircase-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0px;
	color: #645C55;
	position: absolute;
	bottom: 266px;
	right: 60px;
}

.customers {
	background-color: #403E3B;
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	padding-top: 0;
	padding-bottom: 0;
}

.customers-info {
	text-align: left;
	flex: 1;
}

.customers-info-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #ECE7E4;
	margin-top: 135px;
	margin-left: 136px;
	margin-bottom: 0;
}

.customers-info-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: 0px;
	color: #FFFFFF;
	margin-left: 136px;
	margin-top: 0;
	margin-bottom: 0;
}

.customers-info-text-3 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: 0px;
	color: #ECE7E4;
	margin-left: 136px;
	margin-top: 14px;
}

.logos {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end; 
	justify-content: flex-start;
	margin-right: 132px;
}

.logos-1,
.logos-2 {
	display: flex;
	flex-direction: row;
	gap: 96px;
	margin: 96px;
}

.staircase1 {
	position: relative;
}

.staircase1-img {
	display: block;
	width: 100%;
	height: 100%;
	margin-top: 0px;
}

.staircase1-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #403E3B;
	position: absolute;
	top: 266px;
	left: 60px;
}

.staircase1-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0px;
	color: #645C55;
	position: absolute;
	top: 286px;
	left: 60px;
}

.projects-info-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 39px;
	line-height: 42px;
	letter-spacing: 0px;
	color: #1B1A1A;
	margin-top: 113px;
	margin-left: 136px;
}

.projects-info-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 24px;
	line-height: 30px;
	letter-spacing: 0px;
	color: #645C55;
	margin-top: 15px;
	margin-left: 136px;
}

.projects-blocks {
	position: relative;
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 40px;
	margin-bottom: 40px;
}

.block-malmo,
.block-newyork,
.block-london {
	position: relative;
}

.malmo-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #645C55;
	position: absolute;
	top: 40px;
	left: 40px;
}

.malmo-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 24px;
	line-height: 30px;
	letter-spacing: 0px;
	color: #403E3B;
	position: absolute;
	top: 58px;
	left: 40px;
}

.projects-btn {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.4px;
	color: #FFFFFF;
	background-color: #1B1A1A;
	padding: 6px 12px;
	border-radius: 14px;
	border: 4px solid #1B1A1A;
	transition: all 0.3s ease;
	display: inline-block;
	position: absolute;
	top: 370px;
	left: 45px;
}

.projects-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(27, 26, 26, 0.4);
	background-color: #000000;
	border-color: #000000;
	cursor: pointer;
}

.projects-btn:hover {
	background-color: #333333;
	border-color: #333333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(27, 26, 26, 0.3);
	cursor: pointer;
}

.newyork-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #645C55;
	position: absolute;
	top: 40px;
	left: 40px;
}

.newyork-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 23px;
	line-height: 30px;
	letter-spacing: 0px;
	color: #403E3B;
	position: absolute;
	top: 58px;
	left: 40px;
}

.london-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 2px;
	color: #645C55;
	position: absolute;
	top: 40px;
	left: 40px;
}

.london-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 24px;
	line-height: 30px;
	letter-spacing: 0px;
	color: #403E3B;
	position: absolute;
	top: 58px;
	left: 40px;
}

.all-projects-btn {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.4px;
	text-align: center;
	color: #1B1A1A;
	justify-content: center;
	margin-top: 51px;
	cursor: pointer;
}

.team-info-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: 0px;
	color: #403E3B;
	margin-top: 96px;
	margin-left: 136px;
}

.team-info-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 15px;
	line-height: 24px;
	letter-spacing: 0px;
	color: #645C55;
	margin-top: 14px;
	margin-left: 136px;
}

.all-team-btn {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0.4px;
	color: #1B1A1A;
	margin-top: 30px;
	margin-left: 141px;
	cursor: pointer;
}

.team {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 64px; /* Adjust as needed for spacing between info and blocks */
  margin-top: 80px; /* or as per your design */
}

.team-info {
  flex: 1;
  min-width: 300px;
}

.team-blocks {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 100px;
  margin-right: 136px;
}

.team-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

  .team-blocks-single {
    justify-content: flex-start;
    margin-top: 36px;
    display: flex;
    width: 100%;
  }

.block-collier,
.block-peters,
.block-wonder,
.block-stone,
.block-ferry {
	display: flex;
	text-align: left;
}

.block-wonder,
.block-stone {
	margin-top: 36px;
}

.block-stone,
.block-peters {
	margin-left: 120px;
}

.touch {
  background-color: #CEC4BC;
  padding: 100px 0 120px 0; /* Top and bottom padding for vertical space */
  text-align: center;
  width: 100%;
  margin-top: 100px;
}

.touch-info-text-1 {
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2px;
  color: #645C55;
  margin-top: 0;
  margin-bottom: 24px; /* Space below GET IN TOUCH */
  margin-left: 0;
}

.touch-info-text-2 {
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 40px;
  line-height: 42px;
  letter-spacing: 0px;
  color: #1B1A1A;
  margin-top: 0;
  margin-bottom: 48px; /* Space below heading */
  margin-left: 0;
}

.all-touch-btn {
  font-family: 'Poppins';
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.4px;
  color: #1B1A1A;
  background: #fff;
  border-radius: 14px;
  padding: 16px 48px;
  display: inline-block;
  margin-top: 0;
  margin-left: 0;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(27,26,26,0.08);
  transition: background 0.2s, color 0.2s;
}

.all-touch-btn:hover {
  background: #1B1A1A;
  color: #fff;
}

.footer-logo {
	margin-top: 62px;
	margin-left: 136px;
}

.footer-info-text-1 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0px;
	color: #645C55;
	margin-top: 20px;
	margin-left: 136px;
	margin-bottom: 0px;
}

.footer-info-text-2 {
	font-family: 'Poppins';
  	font-weight: 400;
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0px;
	color: #645C55;
	margin-top: 0px;
	margin-left: 136px;
}

.socmedia {
	display: flex;
	gap: 20px;
	margin-bottom: 60px;
	margin-left: 1120px;
	cursor: pointer;
}

.btn, .all-team-btn, .all-touch-btn, .socmedia img {
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(.4,0,.2,1), box-shadow 0.15s cubic-bezier(.4,0,.2,1), background 0.2s, color 0.2s;
}

.btn:hover, .all-team-btn:hover, .all-touch-btn:hover, .socmedia img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(27,26,26,0.12);
}

.btn:active, .all-team-btn:active, .all-touch-btn:active, .socmedia img:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(27,26,26,0.18);
}

/* --- Responsive adjustments --- */

@media (max-width: 1024px) {
  /* tablet landscape */
  nav ul { flex-wrap: wrap; justify-content: center; }
  nav li { margin: 8px 16px; }

  .main { flex-direction: column; }
  .main-img { max-width: 100%; margin: 20px 0; }

  .firm, .blocks, .customers, .team { flex-direction: column; align-items: center; }
  .firm-info-text-1, .firm-info-text-2, .firm-info-text-3, .firm-img-author-wrapper,
  .customers-info, .logos, .team-info { margin: 20px; width: auto; }

  .projects-blocks { flex-direction: column; gap: 20px; }
}

@media (max-width: 768px) {
  /* portrait tablets / large phones */
  .header { flex-direction: column; align-items: flex-start; height: auto; padding: 16px; }
  .logo-img { margin: 0 0 16px 0; }

  nav ul { flex-direction: column; align-items: flex-start; margin: 0; }
  nav li { margin: 8px 0; }

  .main-info { margin: 0 16px; }
  .main-info h1, .main-info-text, .main-info-text-2, .main-btn { margin-left: 0; }

  .firm-info { align-items: center; }
  .firm-info-text-1, .firm-info-text-2, .firm-info-text-3 { margin-right: 0; margin-top: 20px; width: 90%; }
  .firm-img-author-wrapper { justify-content: center; }

  .house-text-1, .house-text-2,
  .staircase-text-1, .staircase-text-2,
  .staircase1-text-1, .staircase1-text-2 {
    position: static;
    margin: 16px;
  }

  .blocks { margin: 20px; }
  .sketching-img, .finalizing-img, .building-img { margin: 0 auto; }

  .customers-info { text-align: center; margin: 20px 0; }
  .logos-1, .logos-2 { flex-direction: column; gap: 40px; margin: 40px 0; }

  .projects-info-text-1, .projects-info-text-2 { text-align: center; margin-left: 0; }
  .projects-blocks { margin: 0; }
  .projects-btn { position: static; margin: 20px auto 0 auto; }

  .team { gap: 0; margin-top: 40px; }
  .team-info, .team-blocks { margin: 0 16px; }
  .team-blocks-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, auto); gap: 20px; }
  .team-blocks-single { justify-content: center; }

  .touch { padding: 60px 16px 80px 16px; }

  .footer-logo, .footer-info-text-1, .footer-info-text-2, .socmedia { margin-left: 16px; }
  .socmedia { justify-content: center; }
}

@media (max-width: 480px) {
  /* phones */
  nav a { font-size: 14px; }
  .main-info-text { font-size: 48px; line-height: 56px; }
  .main-info-text-2, .main-btn { font-size: 14px; }
}

/* --- Adaptive layout pass --- */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #1B1A1A;
}

.container {
  overflow-x: clip;
}

.header {
  gap: 24px;
  padding: 0 clamp(20px, 6vw, 136px);
}

.logo-img {
  flex: 0 0 auto;
  margin: 0;
}

nav ul {
  gap: clamp(16px, 2vw, 32px);
  margin: 0;
}

nav li {
  margin: 0;
}

.main-info {
  min-width: 0;
  padding: clamp(48px, 7vw, 120px) clamp(24px, 6vw, 100px);
}

.main-info h1,
.main-info-text,
.main-info-text-2,
.main-btn {
  margin-left: 0;
}

.main-info h1 {
  margin-top: 0;
}

.main-info-text {
  font-size: clamp(42px, 5.2vw, 64px);
  line-height: 1.1;
}

.main-img {
  align-self: stretch;
  width: 50%;
  max-width: none;
  margin: 0;
  object-fit: cover;
}

.firm {
  max-width: 1168px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 100px) 24px;
  gap: clamp(40px, 8vw, 120px);
}

.our-firm h1,
.firm-info-text-1,
.firm-info-text-2,
.firm-info-text-3,
.firm-img-author-wrapper {
  margin-left: 0;
  margin-right: 0;
}

.our-firm h1 {
  margin-top: 0;
}

.firm-info {
  align-items: flex-start;
}

.firm-info-text-1,
.firm-info-text-2,
.firm-info-text-3,
.firm-img-author-wrapper {
  width: min(100%, 520px);
}

.firm-info-text-1 {
  margin-top: 0;
}

.house-img,
.staircase-img,
.staircase1-img {
  height: clamp(360px, 48vw, 600px);
  object-fit: cover;
  margin-top: 0;
}

.house-text-1,
.staircase-text-1 {
  right: clamp(24px, 12vw, 220px);
  bottom: 52%;
}

.house-text-2,
.staircase-text-2 {
  right: clamp(24px, 7vw, 90px);
  bottom: 42%;
}

.staircase1-text-1,
.staircase1-text-2 {
  left: clamp(24px, 7vw, 60px);
}

.blocks {
  max-width: 1168px;
  margin: 48px auto 0;
  padding: 0 24px;
  gap: 40px;
}

.block-sketching,
.block-finalizing,
.block-building {
  flex: 1 1 0;
  min-width: 0;
}

.sketching-img,
.finalizing-img,
.building-img {
  display: block;
  margin: 0 auto;
}

.customers {
  padding: clamp(64px, 8vw, 100px) clamp(24px, 9vw, 136px);
  gap: 48px;
}

.customers-info-text-1,
.customers-info-text-2,
.customers-info-text-3 {
  margin-left: 0;
}

.customers-info-text-1 {
  margin-top: 0;
}

.logos {
  margin-right: 0;
  align-items: stretch;
  gap: 56px;
}

.logos-1,
.logos-2 {
  justify-content: space-between;
  align-items: center;
  gap: clamp(40px, 8vw, 96px);
  margin: 0;
}

.projects {
  padding: clamp(64px, 8vw, 100px) 24px;
}

.projects-info,
.projects-blocks {
  max-width: 1168px;
  margin-left: auto;
  margin-right: auto;
}

.projects-info-text-1,
.projects-info-text-2 {
  margin-left: 0;
}

.projects-info-text-1 {
  margin-top: 0;
}

.projects-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.malmo-img,
.newyork-img,
.london-img {
  width: 100%;
  display: block;
}

.projects-btn {
  top: auto;
  bottom: 40px;
}

.team {
  max-width: 1168px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 100px) 24px 0;
}

.team-info-text-1,
.team-info-text-2,
.all-team-btn {
  margin-left: 0;
}

.team-info-text-1 {
  margin-top: 0;
}

.team-blocks {
  margin: 0;
}

.team-blocks-grid {
  gap: 36px clamp(48px, 7vw, 120px);
}

.block-stone,
.block-peters {
  margin-left: 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 56px clamp(24px, 9vw, 136px);
}

.footer-logo,
.footer-info-text-1,
.footer-info-text-2,
.socmedia {
  margin-left: 0;
}

.footer-logo {
  margin-top: 0;
}

.socmedia {
  margin-bottom: 0;
}

@media (min-width: 901px) and (max-width: 1024px) {
  .header {
    flex-wrap: nowrap;
  }

  .header-info {
    width: auto;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  nav a {
    font-size: 14px;
  }

  .btn {
    padding: 10px 18px;
  }

  .main {
    flex-direction: row;
  }

  .main-img {
    width: 50%;
    max-width: none;
    margin: 0;
  }

  .main-info {
    padding: 56px 40px;
  }

  .firm,
  .customers,
  .team {
    flex-direction: row;
    align-items: flex-start;
  }

  .projects-blocks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .header {
    height: auto;
    padding-top: 22px;
    padding-bottom: 22px;
    flex-wrap: wrap;
  }

  .header-info {
    width: 100%;
  }

  nav ul {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .main,
  .firm,
  .customers,
  .team {
    flex-direction: column;
  }

  .main-img {
    width: 100%;
    height: min(70vw, 560px);
  }

  .blocks {
    flex-wrap: wrap;
  }

  .block-sketching,
  .block-finalizing,
  .block-building {
    flex-basis: 280px;
  }

  .projects-blocks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-blocks {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .header {
    align-items: stretch;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav ul {
    flex-direction: row;
    gap: 8px 16px;
  }

  nav a {
    display: inline-block;
    padding: 4px 0;
  }

  .btn {
    padding: 9px 16px;
  }

  .main-info {
    padding: 44px 20px;
  }

  .main-info-text {
    font-size: 40px;
  }

  .main-info-text br,
  .main-info-text-2 br,
  .firm-info p br,
  .customers-info-text-3 br,
  .projects-info-text-2 br,
  .team-info-text-2 br,
  .touch-info-text-2 br {
    display: none;
  }

  .firm,
  .customers,
  .team,
  .projects {
    padding-left: 20px;
    padding-right: 20px;
  }

  .house-img,
  .staircase-img,
  .staircase1-img {
    height: 320px;
  }

  .house-text-1,
  .house-text-2,
  .staircase-text-1,
  .staircase-text-2,
  .staircase1-text-1,
  .staircase1-text-2 {
    position: static;
    max-width: none;
    margin: 12px 20px 0;
  }

  .blocks {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 36px;
    padding: 0 20px;
  }

  .customers {
    align-items: stretch;
  }

  .customers-info {
    text-align: left;
  }

  .logos-1,
  .logos-2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .projects-blocks {
    grid-template-columns: 1fr;
  }

  .projects-btn {
    left: 24px;
    bottom: 24px;
  }

  .team-blocks-grid {
    grid-template-columns: 1fr;
  }

  .team-blocks-single {
    justify-content: flex-start;
  }

  .block-collier,
  .block-peters,
  .block-wonder,
  .block-stone,
  .block-ferry {
    align-items: center;
  }

  .touch {
    padding: 56px 20px 64px;
  }

  .touch-info-text-2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 44px 20px;
  }
}

@media (max-width: 420px) {
  .main-info-text {
    font-size: 34px;
  }

  .process-info-text-2,
  .projects-info-text-1 {
    font-size: 31px;
    line-height: 1.15;
  }

  .author {
    margin-left: 18px;
  }

  .projects-btn {
    position: absolute;
    left: 24px;
    bottom: 24px;
    margin: 0;
  }
}
